mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-08-01 19:16:27 -04:00
VerifyingSignatures changed
Remove incorrect git script for auto commit verification (it didn't ensure we verify the latest commit), plus some minor edits.
This commit is contained in:
parent
427b33c3ad
commit
0be6da60fe
1 changed files with 3 additions and 22 deletions
|
@ -74,29 +74,10 @@ The developer keys are set to be valid for 1 year only, while the Qubes Master S
|
||||||
Verifying Qubes code
|
Verifying Qubes code
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
To verify signed git tag, you can use:
|
Developers who fetch code from our Git server should always verify tags on the latest commit. Any commits that are not followed by a signed tag should not be trusted!
|
||||||
|
|
||||||
|
To verify a signature on a git tag, you can use:
|
||||||
|
|
||||||
``` {.wiki}
|
``` {.wiki}
|
||||||
$ git tag -v <tag name>
|
$ git tag -v <tag name>
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also set git alias to automatically pull latest tag and verify its signature:
|
|
||||||
|
|
||||||
``` {.wiki}
|
|
||||||
$ git config --global alias.vpull '!f() { tag=`git ls-remote $@ |tail -2 |head -1 |cut -d/ -f 3-`; git pull $@ tag $tag; git tag -v $tag; }; f'
|
|
||||||
```
|
|
||||||
|
|
||||||
then use:
|
|
||||||
|
|
||||||
``` {.wiki}
|
|
||||||
$ git vpull git://git.qubes-os.org/mainstream/core.git
|
|
||||||
Already up-to-date.
|
|
||||||
object 80826329a71c693fcd08544458b9d6219ca5b28c
|
|
||||||
type commit
|
|
||||||
tag v1.3.16-dom0
|
|
||||||
tagger Joanna Rutkowska <joanna@invisiblethingslab.com> 1290384222 +0100
|
|
||||||
|
|
||||||
v1.3.16-dom0
|
|
||||||
gpg: Signature made Mon 22 Nov 2010 01:03:50 CET using RSA key ID C37BB66B
|
|
||||||
gpg: Good signature from "Joanna Rutkowska (Qubes OS signing key) <joanna@invisiblethingslab.com>"
|
|
||||||
```
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue