Skip to content

Conversation

@dengert
Copy link
Member

@dengert dengert commented Sep 18, 2023

When doing crypto operations with CKO_SECRET_KEY do not test for CKA_ALWAYS_AUTHENTICATE. Only Keys of type CKO_PRIVATE_KEY can have CKA_ALWAYS_AUTHENTICATE

Fixes  #2852

On branch ALWAYS_AUTHENTICATE_privkey_only
Changes to be committed:
modified: src/tools/pkcs11-tool.c

Checklist
  • Documentation is added or updated
  • New files have a LGPL 2.1 license statement
  • [X ] PKCS#11 module is tested
  • Windows minidriver is tested
  • macOS tokend is tested

When doing crypto operations with CKO_SECRET_KEY do not test for CKA_ALWAYS_AUTHENTICATE
Only Keys of type CKO_PRIVATE_KEY can have CKA_ALWAYS_AUTHENTICATE

    Fixes:  OpenSC#2852

 On branch ALWAYS_AUTHENTICATE_privkey_only
 Changes to be committed:
	modified:   src/tools/pkcs11-tool.c
@Jakuje Jakuje merged commit e4dd705 into OpenSC:master Oct 5, 2023
@dengert dengert deleted the ALWAYS_AUTHENTICATE_privkey_only branch November 17, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants