summaryrefslogtreecommitdiffstats
path: root/base/server/python
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2017-05-05 21:30:15 -0400
committerAde Lee <alee@redhat.com>2017-05-06 10:07:00 -0400
commit00c17b3e2f81c9df12e1a89fc85dc2e3d4c3a2b1 (patch)
treee454a6f35dcf3a9de06cb8820f26a47682eccdd9 /base/server/python
parentbea446868e282955d9c70028be657530eaccbe29 (diff)
downloadpki-00c17b3e2f81c9df12e1a89fc85dc2e3d4c3a2b1.tar.gz
pki-00c17b3e2f81c9df12e1a89fc85dc2e3d4c3a2b1.tar.xz
pki-00c17b3e2f81c9df12e1a89fc85dc2e3d4c3a2b1.zip
Fix symmetic key retrieval in HSM
When using an HSM, AES KeyWrapping is not available and so some different code paths were exercised. Fixing bugs in those paths uncovered a case where we were calling unwrapSymmetric() with bits and not bytes for the key length. This does not matter for 3DES, where JSS expects a length of 0, but very much matters for AES. Fixing this - and the KeyClient to actually use the returned wrapping algorithm to unwrap, allows us now to return generated symmetric keys correctly. Bugzilla BZ#1448521 Pagure: 2690 Change-Id: I2c5c87e28f6f36798b16de238bbaa21da90e7890
Diffstat (limited to 'base/server/python')
0 files changed, 0 insertions, 0 deletions