Skip to content

Support multiple certificates for key rollover - #351

Merged
theseal merged 1 commit into
IdentityPython:masterfrom
theseal:jocar-multiple-certs-attempt-2
Nov 3, 2026
Merged

theseal merged 1 commit into
IdentityPython:masterfrom
theseal:jocar-multiple-certs-attempt-2

Conversation

@theseal

@theseal theseal commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

check_signature now accepts an iterable of verifiers (certificate files, PEM text or SHA1 fingerprints). A signature by any one is accepted.

MDSL entries now verify against all listed certificates directly instead of pinning the first fingerprint, so a rollover can list both the old and the new signer.

load accepts a repeated verify, and ResourceOpts.verify is now a list

Requires pybergshamra >= 0.11.1.

Closes #300 (rather replaces…)

check_signature now accepts an iterable of verifiers (certificate files,
PEM text or SHA1 fingerprints). A signature by any one is accepted.

MDSL entries now verify against all listed certificates directly
instead of pinning the first fingerprint, so a rollover can list both
the old and the new signer.

`load` accepts a repeated `verify`, and ResourceOpts.verify is now a list

Requires pybergshamra >= 0.11.1.

Closes IdentityPython#300 (rather replaces…)

@kushaldas kushaldas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@btmattsson

Copy link
Copy Markdown

As far as I can see it looks good.

@theseal
theseal merged commit abc546a into IdentityPython:master Nov 3, 2026
11 checks passed
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.

3 participants