| | 93 | |
| | 94 | == Verifying Qubes code == |
| | 95 | |
| | 96 | To verify signed git tag, you can use: |
| | 97 | {{{ |
| | 98 | $ git tag -v <tag name> |
| | 99 | }}} |
| | 100 | |
| | 101 | You can also set git alias to automatically pull latest tag and verify its signature: |
| | 102 | {{{ |
| | 103 | $ 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' |
| | 104 | }}} |
| | 105 | |
| | 106 | then use: |
| | 107 | {{{ |
| | 108 | $ git vpull git://git.qubes-os.org/mainstream/core.git |
| | 109 | Already up-to-date. |
| | 110 | object 80826329a71c693fcd08544458b9d6219ca5b28c |
| | 111 | type commit |
| | 112 | tag v1.3.16-dom0 |
| | 113 | tagger Joanna Rutkowska <joanna@invisiblethingslab.com> 1290384222 +0100 |
| | 114 | |
| | 115 | v1.3.16-dom0 |
| | 116 | gpg: Signature made Mon 22 Nov 2010 01:03:50 CET using RSA key ID C37BB66B |
| | 117 | gpg: Good signature from "Joanna Rutkowska (Qubes OS signing key) <joanna@invisiblethingslab.com>" |
| | 118 | }}} |
| | 119 | |