Using GPG and KGpg

From Elvanör's Technical Wiki
Jump to navigation Jump to search

Using the command-line gpg client

  • Encrypt:
gpg -c myfile.txt
  • Decrypt:
gpg -d myfile.txt.gpg > myfile.txt

Using KGpg

  • You just need to emerge kde-apps/kgpg.
  • From Dolphin, you can then encrypt file with Right Click -> Encrypt File. Then for a symmetrical encryption (simple password), select Options then check "Symmetrical encryption" and uncheck "ASCII armored encryption".
  • To decrypt, Right Click -> Open with KGpg.