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

Key loading #45

Merged
merged 2 commits into from
Aug 5, 2022
Merged

Key loading #45

merged 2 commits into from
Aug 5, 2022

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Aug 5, 2022

Always load all keys in the token when the store is queried.

Store only one key per p11prov_obj, prepare it to contain other object types in the future.

simo5 added 2 commits August 5, 2022 18:48
Also remove the dual key storeage in the sotre object and instead deal
with a single key, either public, or private in each object store.

Signed-off-by: Simo Sorce <[email protected]>
The EC private key was lacking EC_PARAMS parsing therefore key size was
always reported as 0, additionally we were always return private key
type when asking the keymgmt functions.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 merged commit 7e2cf78 into latchset:main Aug 5, 2022
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.

1 participant