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

Set key to be only for signing by adding signing_only in the SP #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waterkip
Copy link
Collaborator

In 3c87e51 we defined the signing key to be for signing and encryption. This new flag allows consumers to keep old behaviour where the key was/is only used for signing and not encrypting.

In 3c87e51 we defined the signing key to be for signing and encryption.
This new flag allows consumers to keep old behaviour where the key
was/is only used for signing and not encrypting.

Signed-off-by: Wesley Schwengle <[email protected]>
@waterkip waterkip force-pushed the GH-xx-only_a_signing_cert branch from f4853b0 to 0935431 Compare May 9, 2024 12:32
@timlegge
Copy link
Contributor

timlegge commented May 9, 2024

looks fine but I wonder if we just just revert 3c87e51 and add a flag to not show the use if only a signing key is provided? That puts it back to the original but allows you to specify something else

@waterkip
Copy link
Collaborator Author

Also an option, add primary_key_usage => 'both|sign|encryption' to the constructor. Although for encryption we have a special attribute for the encryption key.

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