gpg

GPG rookie guide

My small GPG rookie guide, which I wrote as part of the CPM manual might also be useful here.

create a new key

$ gpg --gen-key

Enter 1, 2048, 0, y Enter data to create the key for.

export a public key

$ gpg --armor --output harry_b@eml.cc.asc --export harry_b@eml.cc

import a public key

$ gpg --import <FILENAME>

get a fingerprint

$ gpg --edit-key harry_b@eml.cc

Enter 'fpr'

sign a key

$ gpg --edit-key harry_b@eml.cc

Enter 'sign'

verify a file signature

$ gpg --verify linux-2.6.11.tar.gz.sign linux-2.6.11.tar.gz
 
harry/gpg.txt · Last modified: 2008/10/07 14:30 (external edit)
Locations of visitors to this page

 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki