Skip to content

Add support for PKCS#11 token key management#29

Merged
beurdouche merged 1 commit into
mainfrom
2026-03-26-pk11-mgt
Mar 27, 2026
Merged

Add support for PKCS#11 token key management#29
beurdouche merged 1 commit into
mainfrom
2026-03-26-pk11-mgt

Conversation

@beurdouche
Copy link
Copy Markdown
Member

No description provided.

@beurdouche beurdouche requested review from Not-Nik and removed request for larseggert and martinthomson March 26, 2026 10:27
Copy link
Copy Markdown
Collaborator

@Not-Nik Not-Nik left a comment

Choose a reason for hiding this comment

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

Please fix these two warnings the CI brought up

Comment thread src/p11.rs Outdated
if ptr.is_null() {
None
} else {
unsafe { SymKey::from_ptr(ptr).ok() }
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This unsafe is not needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed. Interestingly, my local clippy didn't complain...

Comment thread src/p11.rs Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This qualification (std::os::raw::) is no longer needed since you imported c_int

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed

@beurdouche beurdouche force-pushed the 2026-03-26-pk11-mgt branch 2 times, most recently from 8f75686 to fb407c4 Compare March 26, 2026 10:50
@beurdouche beurdouche force-pushed the 2026-03-26-pk11-mgt branch from fb407c4 to f0eabc5 Compare March 26, 2026 10:58
@beurdouche beurdouche requested a review from Not-Nik March 27, 2026 08:52
@beurdouche beurdouche merged commit c54949b into main Mar 27, 2026
22 of 45 checks passed
@beurdouche
Copy link
Copy Markdown
Member Author

Thanks Anna !

@larseggert larseggert deleted the 2026-03-26-pk11-mgt branch April 13, 2026 12:11
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.

3 participants