Code Monkey home page Code Monkey logo

netsecfs's Introduction

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.

netsecfs's People

Contributors

bastienvty avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.