How to encrypt a file

To encrypt a file, use sq encrypt, providing the name of the file to encrypt and an email address which is binded to the key you control:

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

To encrypt with another one's certificate, you need to specify an email address which is binded to the key which is signing the file:

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

Read more about how to encrypt and decrypt files.