Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
ede139a0
Verified
Commit
ede139a0
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
two examples of commit signature checkers
parent
72ea5721
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/gitlab.md
+8
-0
8 additions, 0 deletions
howto/gitlab.md
with
8 additions
and
0 deletions
howto/gitlab.md
+
8
−
0
View file @
ede139a0
...
...
@@ -1526,6 +1526,14 @@ which declares a good hash and a signing key.
This also requires a custom client. But it serves as a good example of
an extreme approach (validate everything) one could take.
Note that GitLab Premium (non-free) has support for [push rules](https://docs.gitlab.com/ee/user/project/repository/push_rules.html)
and in particular a "Reject unsigned commits" rule.
Another implementation is SourceWare's [gitsigur](https://sourceware.org/git/gitsigur.git) which verifies
all commits (200 lines Python script), see also [this discussion](https://inbox.sourceware.org/overseers/ZJ3Tihvu6GbOb8%2FR@elastic.org/T/)
for a comparison. A similar project is Gentoo's [update-02-gpg](https://gitweb.gentoo.org/infra/githooks.git/tree/local/update-02-gpg)
bash script.
### Arista: sign all commits in Gerrit
Arista wrote a blog post called [Commit Signing with Git at Enterprise
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment