Skip to content

verifier: skip GPG commits by signature type, not by error substring#17

Merged
bordumb merged 1 commit into
mainfrom
loop/verifier-gpg-skip-structured
Jun 20, 2026
Merged

verifier: skip GPG commits by signature type, not by error substring#17
bordumb merged 1 commit into
mainfrom
loop/verifier-gpg-skip-structured

Conversation

@bordumb

@bordumb bordumb commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

A failed verification whose error string merely contained "gpg" was rewritten
to valid+skipped, so any genuine failure mentioning gpg silently passed. Skipping
is now driven by a positive signal — the commit object is read and only an actual
PGP-signed commit (not SSH) is skipped — so a real failure stays a failure. Adds
adversarial tests for an error mentioning "gpg" on a non-PGP commit and for
SSH-signed commits.

A failed verification whose error string merely contained "gpg" was rewritten
to valid+skipped, so any genuine failure mentioning gpg silently passed. Skipping
is now driven by a positive signal — the commit object is read and only an actual
PGP-signed commit (not SSH) is skipped — so a real failure stays a failure. Adds
adversarial tests for an error mentioning "gpg" on a non-PGP commit and for
SSH-signed commits.
@bordumb bordumb merged commit 8577336 into main Jun 20, 2026
0 of 2 checks passed
@github-actions

Copy link
Copy Markdown

Auths Commit Verification

Commit Status Details
85773362 ❌ Failed Commit carries no Auths-Id/Auths-Device trailer — it was not signed by auths sign (or predates KEL-native signing). Nothing to verify against.

Result: ❌ 0/1 commits verified


How to fix

Commit 85773362 has no Auths signature (no Auths-Id/Auths-Device trailer).

1. Install auths

macOS: brew install auths
Linux: Download from releases

2. One-time setup (creates your identity and configures Git)

auths init

3. Sign this branch and push

auths sign origin/main..HEAD
git push --force-with-lease

For CI to verify the signer, commit an identity bundle:

auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000

Quickstart →

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