Repository navigation
Add SSH signature verification for git commits #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
stefanprodan
merged 32 commits into
fluxcd:main
from
bb-Ricardo:rb-feature/adds-ssh-signature-validation
Jun 2, 2026
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c65fba8
adds SSH signature validation for git commits
bb-Ricardo 7fa7ba0
adds validation of key fingerprint string
bb-Ricardo e40355a
adds better git signature detection format
bb-Ricardo 3c4d1e4
adds detection for added signature prefixes
bb-Ricardo 27c8a68
adds tests for git.go
bb-Ricardo c0075e4
adds requested changes regarding naming
bb-Ricardo eb8d73b
cleans up tests and removed duplicate test files
bb-Ricardo 9441184
fixes text fixtures public key names
bb-Ricardo 3f787fc
adds 'SignatureTypeEmpty' check and improves description of 'GetSigna…
bb-Ricardo 7ce6c5c
Update git/signatures/testdata/gpg_signatures/generate_gpg_fixtures.sh
bb-Ricardo b183696
removes insecure DSA keys from signature test
bb-Ricardo 9031772
updates git go.mod dependencies
bb-Ricardo b69b404
fixes tests for unsigned tags
bb-Ricardo 02457e1
renames package to signature and fixes requested changes
bb-Ricardo 8056671
switches signarture type from public to private
bb-Ricardo 2b84884
moves buildTag and buildCommitWithRef to internal/build package
bb-Ricardo 8018f50
improves signature validation to test all provided keys/keyrings if m…
bb-Ricardo 3e0e191
removes gnupg ed448 generated key test fixtures and adds mention to R…
bb-Ricardo dcf6200
removes verfied signers from ssh signature test fixtures
bb-Ricardo 570faea
updates test fixtures generation scripts and regenerated test fixtures
bb-Ricardo 45bdf98
fixes text fixtures creation description and adds test for unsigned c…
bb-Ricardo a70726c
adds more test for malfromed signatures
bb-Ricardo 50cc0f1
renames VerifyGPG to VerifyPGP
bb-Ricardo 2c881b4
git: fix multi-keyring verify fall-through
hiddeco 843fbcf
git: add sentinel errors for signature verify
hiddeco 30d95f9
git: drop PGP MESSAGE armor from detection
hiddeco cbf288b
git: correct godoc on signature verify API
hiddeco 3dd2506
git: unexport signature prefix slice vars
hiddeco e9ef5b6
git: move test helpers to internal/testutil
hiddeco 1b84c2a
git: cover more signature verification cases
hiddeco ef5d54b
git: stage fixture scripts via mktemp swap
hiddeco 0c6159f
git: fixes issue with order of imports
bb-Ricardo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,6 @@ | |
| # Dependency directories (remove the comment below to include it) | ||
| # vendor/ | ||
|
|
||
| build/ | ||
| /build/ | ||
| bin/ | ||
| testbin/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.