summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/gpg/tl-key-extension.txt
blob: c4e3dc4331d3778af20bc61bb0633b78a413658d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$Id: tl-key-extension.txt 54986 2020-05-03 15:10:31Z karl $
(Public domain.)

How to update TeX Live distribution signing key
===============================================

This must be done every year! It's not optional.

shut down networking service

cp gpg directory from USB stick to computer

export GNUPGHOME=...<COPY OF USBSTICK gpg directory>
export KEYID=0xC78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC
gpg --edit-key $KEYID
> key 2
	# selects the expiring key, check!
> expire
> 16m
	# choose something after the release of the next TL
> save

# export public key for import into svn and TUG account
gpg -a --export $KEYID > texlive.asc

# update USB drive with new stuff, remove from home,

rm -rf $GNUPGHOME
unset GNUPGHOME

gpg --send-keys $KEYID


# update TeX Live repository
export GNUPGHOME=/path/to/texlive-svn/Master/tlpkg/gpg
# use gpg version 1 here!!!
gpg1 --import texlive.asc

svn/git commit


# on the TUG server (needs the exported public key in
# texlive.asc, see above how to export it)
gpg --homedir ~texlive/.gnupg --import texlive.asc


More info: 
. we use tlpkg/bin/tl-sign-file to sign texlive.tlpdb.
. gpg --verify --verbose foo.asc for info on signature of file.