New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc-hsm: Fix CKR_GENERAL_ERROR when deleting certificates with no private key #281

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@CardContact
Copy link
Member

CardContact commented Sep 3, 2014

No description provided.

Andreas Schwier added some commits Jul 13, 2014

Andreas Schwier
sc-hsm: Added error if private key import tried
Private key import is not supported by the SmartCard-HSM. However there is no error code
if it is still tried using pkcs15-init or from within Firefox.
Andreas Schwier
sc-hsm: Fix certificate delete bug
If a certificate is deleted after the related private key, then the driver
picks the wrong certificate EF, leading to an CKR_GENERAL_ERROR or the wrong
certificate being deleted.
@viktorTarasov

This comment has been minimized.

Copy link
Member

viktorTarasov commented Sep 7, 2014

Applied in 7db9950,
thank you.

@CardContact CardContact deleted the CardContact:fixdeletecert branch Sep 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment