Crypt4GH File System (in Rust)
Crypt4GH FUSE File system in Rust. It allows to encrypt and decrypt crypt4gh files in a directory automatically.
Installation
Requirements: Rust
Supported platforms:
- Linux (tested on Ubuntu 20.04)
- macOS (up to Big Sur, Monterey does not support FUSE yet)
Usage
The usage of the command is the following:
USAGE:
crypt4ghfs [FLAGS] <MOUNTPOINT> --conf <conf_path>
ARGS:
<MOUNTPOINT>
FLAGS:
-h, --help Prints help information
-v, --verbose Sets the level of verbosity
-V, --version Prints version information
OPTIONS:
--conf <conf_path>
Configuration
[]
# Extensions to be detected as encrypted
= ["c4gh"]
[]
# Whether to use syslog or to output to stderr
= false
# Level of the logger. Should be one of ["TRACE", "DEBUG", "INFO", "WARN", "CRITICAL"]
= "DEBUG"
# Syslog facility
= "local2"
[]
# The options that will be sent to fuse. The following are available:
# "allow_other", "allow_root", "allow_unmount", "default_permissions", "dev", "no_dev", "suid", "no_suid", "ro", "rw", "exec", "no_exec", "atime", "no_atime", "dir_sync", "sync", "async"
= ["ro", "default_permissions", "allow_other", "auto_unmount"]
# Path to the root directory of the filesystem
="tests/rootdir"
[]
# Path to the public keys of the recipients to encrypt to
= ["tests/testfiles/bob.pub"]
# Include log of the crypt4gh encryption / decryption
= true
# Include my public key to the recipients (so I can decrypt the file too)
= true
# Path to my private key
= "tests/configs/bob"