texlive[73482] Master/tlpkg/gpg/tl-key-extension.txt: More docs on

commits+preining at tug.org commits+preining at tug.org
Fri Jan 17 01:27:21 CET 2025


Revision: 73482
          https://tug.org/svn/texlive?view=revision&revision=73482
Author:   preining
Date:     2025-01-17 01:27:21 +0100 (Fri, 17 Jan 2025)
Log Message:
-----------
More docs on tl-key-extension

Modified Paths:
--------------
    trunk/Master/tlpkg/gpg/tl-key-extension.txt

Modified: trunk/Master/tlpkg/gpg/tl-key-extension.txt
===================================================================
--- trunk/Master/tlpkg/gpg/tl-key-extension.txt	2025-01-16 20:29:18 UTC (rev 73481)
+++ trunk/Master/tlpkg/gpg/tl-key-extension.txt	2025-01-17 00:27:21 UTC (rev 73482)
@@ -31,17 +31,22 @@
 # send keys
 # make sure that .gnupg/dirmngr.conf does NOT contain hkp-cacert lines!!!
 
-# upload to keys.openpgp.org:
-gpg --export $KEYID | curl -T - https://keys.openpgp.org
-# this will give an URL to associate key with email, visit it!
+# upload to keyserver
+keyservers=(
+  "hkps://keys.openpgp.org/"
+  "hkps://keyserver.ubuntu.com/"
+)
+for ks in ${keyservers[@]} ; do 
+  gpg --send-key --keyserver $ks $KEYID
+done
 
-# upload to ubuntu key server:
-gpg --send-key --keyserver hkp://keyserver.ubuntu.com:80 $KEYID
-#
-# to check if it's there:
-gpg --list-key --keyserver hkp://keyserver.ubuntu.com:80 tex-live
 
+# old, not needed?
+# # upload to keys.openpgp.org:
+# gpg --export $KEYID | curl -T - https://keys.openpgp.org
+# # this will give an URL to associate key with email, visit it!
 
+
 # update TeX Live repository
 export GNUPGHOME=/home/texlive/Master/tlpkg/gpg # wherever svn checkout
 # use gpg version 1 here!!!
@@ -52,6 +57,7 @@
 
 # on the TUG server (needs the exported public key in
 # texlive.asc, see above how to export it)
+# NOTE: this needs to be done with the correct owner of the .gnupg directory
 gpg --homedir /home/texlive/.gnupg --import texlive.asc
 
 # can view that .asc with:
@@ -72,7 +78,7 @@
 . (tl)gpg foo.asc will sometimes report expiration info.
 
 . given files updated in Master/tlpkg/gpg, can export into asc:
-gpg --homedir ..../Master/tlpkg/gpg --export -a 0x0D5E5D9106BAB6BC >tl.asc
+  gpg --homedir ..../Master/tlpkg/gpg --export -a $KEYID >tl.asc
 
 . gpg --verify --verbose foo.asc reports some info.
 



More information about the tex-live-commits mailing list.