Skip to content

be: prove a bank without a pinned key reads through withDns, and csob sk does not - #66

Merged
landsman merged 1 commit into
mainfrom
be/test-unpinned-banks
Nov 25, 2026
Merged

landsman merged 1 commit into
mainfrom
be/test-unpinned-banks

Conversation

@landsman

Copy link
Copy Markdown
Owner

#63 made withDns() accept any DNSSEC-secure key for a bank that pins none, but no test ran that path: the only check looked at the map. withDns() now builds through a package-private pinning(verifier), so a test signs with its own key and still meets the real pins.

  • A MONETA e-mail signed with a key moneta.cz publishes becomes a Transaction.
  • An Air Bank e-mail signed with any key but the pinned one is Unverified.
  • make check-keys asserts csob.sk is still not DNSSEC-signed, so ČSOB SK stays Unverified.

@landsman
landsman merged commit 49f2651 into main Nov 25, 2026
5 checks passed
@landsman
landsman deleted the be/test-unpinned-banks branch November 25, 2026 09:26
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.

1 participant