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

Reintroduce deprecated cka api for compatibility #158

Merged
merged 5 commits into from
Nov 23, 2023

Conversation

cps-b
Copy link
Contributor

@cps-b cps-b commented Nov 22, 2023

This PR reintroduces the API using HsmKeyParams that was removed in #156 . We want to keep it around and then remove it in a subsequent release.

Copy link
Collaborator

@yannik-dittmar yannik-dittmar left a comment

Choose a reason for hiding this comment

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

LGTM

src/key.cpp Outdated
const std::vector<uint8_t> &keyID,
const HsmKeyParams &params)
{
// libp11 uses 128 byte buffer
Copy link
Collaborator

Choose a reason for hiding this comment

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

As someone with very little knowledge about this software I'm a bit confused what this comment should tell me... Is this the limiting factor for the key size and if yes why? Do you think it would make sense to describe it with one or two more words and also change the comment in line 234/294/314?

@cps-b cps-b merged commit 6c90a22 into openssl3 Nov 23, 2023
18 checks passed
@cps-b cps-b deleted the reintroduce-deprecated-cka-api branch November 23, 2023 09:42
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