Article View: alt.privacy.anon-server
Article #238759Using GPG to generate a key
From: gizmo
Date: Sun, 23 May 2010 16:54
Date: Sun, 23 May 2010 16:54
143 lines
4017 bytes
4017 bytes
If the new remailer users attracted by QSlite want to make a nym,
they
have to learn how to generate a key, sign messages, encrypt
messages, and
decrypt messages.
They should know how to do these things using gpg.exe which is part
of
QSlite.
Here are some instructions on how to generate a key using the
gpg.exe
that comes with QSlite. Please correct and otherwise improve them.
I will assume that some kind of path has been established so that
the
user just has to enter 'gpg' to run the utility.
Would somebody lay out for windows users exactly how to do that? Or
if it
is not convenient, what is it exactly that the user will have to
enter?
Is it c:\qsl\gpg.exe? Something else?
Assume the user wants to create a nym on is-not-my.name called
clemens.
He will generate a key of clemens@is-not-my.name.
user:
gpg --gen-key
GPG:
Please select what kind of key you want:
(1) DSA and Elgamal (default)
(2) DSA (sign only)
(5) RSA (sign only)
Your selection?
user:
1
GPG:
DSA keypair will have 1024 bits.
ELG-E keys may be between 1024 and 4096 bits long.
What keysize do you want?
user:
2048
GPG:
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for?
user:
0
GPG:
Key does not expire at all
Is this correct? (y/N)
user:
y
GPG:
You need a user ID to identify your key; the software constructs
the user
ID
from the Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"
Real name:
user:
mark Twain
GPG:
Email address:
user:
clemens@is-not-my.name
GPG:
Comment:
user:
<no entry for comment>
GPG:
You selected this USER-ID:
"mark Twain <clemens@is-not-my.name>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?
user:
o
GPG:
You need a Passphrase to protect your secret key.
user:
<enter passphrase. Re-enter it when prompted>
GPG:
We need to generate a lot of random bytes. It is a good idea to
perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
.++++++++++++++++++++.+++++++++++++++....++++++++++++++++++++++++++
++++.
user:
<waggle your mouse randomly for about 30 seconds>
GPG:
gpg: key 5E51C9BD marked as ultimately trusted
public and secret key created and signed.
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 11 signed: 0 trust: 0-, 0q, 0n, 0m, 0f,
11u
pub 1024D/5E51C9BD 2010-05-23
Key fingerprint = FD02 4FBD 1157 ABB8 29BC 7B06 95E3 46E7
5E51 C9BD
uid mark Twain <clemens@is-not-my.name>
sub 2048g/6A534882 2010-05-23
Technical Details
Message-ID:
<20100523165544.99EDD7F8B0@rip.ax.lt>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.kpn.net!pfeed09.wxs.nl!news.astraweb.com!border5.a.newsrouter.astraweb.com!newsfeed.bit.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.bananasplit.info!mail2newsShow Full Headers
Complete Article Headers
Message-ID: <20100523165544.99EDD7F8B0@rip.ax.lt> Subject: Using GPG to generate a key Date: Sun, 23 May 2010 12:54:39 -0400 From: gizmo@domain.invalid Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.kpn.net!pfeed09.wxs.nl!news.astraweb.com!border5.a.newsrouter.astraweb.com!newsfeed.bit.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.bananasplit.info!mail2news Newsgroups: alt.privacy.anon-server X-Abuse-Contact: abuse@bananasplit.info Organization: Bananasplit - Mail2News Injection-Info: mail2news.bananasplit.info Lines: 143