diff options
author | Rob Austein <sra@hactrn.net> | 2016-05-12 21:32:25 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-05-12 21:32:25 -0400 |
commit | f0556bb5c26c1d4198b0336be9f1f5dffcc3ea95 (patch) | |
tree | 8b2bb893702776a1bfc5615fe104477f5655de5e /scripts | |
parent | f5269ae7fe6ff845c396734be7ef0c807efc9bc7 (diff) |
Fix RSA key length and CKA_ID lookup.
libhal RPC API takes RSA key lengths in bits, not bytes.
Insisting on receiving matching CKA_ID in both public and private
templates on key generation is probably unwise, so back down using
CKA_ID from private template if provided, otherwise from the public
template, and only raise incompete template error if both are missing.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions