[Discuss] Does this work at all?
Andrew Berg
bahamut at digital-signal.net
Tue May 29 01:38:20 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Will McCown wrote:
> I tried the dialog for selecting a particular key to use for
> encryption, and when I open that I get a blank list.
To encrypt an email, you'll need the recipient's public key, and it
needs to imported. You can have mine (pasted below). Feel free to
encrypt an email to me.
> Looking at the GPG Console I see:
>> enigmail> C:\Program Files\GNU\GnuPG\pub\gpg.exe --charset utf8
>> --batch --no-tt y --status-fd 2 --with-fingerprint
>> --fixed-list-mode --with-colons --list-secret -keys gpg: error
>> reading key: secret key not available
>
> Sure enough cut and pasting this command into a cmd window get the
> same exact error. After a fair amount of trial and error
> (starting with trying just "gpg --list-keys" which worked) I
> determined that deleting the two options "--charset utf8" and
> "--status-fd 2" from the command were what was needed to get it to
> work. I can see no rational reason why either of those options
> would effect gpg's ability to find the key files, but that seems to
> be what is happening.
Unless specifically overridden, GPG will look in %appdata%\gnupg for
pubring.gpg (public keys) and secring.gpg (private keys). If they
don't exist, GPG will create them. Provided you're not overriding the
homedir while using Enigmail, any private key you import (newly
created keys are automatically imported) via Enigmail will be in
%appdata%\gnupg\secring.gpg.
I think the problem here is that you don't quite understand the
concepts. First, you'll need to create a key pair for yourself. With
TB/Enigmail, select the menu item "OpenPGP" and choose "Key
Management". From that window, select "Generate" -> "New Key Pair".
- From there, follow the instructions, and you'll have your own key
pair. The private key will go to secring.gpg, and the public key will
go to pubring.gpg (the key management window will display both private
and public keys). As the terms imply, the private key is kept private.
Do not share that key with anyone. The public key however, is needed
in order to to encrypt a message to you, which means that if you want
to receive encrypted messages from someone, you have to give that
person your public key. You can make you public key easily available
to anyone by uploading to a keyserver. Even if I didn't include my key
in this message, it is available on a giant keyserver network. The
docs on the Enigmail site lays out all this stuff in detail, so you
should start there. If you still have any questions, I wouldn't mind
answering them.
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (MingW32)
mQENBEYpAYoBCADn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vjg29jUSQdWL9WcYwQ
9Asu1NV3xXYsbhpg1ZUEHeDBFGsH+4/h2cMZaPW1RS+6S9ROFaEqotsBUJ9yLekG
SBfPJCmcHE3srEVPscoZpGz2LcztBn+NIbmroJ2jXGmWE7JiIRDt7Bc3omTBF3Rb
Em9rt4bH0EwVemUCjA/EG8ZQslxhgDrkeMz70mcUN75LJCiBONtryll/Bebhi+ow
JAh3ZNtm077U1+MlABEBAAGJASUEGAECAA8FAkYpAYoCGwwFCQlmAYAACgkQ+I4D
QGCnj8tznwf/TLQpGTv9e3BK6G1+yBkunFg/rAJcDpmDMYiBGeC6IYYUHj++nGqq
7+U6ix57/wlf2eDpE3DNJzDnF+R+ZLu9pHU+bf5b5szhcQpTrUfPUtk4GU+pXOSX
fATgleJ3g7tN7e9YeVZkCvPM2Vap/JLN+4SySiKvOXOFjlyMQb1nmX2th2ZIQH85
J6kyFiuVnLRFbO/wmH8GOI+RlR5SfqAX3li6O+2rvveUf3sZKssm7yrcbUqWr6qQ
riYmb4kUGSel4XWzrgwLrxCKS+CtKEZ/jDmO4+3/UWd5rHprzO/YGlJ+1C059lFm
jvQDWaFOYGaO3fXAuwmPJjkf4eu1VLdTfw==
=tM7x
- -----END PGP PUBLIC KEY BLOCK-----
Clicking the Decrypt button will prompt to import this key into your
key ring. Copying it to the clipboard and going to Key Management ->
Edit -> Import Keys from Clipboard will import it as well.
- --
Windows NT 5.1.2600 | Thunderbird 2.0.0.0 | Enigmail 0.95.0 | GPG 1.4.7
Key ID: 0x60A78FCB - available on major keyservers and upon request
Fingerprint: 4A84 CAE2 A0D3 2AEB 71F6 07FD F88E 0340 60A7 8FCB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRlvme/iOA0Bgp4/LAQPbxQgApbdLMB37qbuRyLFCuk1KN+mrPyCAqb+L
X1rrMk4/SvZD0+0w+MIWjU7H9WNP5vC1i32POszNSQYiMIbCBPpICI+aW+9L414V
NDRxph5N4Tis3qq3+4XuThNnD9InW/9EUfVEIzl5ugOHa2xw89T2YjriaKNfmy/L
pQ2rWyTOWB7RtSuIqTCA4f3UPF3d3oXTbuSCU4/csSzvyIpsHMMtRODqOkjQ7riy
14CTqchNnmNfd3m0S/7cLMhUKXLzAbU3T3YHFRttOU2xEwIrQilCMIzIEzUtiYc/
W1zGr8MneVNeu79wHyj3pn7guvwNICZxhJhWHSlQGFqVatrfA3/i3Q==
=/Vnp
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list