Hi Martin,

Martin Bartosch wrote:

when entering a basic request via basicCSR, in line 668 of basicCSR
a single blank is added in front of the SubjectAltName. This blank
is stored in the DB and also displayed when editing the request
in the RA frontend.
The leading blank is stripped out later, but at least one RA officer
noticed that it was there and wondered if he should delete it
for every request.

Is it safe to replace ": " with ":" in the following line?

668:push(@san, $subjectalt_attr[$i-1].": ".$query->param

The bug is in ldapCreateCSR too and yes, it is a bug. You can see this in crypto-utils.lib. The string will be interpreted by the function crypto_get_subject_alt_names. There you can see that the following happens:


email: [EMAIL PROTECTED]
-->
email.0= [EMAIL PROTECTED]

Yes, it is safe to remove the blank. BTW can you please fix it at CVS HEAD and openca_0_9_2?

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to