I think I have found I minor bug in the apps\pkcs8.c. An error occurs whenever it is 
used with the "-topk8" and "-inform DER" parameters together. I think the -topk8 does 
not take care of the -inform parameter and always assumes a PEM input format.

Example:

openssl pkcs8 -inform DER -in key.der -out key.pk8 -topk8 -nocrypt -inform DER
Error reading key
147:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:610:

Hope this helps,

        Nelson.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to