]> Sergey Matveev's repositories - tofuproxy.git/blob - doc/integrity.texi
2420afb447bf53a764d6609bb4ed88a62fdd1f2e
[tofuproxy.git] / doc / integrity.texi
1 You @strong{have to} verify downloaded tarballs authenticity to be sure
2 that you retrieved trusted and untampered software. There are two options:
3
4 @table @asis
5
6 @item @url{https://www.openpgp.org/, OpenPGP} @file{.asc} signature
7     Use @url{https://www.gnupg.org/, GNU Privacy Guard} free software
8     implementation.
9     For the very first time it is necessary to get signing public key and
10     import it. It is provided @url{PUBKEY-PGP.asc, here}, but you should
11     check alternate resources.
12
13 @verbatim
14 pub   ed25519/0x81CBFB0071478516 2023-08-11
15       42C7 B86A 4A7D C44B 837C  4343 81CB FB00 7147 8516
16 uid   tofuproxy releases <tofuproxy@cypherpunks.ru>
17 @end verbatim
18
19 @example
20 $ gpg --auto-key-locate dane --locate-keys tofuproxy at cypherpunks dot ru
21 $ gpg --auto-key-locate  wkd --locate-keys tofuproxy at cypherpunks dot ru
22 @end example
23
24 @item @url{https://www.openssh.com/, OpenSSH} @file{.sig} signature
25     @url{PUBKEY-SSH.pub, Public key} and its OpenPGP
26     @url{PUBKEY-SSH.pub.asc, signature} made with the key above.
27     Its fingerprint: @code{SHA256:TFmIjNNqfRmyz7gq/ajvsmz6CAvs1FEAvgDZk3zNDy8}.
28
29 @example
30 $ ssh-keygen -Y verify -f PUBKEY-SSH.pub -I tofuproxy@@cypherpunks.ru -n file \
31     -s tofuproxy-@value{VERSION}.tar.zst.sig < tofuproxy-@value{VERSION}.tar.zst
32 @end example
33
34 @end table