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

EDDSA Support #145

Closed
wants to merge 4 commits into from
Closed

EDDSA Support #145

wants to merge 4 commits into from

Conversation

venafi-iw
Copy link

This PR is to support EDDSA signing/verification functionality.

Signed-off-by: Ivan Wallis <ivan.wallis@venafi.com>
Signed-off-by: Ivan Wallis <ivan.wallis@venafi.com>
Signed-off-by: Ivan Wallis <ivan.wallis@venafi.com>
@zosocanuck zosocanuck mentioned this pull request Dec 28, 2021
@@ -536,6 +536,7 @@ const (
CKM_ECMQV_DERIVE = 0x00001052
CKM_ECDH_AES_KEY_WRAP = 0x00001053
CKM_RSA_AES_KEY_WRAP = 0x00001054
CKM_EDDSA = 0x00001057
Copy link
Owner

Choose a reason for hiding this comment

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

is there a link for me to verify this number?

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Owner

Choose a reason for hiding this comment

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

why do we need to add this manually instead of updating pkcs11.h and regenning the go code?

Copy link
Author

Choose a reason for hiding this comment

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

I'm open to either way, but if we go down the regen approach then there needs to be documented steps on how to do so, such as in a Makefile.

Copy link
Owner

Choose a reason for hiding this comment

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

I'm generating it now directly with go generate, see #147
Also opened #146 to upgrade wholesale to v3 of pkcs11 spec and then regen, seems easier than adding const piecemeal

go.mod Outdated Show resolved Hide resolved
Signed-off-by: Ivan Wallis <ivan.wallis@venafi.com>
@venafi-iw venafi-iw requested a review from miekg December 28, 2021 15:27
@miekg miekg closed this Jan 4, 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.

2 participants