Skip to content

Support to open serial only sessions#109

Open
thuandb wants to merge 1 commit intoThalesGroup:masterfrom
thuandb:master
Open

Support to open serial only sessions#109
thuandb wants to merge 1 commit intoThalesGroup:masterfrom
thuandb:master

Conversation

@thuandb
Copy link
Copy Markdown

@thuandb thuandb commented Sep 14, 2024

Proposed Changes

Our PKCS#11 devices only support serial only sessions hence this library is failing with the following error:

error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_WRITE_PROTECTED (0xe2)

This change is to introduce an optional configuration to allow initialize P11 context with serial only session.

Types of Changes

  • New Feature & Backward-Compatible

Verification

We tested with our PKCS#11 devices.

Testing

We tested with our PKCS#11 devices.

Linked Issues

User-Facing Change

Support serial only sessions.

Further Comments

Copy link
Copy Markdown
Contributor

@solcates solcates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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