Repository navigation
Verify 1024-bit RSA and SHA-1 PKCS#1 - #34
Merged
Merged
Conversation
Validators need moduli of 1024, 2048, 3072, and 4096 bits, and SHA-1 for DNSSEC algorithms 5 and 7. Generation stays 2048 and up. Not tagged.
Pure Ed448 with an empty context, which is DNSSEC algorithm 16. Ed448ph is opt-in. RFC 8032 vectors and OpenSSL agree.
PKCS#1 and PSS, including a 1024-bit modulus. OpenSSL matches every hash. A lambda-reduced private exponent still signs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PqRsa.verifyPkcs1andverifyPssaccept a 1024, 2048, 3072, or 4096 bit modulus.PqRsaHash.sha1is the PKCS#1 digest DNSSEC algorithms 5 and 7 name.generateKeyPairstill refuses 1024.No wire-format change. Not tagged. 0.4.12 stays the brainpool and FFDHE release.
Test
dart run tool/agent/verify.dart fullexited 0. The RSA matrix covers 1024, 2048, 3072, and 4096 by SHA-1, SHA-256, SHA-384, and SHA-512. PSS SHA-512 on a 1024-bit key is refused because the modulus is too small.