Complete user manual and command reference for the SurePack secure file transfer application
SurePack is a secure file transfer application that uses post-quantum cryptography to protect your files. It allows you to send files securely and optionally anonymously to other users through encrypted packages.
surepack create
surepack pack -i document.pdf -a recipient-alias -f your-alias -o package.surepack
surepack send -i package.surepack
surepack receive -a your-alias
surepack unpack -i package.surepack -o output-folder
surepack about
Display version and about information for SurePack.
Usage:
surepack about
Options:
surepack certify
Verify the certificate chain and authenticity of an alias.
Usage:
surepack certify -a alice.publickeyserver.org
Options:
surepack create
Create a new alias (digital identity) for sending and receiving encrypted files.
Usage:
# Create anonymous alias
surepack create
# Create alias with email
surepack create -e john@example.com -t 123456
Options:
Example Output:
Creating...
Domain: publickeyserver.org
Please enter passphrase: ********
[✓] Generated RSA key pair
[✓] Generated Quantum Kyber key pair
[✓] Generated Quantum Dilithium key pair
[✓] Root certificate fingerprint saved
Alias happy-cloud-tree.publickeyserver.org created
surepack delete
Delete an alias from both local storage and the server.
Usage:
surepack delete -a old-alias.publickeyserver.org
Options:
surepack gui
Launch the graphical user interface.
Usage:
# Launch GUI
surepack gui
# Open a surepack file in GUI
surepack gui -u package.surepack
# Create new package with file in GUI
surepack gui -i document.pdf
Options:
surepack list
List all your aliases and verify their certificates.
Usage:
surepack list
Options:
Example Output:
alice-smith.publickeyserver.org
bob-jones.publickeyserver.org
charlie-work.company.com
surepack pack
Create an encrypted package (.surepack file) from one or more files.
Usage:
# Pack single file
surepack pack -i document.pdf -a recipient -f sender -o package.surepack
# Pack multiple files with wildcard
surepack pack -i "*.txt" -a recipient -f sender -o documents.surepack
# Pack with multiple recipients
surepack pack -i file.doc -a alice,bob,charlie -f sender -o shared.surepack
# Pack with subdirectories
surepack pack -i "*" -r -a recipient -f sender -o everything.surepack
# Pack with message and subject
surepack pack -i report.xlsx -a boss -f employee -s "Q4 Report" -m "Please review" -o report.surepack
Options:
Examples:
Basic file packaging:
surepack pack -i invoice.pdf -a client.publickeyserver.org -f mycompany.publickeyserver.org -o invoice-package.surepack
Pack all PDFs in a folder:
surepack pack -i "reports/*.pdf" -a manager -f employee -o monthly-reports.surepack
Pack for multiple recipients with a message:
surepack pack -i contract.docx -a "alice,bob,legal@company.com" -f sender -s "Contract Review" -m "Please sign by Friday" -o contract.surepack
surepack receive
Download encrypted packages sent to your alias from the server.
Usage:
# Interactive receive (choose which packages)
surepack receive -a your-alias
# Automatic receive all packages
surepack receive -a your-alias -f
# Continuous monitoring (check every 60 seconds)
surepack receive -a your-alias -s 60
Options:
Example Session:
Receiving packages...
Alias: alice.publickeyserver.org
Found 3 packages:
1. package1.surepack (2.5 MB) from bob.publickeyserver.org
2. package2.surepack (512 KB) from charlie.publickeyserver.org
3. package3.surepack (10 MB) from david.publickeyserver.org
Select packages to download (1-3, 'a' for all, 'q' to quit): a
Downloading package1.surepack... Done
Downloading package2.surepack... Done
Downloading package3.surepack... Done
surepack send
Upload encrypted packages to the server for recipients to download.
Usage:
# Send specific package
surepack send -i package.surepack
# Send all packages in outbox
surepack send
Options:
Examples:
Send a specific package:
surepack send -i invoice-package.surepack
Send all pending packages from outbox:
surepack send
surepack unpack
Decrypt and extract files from a .surepack package.
Usage:
# Unpack to specific directory
surepack unpack -i package.surepack -o extracted-files/
# Unpack using specific alias
surepack unpack -i package.surepack -o output/ -a your-alias
Options:
Example Output:
Unpacking surepack...
Input: package.surepack
Output directory: extracted-files/
Checking alias alice.publickeyserver.org...
[✓] Valid recipient
[✓] Certificate verified
[✓] Decrypting package...
Extracted files:
- document1.pdf (1.2 MB)
- document2.docx (456 KB)
- image.png (2.3 MB)
Package unpacked successfully to: extracted-files/
surepack verify
Request email verification code to associate an email with an alias.
Usage:
surepack verify -e john@example.com
Options:
Note: After receiving the verification code via email, use it when creating an alias:
surepack create -e john@example.com -t 123456
Sender (Alice):
# Create anonymous alias
surepack create
# Output: Alias alice-tree-cloud.publickeyserver.org created
# Pack sensitive documents
surepack pack -i "whistleblower-docs/*" -a journalist.newspaper.com -f alice-tree-cloud.publickeyserver.org -o anonymous-leak.surepack
# Send the package
surepack send -i anonymous-leak.surepack
Recipient (Journalist):
# Check for new packages
surepack receive -a journalist.newspaper.com
# Unpack the received file
surepack unpack -i anonymous-leak.surepack -o secure-folder/
Setup:
# Request email verification
surepack verify -e john@company.com
# Check email for verification code: 123456
# Create business alias with email
surepack create -e john@company.com -t 123456 -d company.com
Sending Contract:
# Pack contract with metadata
surepack pack -i "contract-v2.docx" -a "legal@client.com,ceo@client.com" -f john@company.com -s "Contract for Review" -m "Please review sections 3 and 5 carefully. Sign by EOD Friday." -o contract-package.surepack
# Send to server
surepack send -i contract-package.surepack
Receiving Response:
# Check for responses
surepack receive -a john@company.com -f
# Extract signed contract
surepack unpack -i signed-contract.surepack -o completed-contracts/
# Pack all monthly reports
surepack pack -i "2024-reports/*.pdf" -a accounting@hq.com -f branch-office.company.com -s "Monthly Reports - January 2024" -o january-reports.surepack
# Pack all quarterly data with compression
surepack pack -i "Q4-data/*" -r -c BROTLI -a data-team@company.com -f analytics.company.com -o q4-data.surepack
# Send all packages in outbox
surepack send
These options are available for all commands:
surepack certify
to verify recipients before sending sensitive data%LOCALAPPDATA%\surepack\aliases\
~/.local/share/surepack/aliases/
"Incorrect password"
"Could not find alias in package"
surepack list
to see your available aliases"Aliases do not share the same root certificate"
surepack <command> --help
for detailed help on any command© 2024 Public Key Server Project | GitHub Repository