v3k differences when generated in gnupg and in pgp 2.x

vedaal at hush.com vedaal at hush.com
Tue Nov 11 15:52:55 CET 2003


>Message: 5
>Date: Tue, 11 Nov 2003 17:29:58 +0200
>From: Maxim Britov <udjinrg at forenet.by>
>Subject: difference between 2 pgp2x keys
>To: gnupg-users at gnupg.org
>Message-ID: <20031111172958.00004b94.udjinrg at forenet.by>
>Content-Type: text/plain; charset="us-ascii"
>
>I cannot find difference between 2 keys.
>First (6E405209) I was made gpg --home ./ --expert --pgp2 --gen-
>key
>Second (9B5F5147) I was made in The Bat! 2.0 (internal PGP)
>
>GnuPG 1.2.3 from www.nullify.org (idea is on, gpg.conf is default)
>
>I can inport second key into TBat! and cannot import first key :(
>
>Could you help me find difference?
>I had try gpg --with-colons with list-keys and list-secret-keys,
>>
>but I cannot look difference :(

check them in pgp dump:


in order to generate a key from gnupg that will be compatible in pgp
2.x,

it is necessary to use the following additional options in gnupg, besides
the ones you used:

--simple-s2k-checksum
--s2k-mode 0 
--s2k-cipher-algo idea 

[n.b. there is 'no' dash between mode and 0 and between algo and idea
]

if these options are not used, then gnupg will use its defaults, which
will be to salt and iterate the passphrase for secret key protection,

and also use cast5 instead of idea to protect the secret key
(and these will not work in pgp 2.x )

the following keypair was generated in gnupg with the above options and
imports and works well in pgp 2.x

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.3-nr1 (Windows 98) 
Comment: Acts of Kindness better the World, and protect the Soul

mQCNAz+xb3kAAAEEAJmiYcFbl3ZHXcivD+C0hCMsAQPaRxVcUE6EC+GbLsa5M/FG
LZmtEJhba00SZ+s9V61RkYDl2QDkZIgi9bgS2kwc2NAokakZFAHfolwahx7KwFtj
X58iK29GgpQ5jzauYcWjnxvSwkGub5gctarnZ/ZiSMBimO57+N9W/nJj4g3RAAYp
tCBncGd2M3Mya216IDxncGd2MnMya216QGtleS50ZXN0PokAlQMFEz+xb3nfVv5y
Y+IN0QEBR2sD/idagFOj09BOfhZVHF7w3cEGeIKguuiLRElxUsnqLw/KD/O99TLZ
xMlpQ9BSQvhHwNuXt3nqwEu1yt2RAZAv/djFp7lq39lm08o7B1iefsmDuaY92V2q
hBc7MgI3TvJydK5N5fQ1Ee7niNaWoVZmtHZ8OucIjNkQI3W02ku8xWlY
=mq1f
-----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.2.3-nr1 (Windows 98) 
Comment: passphrase  gpgv3s2kmz

lQHfAz+xb3kAAAEEAJmiYcFbl3ZHXcivD+C0hCMsAQPaRxVcUE6EC+GbLsa5M/FG
LZmtEJhba00SZ+s9V61RkYDl2QDkZIgi9bgS2kwc2NAokakZFAHfolwahx7KwFtj
X58iK29GgpQ5jzauYcWjnxvSwkGub5gctarnZ/ZiSMBimO57+N9W/nJj4g3RAAYp
AXcIhHWiBuDgA/hAK1enUjymR84qd/Njc7GLxYTNYCrQdyV37y++v/7yb9ABzCzN
tyWIuggyPpNPkI9Sofsk8xf0wwzcFt5dOgYBguWSizstOlVs8kt7T85nwmtolQDR
o9K95TKvQAtCUuTSYp5owTWW/rBeuA0uJrumjBovlgpy+4aC3WGNnppYAgBYjcNa
dgPiH+1ahRBSJyjPdM9kvYyUSQd/vxk5n5Y8svDraPUyoUe6p+cL7HzF2LOLOkeu
0xlPfcziYWGJYukGAgCixZwdzK0g9C+dx9u26R1t92XVxfao04GiQRobXI+rNMH+
uTSntKYeO7p57uUmuyzeQZLRrkqFqtc0kIfU+b9wAf6hgyJue7b9EUtRtmtmqTSM
sV68AyezM+odEbsx25Z4/alqOE8k7EdUvIwKTCPrjmpx8OIcbPEKUzfWDvblG3Ei
pVa0IGdwZ3YzczJrbXogPGdwZ3YyczJrbXpAa2V5LnRlc3Q+iQCVAwUTP7Fved9W
/nJj4g3RAQFHawP+J1qAU6PT0E5+FlUcXvDdwQZ4gqC66ItESXFSyeovD8oP8731
MtnEyWlD0FJC+EfA25e3eerAS7XK3ZEBkC/92MWnuWrf2WbTyjsHWJ5+yYO5pj3Z
XaqEFzsyAjdO8nJ0rk3l9DUR7ueI1pahVma0dnw65wiM2RAjdbTaS7zFaVg=
=gXNA
-----END PGP PRIVATE KEY BLOCK-----

hth,

vedaal




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427



More information about the Gnupg-users mailing list