Changeset 2952 for releases

Show
Ignore:
Timestamp:
05/12/06 20:03:47 (3 years ago)
Author:
aj
Message:

Douglas E. Engert:
removes the private bit on the pubkey. Without this change the openssl req with
engine can not be used to generate a certificate request, as it will not be
able to find the public key that should have been saved by the piv-tool when
the private key was generated on the card.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • releases/opensc-0.11.1/src/libopensc/pkcs15-piv.c

    r2938 r2952  
    191191 
    192192                { "1", "AUTH pubkey", 1024, USAGE_AUT, "9A06",  
    193                   0x9A, "1", SC_PKCS15_CO_FLAG_PRIVATE}, 
     193                  0x9A, "1", 0}, 
    194194                { "2", "SIGN pubkey", 1024, USAGE_AUT, "9C06",  
    195                   0x9C, "1", SC_PKCS15_CO_FLAG_PRIVATE}, 
     195                  0x9C, "1", 0}, 
    196196                { "3", "KEY MAN pubkey", 1024, USAGE_AUT, "9D06",  
    197                   0x9D, "1", SC_PKCS15_CO_FLAG_PRIVATE}, 
     197                  0x9D, "1", 0}, 
    198198                { "4", "ADMIN pubkey", 1024, USAGE_AUT, "9B06",  
    199                   0x9B, "1", SC_PKCS15_CO_FLAG_PRIVATE}, 
     199                  0x9B, "1", 0}, 
    200200                { NULL, NULL, 0, 0, NULL, 0, NULL, 0} 
    201201