Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxpat78/gocryptfs-tool

Utilty to access a gocryptfs filesystem from command line with Python 3
https://github.com/maxpat78/gocryptfs-tool

crypto cryptography-tools gocrypt gocrypt-ui gocryptfs linux-app python3 recovery-crypto recovery-tools system-tool windows-app

Last synced: 2 days ago
JSON representation

Utilty to access a gocryptfs filesystem from command line with Python 3

Awesome Lists containing this project

README

        

# gocryptfs-tool

A simple Python 3 script to access a gocryptfs filesystem (without gocryptfs itself) and carry on some useful operations like:

```
ls list virtual file system files and directories in decrypted form, with true size and times
decrypt decrypt a file or directory into a given destination
alias show the real pathname linked to a virtual one
backup backup the Directory IVs (required to decrypt names) in a ZIP file
```

Passing a couple options, you can show you master key or recover it in case configuration files are corrupted:

`--print-key [a85 | b64]` shows the decrypted master key in ASCII85 or BASE64 form, to annotate it in a safe place for recovering purposes

`--master-key` grants access to your files even in case of lost configuration file `gocryptfs.conf` , provided the master key in ASCII85 or BASE64 form

`EMENames`, `AESSIV`, `XChaCha20Poly1305`, `PlaintextNames` and `LongNames` are supported filesystem options among others.

Functionality was tested with cppcryptfs 1.4.4.4 (Windows 11) and gocryptfs 2.4.0 (Ubuntu 22.04 LTS Linux under Windows WSL).

It's pure Python 3, with pycryptodome addon.

MIT licensed.