Merge #7713: Fixes for verify-commits script
pull/262/head1e9aab0
Remove sipa's old revoked key from verify-commits (Peter Todd)966151e
Add README for verify-commits (Peter Todd)11164ec
Remove keys that are no longer used for merging (Peter Todd)22421fa
Remove pointless warning (Peter Todd)9523e8a
Make verify-commits path-independent (Matt Corallo)f7d4a25
Make verify-commits POSIX-compliant (Matt Corallo)
commit
f6598df765
@ -0,0 +1,26 @@
|
||||
Tooling for verification of PGP signed commits
|
||||
----------------------------------------------
|
||||
|
||||
This is an incomplete work in progress, but currently includes a pre-push hook
|
||||
script (`pre-push-hook.sh`) for maintainers to ensure that their own commits
|
||||
are PGP signed (nearly always merge commits), as well as a script to verify
|
||||
commits against a trusted keys list.
|
||||
|
||||
|
||||
Using verify-commits.sh safely
|
||||
------------------------------
|
||||
|
||||
Remember that you can't use an untrusted script to verify itself. This means
|
||||
that checking out code, then running `verify-commits.sh` against `HEAD` is
|
||||
_not_ safe, because the version of `verify-commits.sh` that you just ran could
|
||||
be backdoored. Instead, you need to use a trusted version of verify-commits
|
||||
prior to checkout to make sure you're checking out only code signed by trusted
|
||||
keys:
|
||||
|
||||
git fetch origin && \
|
||||
./contrib/verify-commits/verify-commits.sh origin/master && \
|
||||
git checkout origin/master
|
||||
|
||||
Note that the above isn't a good UI/UX yet, and needs significant improvements
|
||||
to make it more convenient and reduce the chance of errors; pull-reqs
|
||||
improving this process would be much appreciated.
|
@ -1,2 +0,0 @@
|
||||
586a29253dabec3ca0f1ccba9091daabd16b8411
|
||||
eddaba7b5692288087a926da5733e86b47274e4e
|
@ -1 +1 @@
|
||||
165e323d851cc87213c7673c6f278e87a6f2e752
|
||||
82bcf405f6db1d55b684a1f63a4aabad376cdad7
|
||||
|
@ -1,8 +1,4 @@
|
||||
71A3B16735405025D447E8F274810B012346C9A6
|
||||
1F4410F6A89268CE3197A84C57896D2FF8F0B657
|
||||
01CDF4627A3B88AAE4A571C87588242FBE38D3A8
|
||||
AF8BE07C7049F3A26B239D5325B3083201782B2F
|
||||
81291FA67D2C379A006A053FEAB5AF94D9E9ABE7
|
||||
3F1888C6DCA92A6499C4911FDBA1A67379A1A931
|
||||
32EE5C4C3FA15CCADB46ABE529D4BCB6416F53EC
|
||||
FE09B823E6D83A3BC7983EAA2D7F2372E50FE137
|
||||
|
Loading…
Reference in new issue