Friday, June 28, 2013

Gnu Privacy Guard: basic gpg techniques

Import a key when you know the fingerprint:
gpg --keyserver --recv-keys FINGERPRINT

Import a key by email address:
gpg --keyserver --search-keys EMAILADDRESS

Trust the key:
( fingerprint=FINGERPRINT ; echo $fingerprint":6:" | gpg2 --import-ownertrust )

Encrypt a file:
* See this page: GPG Quick Start

Update expired key:
* See this page: [Howto] Changing the expiry date of GPG keys

No comments:

Post a Comment