#file-sharing #encryption #share #file #command-line-tool

app sfshr

Command-line tool for secure, end-to-end encrypted file sharing

3 releases (stable)

1.1.0 Sep 16, 2020
1.0.0 Sep 10, 2020
0.1.0 Sep 9, 2020

#1313 in Filesystem

MIT license

30KB
747 lines

sfshr

sfshr (secure file share) is a command-line tool to share end-to-end encrypted (256-bit AES CBC) files using a link

Usage

Uploading

# Upload file test
sfshr test

# Upload file test without encryption
sfshr -n test
sfshr --no-encryption test

Downloading

Paste generated link to command-line

# Encrypted link
sfshr -r b6s7cmB1vr5Hd3EjJn5bO88N8cpLoYgQng5yYNwWhTf0BUPGDeaMGMY5BEmoYe9KrcAEjdmCbl0lhxN8uIxwpg==

# Unencrypted link
sfshr --no-encryption -r 6yqAvYuVLlBgBkrYWQCyrBjFE1DAt9Tgk8Mir0zLrIs=

You can also upload whole directories.

Options

  • -t --tar [tarname] - store downloaded tar as [tarname], instead of unpacking it
  • -n --no-encryption - do not encrypt or decrypt the file
  • -q --quiet - do not print anything (except download key)
  • -s --server [hostname:port] - specify sfshr server (default: ondralukes.cz:40788)
  • -f --fingerprint [fingerprint] - specify expected server fingerprint (default: bbda8c52...)
  • --no-fingerprint - do not verify server fingerprint

Dependencies

~5–16MB
~216K SLoC