[Freeipa-devel] [freeipa PR#675][opened] [WIP] Fix PKCS11 helper
MartinBasti
freeipa-github-notification at redhat.com
Wed Mar 29 17:06:25 UTC 2017
URL: https://github.com/freeipa/freeipa/pull/675
Author: MartinBasti
Title: #675: [WIP] Fix PKCS11 helper
Action: opened
PR body:
"""
Slots in HSM are not assigned statically, we have to chose proper
slot from token label.
Softhsm i2.2.0 changed this behavior and now slots can change over
time (it is allowed by pkcs11 standard).
Changelog:
* created method get_slot() that returns slot number from
used label
* replaces usage of slot in __init__ method of P11_Helper
with label
* slot is dynamically detected from token label before
session is opened
* pkcs11-util --init-token now uses '--free' instead '--slot'
which uses first free slot (we don't care about slot numbers
anymore)
https://pagure.io/freeipa/issue/6692
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/675/head:pr675
git checkout pr675
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-675.patch
Type: text/x-diff
Size: 7519 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170329/faa70c17/attachment.bin>
More information about the Freeipa-devel
mailing list