Skip to content

Simplify PKCS#11 C_Sign and C_Decrypt handling#654

Merged
mtrojnar merged 1 commit intoOpenSC:masterfrom
olszomal:integration
Apr 30, 2026
Merged

Simplify PKCS#11 C_Sign and C_Decrypt handling#654
mtrojnar merged 1 commit intoOpenSC:masterfrom
olszomal:integration

Conversation

@olszomal
Copy link
Copy Markdown
Collaborator

Pull Request Type

  • Bug fix
  • New feature
  • Code style / formatting / renaming
  • Refactoring (no functional or API changes)
  • Build / CI related changes
  • Documentation
  • Other (please describe):

Scope of Changes

This PR refactors and simplifies the code paths for PKCS#11-based signing and decryption operations.
It unifies usage around pkcs11_sign_with_mechanism() and removes duplicated logic.

No functional changes intended beyond code simplification.

Testing

  • Existing tests
  • New tests added
  • Manual testing

Additional Notes

License Declaration

  • I hereby agree to license my contribution under the project's license.

@mtrojnar mtrojnar merged commit 4e3ba09 into OpenSC:master Apr 30, 2026
12 checks passed
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