Skip to content

bastienvty/netsecfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netsecfs

A shared encrypted network file system.

Platforms

The application has been tested on Ubuntu 22.04 LTS and macOS Sonoma 14.5 on M2. It should work fine both on ARM and x86 architectures. If you encounter any issues, please contact me.

Prerequisites

The application requires the following packages to be installed on the system. The version of go has to be at least is 1.22.2.

Follow the official guidelines to install go on your system: golang.org.

Ubuntu

Install the following packages:

$ sudo apt install fuse build-essential libsqlite3-dev

macOS

Install macFUSE. The latest version (4.7.2) should work just fine.

Compile

To compile the application, run the following command:

$ git clone https://github.com/bastienvty/netsecfs
$ cd netsecfs
$ go build .

Usage

Example of how to initialise and mount a file system. It is recommended to mount inside /tmp to avoid any potential issues.

$ ./netsecfs init --storage data.db --meta meta.db myfs
$ ./netsecfs --meta meta.db /tmp/nsfs

We can now interact with the CLI of the application.

netsecfs> signup test admin
netsecfs> mount

The file system is now mounted at /tmp/nsfs as user test.

To get a list of all available commands, type help.

We recommend to use the DB Browser for SQLite to inspect the content of the databases. It works on both Ubuntu and macOS.

Warning

This application is a proof of concept and should not be used in production.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages