GnuPG HOWTO

Published on Christian Mayer's Weblog

With a public key

Encrypt:

$ gpg -r <keyid> -e test.txt

Decrypt with private key:

$ gpg -o test.txt -d test.txt.gpg

With a password

Encrypt:

$ gpg -c test.txt

Decrypt:

$ gpg -o test.txt -d test.txt.gpg

Sign only

Create:

$ gpg -a -b test.txt

Verify sign:

$ gpg -d test.txt.asc

More Resources

Recent Posts

About the Author

Christian is a professional software developer living in Vienna, Austria. He loves coffee and is strongly addicted to music. In his spare time he writes open source software. He is known for developing automatic data processing systems on Debian Linux server.

Categories: Productivity
Tags: GNU, GPG, GnuPG, PGP, HOWTO

Archive | Categories | RSS Feed | Usage | Imprint
Copyright © 2006 by