Skip to content
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

Test that importing private keys from PEM files (or even just memory buffers) into session objects works #305

Closed
simo5 opened this issue Nov 6, 2023 · 2 comments · Fixed by #441
Assignees
Labels
enhancement New feature or request

Comments

@simo5
Copy link
Member

simo5 commented Nov 6, 2023

We want to be able to work in an openssl configuration where the only provider configured is the pkcs11-provider, in that case we need to be able to import both public and private keys into sessions objects for tokens that can handle all operations (eg soft tokens).

This is because people may end up using a mix of in-token and out of token keys in applications where the main usage dictates use of in-token only keys, but some auxiliary libraries try to use keys from files, or from memory for some functions (like checking signatures, decrypting data, and what not).

@simo5 simo5 added the enhancement New feature or request label Nov 6, 2023
@beldmit
Copy link
Collaborator

beldmit commented Nov 6, 2023

It will not work with the only pkcs11 provider configured - or we have to import/implement decoder stuff into it. We still need base or default provider

@simo5
Copy link
Member Author

simo5 commented Nov 6, 2023

I think needing the base provider is fine.

@simo5 simo5 self-assigned this Apr 16, 2024
@simo5 simo5 changed the title Test that importing private kets from PEM files (or evn just memory buffers) into session objects works Test that importing private keys from PEM files (or evn just memory buffers) into session objects works Jun 11, 2024
@simo5 simo5 assigned simo5 and unassigned simo5 Jul 23, 2024
@simo5 simo5 mentioned this issue Aug 1, 2024
7 tasks
@simo5 simo5 changed the title Test that importing private keys from PEM files (or evn just memory buffers) into session objects works Test that importing private keys from PEM files (or even just memory buffers) into session objects works Aug 29, 2024
@simo5 simo5 closed this as completed in #441 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants