diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-10 23:48:01 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-10 23:48:01 -0400 |
commit | 68d2f20cda53463222f70290fda2b8d2a17fef6b (patch) | |
tree | e48bbc0810a66bca7d86057356c5996a8302de5d /libhal/utils | |
parent | 5e349fa7c3aa2c60a457b3d799032a6fc62dc43a (diff) |
Support split keypairs, where private key is a token object and public
key is a session object. Doesn't actually save us anything, but Jakob
tells us that this makes a difference on some HSMs so we people use
this kind of setup and we need to support it.
Explicitly disallow private keys as session objects, since we have no
way to protect them. Update unit-tests now that we return the correct
error code for this case.
Diffstat (limited to 'libhal/utils')
0 files changed, 0 insertions, 0 deletions