|
|
@@ -2,6 +2,31 @@
|
|
|
|
|
|
All notable changes to this project are documented here.
|
|
|
|
|
|
+## [0.3.3] - 2026-10-23
|
|
|
+
|
|
|
+Closes the findings of the fourth audit of v0.3.2 (commit `e4dfe4a`): the GPG
|
|
|
+pipeline now requires a successful GnuPG exit code before checking the signer
|
|
|
+fingerprint, and a latent DO-bit field bug in `test/cd-check.py` is fixed.
|
|
|
+
|
|
|
+### Fixed (P3)
|
|
|
+- **The GPG pipeline ignored GnuPG's return code.** With `set -eux`, a
|
|
|
+ `gpg … | grep … | awk … | grep …` pipeline's exit status is that of the last
|
|
|
+ `grep`; a matching `VALIDSIG` fingerprint was therefore enough to proceed even
|
|
|
+ if GnuPG itself reported an error. `VALIDSIG` only means *cryptographically
|
|
|
+ valid* and can appear alongside expired/revoked-key warnings. Now GnuPG runs
|
|
|
+ as a **separate command** (its exit code is checked by `&&`), the status
|
|
|
+ output is stored to a file, and only then is that file checked for the expected
|
|
|
+ signer fingerprint — so a non-zero GnuPG exit (e.g. expired/revoked key,
|
|
|
+ missing public key) fails the build. (Both the unbound and ldns source
|
|
|
+ stages.)
|
|
|
+- **`test/cd-check.py` had the DO bit in the wrong OPT field.** The `0x8000`
|
|
|
+ was in the 2-byte CLASS field instead of the OPT record's 4-byte EXTENDED
|
|
|
+ FLAGS field, so the DO bit was not set (verified: AD stayed 0). Fixed to
|
|
|
+ `struct.pack(">HHIH", 41, 0, 0x8000, 0)` — matching `dns-check.py` and how
|
|
|
+ unbound interprets the DO bit (verified: AD=1). The file is not used by the
|
|
|
+ current counter-test (which disables the validator via `module-config:
|
|
|
+ iterator`), so this is a latent bug, not a behavioral change.
|
|
|
+
|
|
|
## [0.3.2] - 2026-10-23
|
|
|
|
|
|
Closes the findings of the third audit of v0.3.1 (commit `678fdbf`): the
|