Christian Mayer's Weblog

GnuPG HOWTO

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

Posted on .
Categories: Productivity
Tags: GNU, GPG, GnuPG, PGP, HOWTO

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