Minor bug in gnupg v1.0.4 for WIN32

magnus_hessel at hushmail.com magnus_hessel at hushmail.com
Tue Nov 21 12:36:55 CET 2000


----- Begin Hush Signed Message from magnus_hessel at hushmail.com -----

A version 4 public key packet has, according to rfc2440, not a expiry date.
It should
instead be in the self-certification signature.

If I create keypairs and enter 14 days validity, a pubring.gpg wich looks
like the following when listed:

####################################################################
C:\gnupg>gpg --list-packets pubring.gpg
:public key packet:
        version 4, algo 20, created 974501433, expires 0
        pkey[0]: [1024 bits]
        pkey[1]: [3 bits]
        pkey[2]: [1023 bits]
:user ID packet: "??? (???) <????@???.???>"
:signature packet: algo 20, keyid 6561183598D30599
        version 4, created 974501433, md5len 0, sigclass 13
        digest algo 3, begin of digest 11 3f
        hashed subpkt 2 len 5 (sig created 2000-11-17)
        hashed subpkt 9 len 5 (key expires after 14d0h0m)
        hashed subpkt 11 len 5 (pref-sym-algos: 7 10 3 4)
        hashed subpkt 21 len 3 (pref-hash-algos: 3 2)
        hashed subpkt 22 len 3 (pref-zip-algos: 2 1)
        hashed subpkt 23 len 2 (key server preferences)
        subpkt 16 len 9 (issuer key ID 6561183598D30599)
        data: [1020 bits]
        data: [1024 bits]
##############################################################


The bug is that an expires field of 0 (does not expire)  is displayed for
the public key packet. This
is rather confusing for the layman.

Cheers
/Magnus Hessel
Hush Communications


----- Begin Hush Signature v1.3 -----
CFX0RURkx3f4YU0L/4PwP3kL8ikNhOKdFEXxicA5V8WCT/pO2YCRV/KR9okC5lmDFBN6
+pMIPdlp5lsXEWKvwOP42fdPuF+aFOK1pC/YJybrn3GALV1Uua3HX/+a3pwKaQIhfi9V
iWW9q/8rmW08OCyswIvlt//5PfCQ4ko1KYkblgCXSbuPRhfy7ZzqWUT98nixcOuY0dj2
MbzvqawszTiYREg8tSyCxuxa8lUAbGcD5MgHdcxuqOrliZ7XQ8i5yHdAKqBeEjsdnPOb
GZBMdvKgWY+IKaLmaApDVBqMyAYNQzT7Jeac/MJEQM1h/hflT687zZVdppy63PRUnM/R
teOrJm+C2k/KyI0b+I5lcN/0DQFVqXqKkGRDPE4iuN2pmw5c8h3Jls8W6lcB4bxQleE0
RZdgNhuBYtSwG4EkET3l2QK3cwNmnQr0Zaxwe5PHC2i+rwbXMwBayjlaEV0j0aDTk3pX
uEpWMbdUV3DDngzSOKar95aWWoSKuwt+PEQYT01IgleT

----- End Hush Signature v1.3 -----


More information about the Gnupg-devel mailing list