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 public key from private key in DNSKEY instead of copying it from DNSKEY to private key #1560

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

Conversation

baest
Copy link

@baest baest commented Apr 26, 2024

Previously when loading a PrivateKey into a DNSKEY we would return the PrivateKey with the PublicKey set from the DNSKEY struct. Now that behaviour is flipped and the PublicKey is taken from the PrivateKey and set in the DNSKEY.

…DNSKEY to private key

Previously when loading a PrivateKey into a DNSKEY we would return the PrivateKey with the PublicKey set from the DNSKEY struct.
Now that behaviour is flipped and the PublicKey is taken from the PrivateKey and set in the DNSKEY.
It will now fail if the algorithm or PublicKey in the DNSKEY doesn't
match what is loaded in the input file
@baest baest force-pushed the set_public_key_from_private_key branch from b680beb to d9e2afe Compare April 28, 2024 19:54
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.

None yet

1 participant