| ||||||||
| Line: 15 to 15 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Also do "gpg --output revoke.asc --gen-revoke yourusername" to generate a revocation certificate you can send out if your private key is ever lost or stolen. | ||||||||
| Changed: | ||||||||
| < < |
2. E-mail me your public key (or tell me where to get it, if you happen to have it on a public keyserver or Web page.) | |||||||
| > > |
2. E-mail me your public key (or tell me where to get it, if you happen to have it on a public keyserver or Web page.) Note: I'm not a key warehouse: Provide your key or its location for each keysigning you hope to attend. | |||||||
|
gpg --export --armor "your@email.address" > yourname.asc (and then e-mail me yourname.asc). | ||||||||
| Line: 121 to 121 | ||||||||
| http://linuxmafia.com/gpg/ (See the current month's page within that directory.) If you want to participate, send me your GPG public key, and I'll add | ||||||||
| Changed: | ||||||||
| < < |
you to it. | |||||||
| > > |
you to it. Note: I'm not a key warehouse: Provide your key or its location for each keysigning you hope to attend. | |||||||
| If you don't yet have a key, it's dead-easy to make one. Please see "GnuPG Lecture" on http://linuxmafia.com/kb/Security/ . Some of you may | ||||||||
| ||||||||
| Line: 6 to 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
How | ||||||||
| Changed: | ||||||||
| < < |
1. To generate your personal GPG (aka GnuPG?) keypair to send in (and use from that point forward), type "gpg --gen-key". Accept default option 1, to generate both DSA and ElGamal? keys. Accept default keysize (1024 bits). Pick no expiration. (You can always change that later.) Specify a "passphrase", which you'll be prompted for in the future whenever it's necessary to unlock your private key. GnuPG? will grind away; you'll be asked to mouse around and bang the keyboard to supply randomness (no joke!). When done, it will have generated: | |||||||
| > > |
1. To generate your personal GPG (aka GnuPG) keypair to send in (and use from that point forward), type "gpg --gen-key". Accept default option 1, to generate both DSA and ElGamal keys. Accept default keysize (1024 bits). Pick no expiration. (You can always change that later.) Specify a "passphrase", which you'll be prompted for in the future whenever it's necessary to unlock your private key. GnuPG will grind away; you'll be asked to mouse around and bang the keyboard to supply randomness (no joke!). When done, it will have generated: | |||||||
|
~/.gnupg/pubring.gpg ~/.gnupg/secring.gpg | ||||||||
| Line: 26 to 26 | ||||||||
| ...and then print yourname.fp out. | ||||||||
| Changed: | ||||||||
| < < |
4. Bring to the keysigning event a photo ID and your key fingerprint printout. For your convenience, I'll have a "keysigning party keyring" Web page at http://linuxmafia.com/gpg/ , so you might want to bring a printout of that, too. | |||||||
| > > |
4. Bring to the keysigning event a photo ID and your key fingerprint printout. For your convenience, I'll have a "keysigning party keyring" Web page at http://linuxmafia.com/gpg/ , so you might want to bring a printout of that, too (but don't simply assume that it has your key right until you check it against your key fingerprint). | |||||||
| 5. After the event, do: | ||||||||
| Line: 47 to 47 | ||||||||
Why | ||||||||
| Changed: | ||||||||
| < < |
A couple of weeks ago, I said to Bill Ward that I'd be glad to do a | |||||||
| > > |
In July 2004, I said to Bill Ward that I'd be glad to do a | |||||||
| brief (about 15 minute) GnuPG aka gpg "keysigning" at the next meeting. That suggests I ought to first explain what one is, and for whom it would matter. | ||||||||
| Changed: | ||||||||
| < < |
If you even think you might be interested, please read on. | |||||||
| > > |
If you even think you might be interested, please read on. | |||||||
| Bill had found himself wanting to get ssh access to a server activated, | ||||||||
| Line: 64 to 64 | ||||||||
| This is an example of the need for GnuPG (short for GNU Privacy Guard), an open-source reimplementation of the old PGP (Pretty Good Privacy) program. The sysadmin suggested that Bill sign his SSH key with his PGP | ||||||||
| Changed: | ||||||||
| < < |
or GnuPG key, and mail him the signed copy -- except that the sysadmin | |||||||
| > > |
or GnuPG key, and mail him the signed copy — except that the sysadmin | |||||||
| had no way of knowing that Bill's GnuPG key was really Bill's, so the same problem remained. See the hang-up? GnuPG, like PGP before it, addresses the twin (related) problems of authentication and encryption. In this case, Bill needed for the | ||||||||
| Changed: | ||||||||
| < < |
sysadmin to be able to authenticate Bill's cryptographic keys -- to | |||||||
| > > |
sysadmin to be able to authenticate Bill's cryptographic keys — to | |||||||
| verify that they're really his, and not some imposter's. The mechanism | ||||||||
| Changed: | ||||||||
| < < |
GnuPG provides is signing. There are records ("keyrings") both public | |||||||
| > > |
GnuPG provides is signing. There are records ("keyrings") both public | |||||||
| and less so of people having signed (and thus being willing to vouch for) other people's keys. Let's say that Les Kopari has, some time ago, signed Bill's GnuPG key with his own key, and Les has sent his signature (which is itself a crypographically calculated, binary record) to the public keyservers. | ||||||||
| Changed: | ||||||||
| < < |
An example of a keyserver is http://www.us.pgp.net/ . Ordinarily, you would be able to type "Rick Moen" in the "Search for a key" field, pick | |||||||
| > > |
An example of a keyserver is http://www.us.pgp.net/ . Type "Rick Moen" in the "Search for a key" field, pick | |||||||
| the "Show Signatures [yes]" radio button, and hit "Search" to bring up a | ||||||||
| Changed: | ||||||||
| < < |
list of all recorded signatures of my key. Unfortunately, the CGI interface is down at the moment. I've informed the guy who maintains that Web server, and hope he'll fix it soon. Meanwhile, there are | |||||||
| > > |
list of all recorded signatures of my key. There are also | |||||||
| geekier ways to make your /usr/bin/gpg utility talk directly to keyservers. (You don't have to worry about that, right now.) | ||||||||
| Line: 121 to 118 | ||||||||
| You'll notice that the HOWTO includes a neat little Perl script to generate a worksheet Web page. I've just now used it to create one: | ||||||||
| Changed: | ||||||||
| < < |
http://linuxmafia.com/gpg/ | |||||||
| > > |
http://linuxmafia.com/gpg/ (See the current month's page within that directory.) | |||||||
| If you want to participate, send me your GPG public key, and I'll add you to it. | ||||||||
| ||||||||
| Added: | ||||||||
| > > |
How1. To generate your personal GPG (aka GnuPG?) keypair to send in (and use from that point forward), type "gpg --gen-key". Accept default option 1, to generate both DSA and ElGamal? keys. Accept default keysize (1024 bits). Pick no expiration. (You can always change that later.) Specify a "passphrase", which you'll be prompted for in the future whenever it's necessary to unlock your private key. GnuPG? will grind away; you'll be asked to mouse around and bang the keyboard to supply randomness (no joke!). When done, it will have generated: ~/.gnupg/pubring.gpg~/.gnupg/secring.gpg Those are binary "keyrings": places to hold your (and eventually other people's) public and private keys, respectively. Also do "gpg --output revoke.asc --gen-revoke yourusername" to generate a revocation certificate you can send out if your private key is ever lost or stolen. 2. E-mail me your public key (or tell me where to get it, if you happen to have it on a public keyserver or Web page.) gpg --export --armor "your@email.address" > yourname.asc (and then e-mail me yourname.asc). 3. Print out a copy of your key fingerprint. This is for you to carry around. You can get a copy of your key fingerprint by doing this: gpg --fingerprint "your@email.address" > yourname.fp ...and then print yourname.fp out. 4. Bring to the keysigning event a photo ID and your key fingerprint printout. For your convenience, I'll have a "keysigning party keyring" Web page at http://linuxmafia.com/gpg/ , so you might want to bring a printout of that, too. 5. After the event, do: gpg --sign-key [key ID] ...for each key you have decided to sign. Then either send the signatures to me or to a public keyserver such as pgp.dtype.org: gpg --armor --export [list of key IDs] > keysigning.gpg ...and then e-mail me keysigning.gpg or gpg --keyserver pgp.dtype.org --send-key [key ID] ...to submit your signature directly to the keyserver. Why | |||||||
| A couple of weeks ago, I said to Bill Ward that I'd be glad to do a brief (about 15 minute) GnuPG aka gpg "keysigning" at the next meeting. That suggests I ought to first explain what one is, and for whom it | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
| |||||||