On Sun, Apr 10, 2022 at 3:27 PM Daniel Shahaf <d...@daniel.shahaf.name> wrote: > > Mark Phippard wrote on Sun, Apr 10, 2022 at 15:16:58 -0400: > > So I was wondering how, using the gpg command. I can get the other > > elements we include .. such as: Stefan Sperling > > [2048R/4F7DBAA99A59B973] > > They're generated by release.py:get_siginfo() which is called by > write_announcement(), so, «release.py write-announcement» is the right > answer. (I just grepped for "with fingerprint:".) > > > A problem I am having is with my key. I have to run the > > write-announcement in my Docker image but that has an old version of > > GPG that does not know what to do with my key. > > Install gpg from backports, or run write-announcement elsewhere? > I don't see why you couldn't run it anywhere you have a wc of > /dist/release.
Even on a system with a GnuPG that understands my key the Python script does not: Traceback (most recent call last): File "/Users/markphip/projects/svn-trunk/tools/dist/release.py", line 1917, in <module> main() File "/Users/markphip/projects/svn-trunk/tools/dist/release.py", line 1913, in main args.func(args) File "/Users/markphip/projects/svn-trunk/tools/dist/release.py", line 1272, in write_announcement siginfo = get_siginfo(args, True) File "/Users/markphip/projects/svn-trunk/tools/dist/release.py", line 1421, in get_siginfo formatter = PUBLIC_KEY_ALGORITHMS[keytype] KeyError: 22 So I was going to remove my key from the signature file, run the script to get the email announcement, and then put my key back. But then I was looking for how I could manually construct what my entry should look like in the email. I could just leave my signature out of the release too so as not to have downstream users need to deal with this problem. Mark