Kryptor
  • Introduction
  • Features
  • FAQ
  • Installation
  • Usage
  • Tutorial
    • Running Kryptor
    • Specifying files
    • Entering a passphrase
    • Encrypting files for yourself
    • Encrypting files for others
    • Encryption options
    • Decrypting your files
    • Decrypting received files
    • Decryption options
    • Signing files
    • Signing options
    • Verifying signatures
    • Generating a new key pair
    • Key pair options
  • Specification
  • Known limitations
  • Changelog
  • Roadmap
Powered by GitBook
On this page
  • Using a public key
  • Using a symmetric key
  1. Tutorial

Decrypting received files

Last updated 2 years ago

Using a public key

Kryptor will convert the shared secret for the (recipient private, sender public) key pair into the unique encryption key per file/directory used for encryption.

The sender cannot decrypt the files/directories they sent; only you (the recipient) and any other recipients can.

You must specify your private key and the sender's public key. You'll be asked to decrypt your private key using your passphrase. For security reasons, this involves a slight delay.

Here's an example of how to use your default encryption private key:

$ kryptor -d -y Cu//2M5FqAnxmW7PiKxIqLmKEPNxT1Kdkm4U3K/Gr++6OAQ= file.txt.bin

Enter your private key passphrase:

Here's an example using a private key not stored in the :

$ kryptor -d -x:"C:\Users\samuel-lucas6\Documents\encryption.private" -y Cu//2M5FqAnxmW7PiKxIqLmKEPNxT1Kdkm4U3K/Gr++6OAQ= file.txt.bin

Enter your private key passphrase:

Using a symmetric key

Kryptor will convert the symmetric key into the unique encryption key per file/directory used for encryption. Unlike using a passphrase, this involves no delay.

Here's an example:

$ kryptor -d -k PSK/I1SkTbgoylRxiW3w0wcYmovWTWgC54bPmpgsiQrgO3c= file.txt.bin
default folder