boulder/goodkey
Aaron Gable a3e99432bb
goodkey: default to 110 rounds of Fermat factorization (#7579)
This change guarantees compliance with CA/BF Ballot SC-073 "Compromised
and Weak Keys", which requires that at least 100 rounds of Fermat
Factorization be attempted:

> Section 6.1.1.3 Subscriber Key Pair Generation
> The CA SHALL reject a certificate request if... The Public Key
corresponds to an industry-demonstrated weak Private Key. For requests
submitted on or after November 15, 2024,... In the case of Close Primes
vulnerability (https://fermatattack.secvuln.info/), the CA SHALL reject
weak keys which can be factored within 100 rounds using Fermat’s
factorization method.

We choose 110 rounds to ensure a margin above and beyond the requirements.

Fixes https://github.com/letsencrypt/boulder/issues/7558
2024-07-17 16:05:30 -07:00
..
sagoodkey KeyPolicy: add custom constructor and make all fields private (#7543) 2024-06-18 17:52:50 -04:00
blocked.go Strict YAML parsing (#6652) 2023-02-22 14:56:26 -05:00
blocked_test.go KeyPolicy: add custom constructor and make all fields private (#7543) 2024-06-18 17:52:50 -04:00
good_key.go goodkey: default to 110 rounds of Fermat factorization (#7579) 2024-07-17 16:05:30 -07:00
good_key_test.go goodkey: default to 110 rounds of Fermat factorization (#7579) 2024-07-17 16:05:30 -07:00
weak.go Use io and os instead of deprecated ioutil (#6286) 2022-08-10 13:30:17 -07:00
weak_test.go Use io and os instead of deprecated ioutil (#6286) 2022-08-10 13:30:17 -07:00