Kryptor
Kryptor is free and open source file encryption software for Windows, Linux, and macOS.
It is a portable, cross-platform command line tool that makes use of modern and secure cryptographic algorithms. It aims to be a mixture of age and Minisign in order to provide a simple, user friendly alternative to GPG.
Features
- Encrypt files/folders with a password, keyfile, or asymmetric keys.
- Create and verify digital signatures. Supports an authenticated comment and prehashing for large files.
- Generation of asymmetric key pairs. The private key is encrypted for protection at rest.
- UNIX style password entry and random passphrase generation.
- Encrypting files using a recipient's public key allows for authenticated file sharing.
- Random keyfile generation. Any type of file can also be used as a keyfile.
- Optional obfuscation of output file names when encrypting files/folders.
- Optional overwriting of input files.
For more information, go to kryptor.co.uk.
Usage
If you are just getting started, then I recommend reading the tutorial.
Usage: kryptor [options] [file]
Arguments:
file specify a file path
Options:
-e|--encrypt encrypt files/folders
-d|--decrypt decrypt files/folders
-p|--password use a password
-k|--keyfile specify a keyfile
-x|--private specify your private key (blank for default)
-y|--public specify a public key
-f|--obfuscate obfuscate file names
-o|--overwrite overwrite input files
-g|--generate generate a new key pair
-r|--recover recover your public key from your private key
-s|--sign create a signature
-c|--comment add a comment to a signature
-l|--prehash sign large files by prehashing
-v|--verify verify a signature
-t|--signature specify a signature file
-u|--update check for updates
-a|--about view the program version and license
-h|--help show help information
Examples:
--encrypt -p [file]
--encrypt -x [file]
--encrypt [-y recipient's public key] [file]
--decrypt [-y sender's public key] [file]
--sign [-c comment] [file]
--verify [-y public key] [-t signature] [file]
Specifying files
When referencing file paths/file names that contain spaces, you must surround them with "speech marks" on Windows and 'apostrophes' on Linux/macOS:
$ kryptor -e -p "GitHub Logo.png"
$ kryptor -e -p "C:\Users\samuel-lucas6\Downloads\GitHub Logo.png"
Files in the same directory as the kryptor
executable can be specified using their file name:
$ kryptor -e -p message.txt
However, files that are not in the same directory as the kryptor
executable must be specified using a file path:
$ kryptor -e -p C:\Users\samuel-lucas6\Documents\message.txt
Specifying your private key
You can use the -x|--private
option without specifying a file path to use your default private key. This is the recommended approach, but it means your private keys must be kept in the default folder.
To specify a non-default private key, you can use -x|--private
followed by =[file]
like so:
$ kryptor -e -x=C:\Users\samuel-lucas6\Documents\encryption.private message.txt