Jan 16, 2018

GPG decrypt file

To decrypt a message the option --decrypt is used. You need the private key to which the message was encrypted. Similar to the encryption process, the document to decrypt is input, and the decrypted result is output.

gpg --output doc --decrypt doc.gpg