This article explains encryption and decryption of files using GNU gpg


Setup GNU gpg

Generate Keys

gpg --full-generate-key
  • passphrase is optional

Encrypting a file

gpg -e -r "karthickk" .wekan.json

This creates a file with an extension .gpg

Decrypting a file

gpg -o .wekan.json -d .wekan.json.gpg