gpgsm and mail address

Werner Koch wk at gnupg.org
Wed Mar 12 18:05:49 CET 2008


On Fri,  7 Mar 2008 06:29, kasahara at nc.kyushu-u.ac.jp said:

>       Subject: /CN=(His name)/OU=Terms of use at www.verisign.co.jp\x2frpa (c)06/OU=S\x2fMIME for UPKI Project/O=National Institute of Informatics/EMail=(his email address)

Thanks for sending me the certificate.  Actually there was no need for
it.  The reason for this bug is much simpler; The email RDN is not the
first RDN and the code in gpgsm does only recognize the email if it is
the first part.  For example:

  if (strncmp (name, "1.2.840.113549.1.9.1=#", 22))
    return NULL; /* No Email in DN.  */

The fix is pretty straightforward; please give me a few days as I am
currently attending a conference.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list