How to encrypt a file

To encrypt a file with a certificate, use sq encrypt, providing the name of the file to encrypt and the email address of the recipient:

$ sq encrypt --for-email alice@example.com message.txt

Encrypting a message and adding a signature works as follows:

sq encrypt --signer $FINGERPRINT --for-email alice@example.com

Read more about how to encrypt and decrypt files.