Fichenn is a standalone binary - written in Golang - for uploading and downloading secured files.
It aims to be portable and have a straightforward stream implementation (no fancy customisation based on third libraries like cURL and OpenSSL). The drawback is that you need to install this binary on both source and destination operating system.
[~]>> finn -h Fichenn secured uploads Usage: finn [flags] Flags: -c, --chmod+x perform `chmod +x' on downloaded file -x, --extract Tarball extract -h, --help help for finn -o, --output string write output to given destination -p, --pass string passphrase used to decrypt -v, --version version for finn
[~]>> finn ~/.fichennrc Passphrase: nF1wCZ8nHv(in|GqaVkWq~iw ⠸ uploading (276 B, 0.716 kB/s) Command: finn --pass "nF1wCZ8nHv(in|GqaVkWq~iw" "https://plik.root.gg/file/dfhJOmsP6xOpMnPG/SjJA2l1ZA6kOxizn/.fichennrc" -o ".fichennrc" Copied to the clipboard
[~]>> finn ~/.vim Passphrase: G8iORZz4pMU=O4i#6cGEJ~ci ⠼ uploading (8.1 MB, 1.109 MB/s) Command: finn --pass "G8iORZz4pMU=O4i#6cGEJ~ci" "https://plik.root.gg/file/6HRYSfIZH7uiPAjn/IZYdbDFJe4HtxH9p/.vim.tar" -o ".vim.tar" --extract Copied to the clipboard
This service does the same actions as the CLI but in WASM, in the web browser.
This service have to proxify all the traffic to the datastore in order to comply with web browsers security.
The data upload and downloaded are not readable by the proxy since it's encrypted/decrypted in the web browser.
How does it work?
- Upload stream workflow
file -> zstd -> age-encryption.org/v1 -> storage-server
directory -> tarball -> zstd -> age-encryption.org/v1 -> storage-server
- Download stream workflow
storage-server -> age-encryption.org/v1 -> zstd -> file
storage-server -> age-encryption.org/v1 -> zstd -> tarball -> directory
- Compressed with Zstandard algorithm
- Stream chunked encryption scheme with age
All PRs are welcome.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request