#945795 gpg-key2ps should list curve names for ECC keys rather than $ALGO$LENGTH

Package:
signing-party
Source:
signing-party
Description:
Various OpenPGP related tools
Submitter:
Mikaela Suomalainen
Date:
2019-12-02 05:45:04 UTC
Severity:
minor
#945795#5
Date:
2019-11-28 19:59:18 UTC
From:
To:
--- Please enter the report below this line. ---

Dear maintainer,

I wish to report that when I use gpg-key2ps with my main GPG key,
`gpg-key2ps 69FF455A869F9031A691E0F199392F62BAE30723 >
69FF455A869F9031A691E0F199392F62BAE30723.ps`, my key is printed as
eddsa256/BAE30723, while I believe it should be ed25519 as reported by
`gpg --list-keys`.

I think this issue may be only cosmetic as the key fingerprint is
still correct.

You can easily generate an ed25519 key by `gpg --quick-gen-key
address@domain.example future-default`.

Debian Release: bullseye/sid
  990 testing         vwakviie2ienjx6t.onion   990 testing
sdscoq7snqtznauu.onion   990 testing         deb.torproject.org   990
testing         deb.debian.org   900 testing-debug
ktqxbqrhg5ai2c7f.onion   900 testing-debug   deb.debian.org   500
trusty          brave-browser-apt-release.s3.brave.com   500 syncthing
      apt.syncthing.net   500 stable          linux.teamviewer.com
500 stable          dl.google.com   500 buster
download.docker.com
--- Package information. ---
Depends                        (Version) | Installed
========================================-+-===========
perl:any                                 | python3:any
              | libc6                          (>= 2.14) | libmd0
                   (>= 0.0.0) | gnupg
   | libclass-methodmaker-perl                |
libgnupg-interface-perl                  | libmailtools-perl
              | libmime-tools-perl                       |
libnet-idn-encode-perl                   | libterm-readkey-perl
              | libtext-template-perl                    | qprint
                              |

Recommends                (Version) | Installed
===================================-+-===========
default-mta                         |  OR mail-transport-agent
    | dialog                              | 1.3-20190808-1
 OR whiptail                        | 0.52.21-3+b1
libgd-gd2-noxpm-perl                |  OR libgd-gd2-perl
    | libpaper-utils                      | 1.1.28+b1


Suggests                               (Version) | Installed
================================================-+-===========
fonts-noto-cjk                                   | fonts-noto-mono
                              | 20181227-1
imagemagick                                      | 8:6.9.10.23+dfsg-2.1+
b2
 OR graphicsmagick-imagemagick-compat            | mutt
                              |  OR neomutt
           | qrencode                                         |
texlive-font-utils                               | texlive-latex-extra
                             | texlive-latex-recommended
          | texlive-xetex                                    | wipe
                                          |

#945795#12
Date:
2019-12-02 05:43:14 UTC
From:
To:
Hi,

Lowered the severity as there is AFAICT no promise that the output
format matches the one from `gpg --list-keys`.  Showing $ALGO$LENGTH for
ECC keys, like what's done for RSA, DSA and ElGalmal keys isn't wrong,
even though showing the curve name would be more precise.  I don't
really speak PostScript so I'm unlikely to change that myself; patch
welcome :-)  See also https://bugs.debian.org/869398 .

In the meantime one can use gpg-key2latex(1) from the same package,
which doesn't have this issue, at the expense of heavier dependencies
(the TexLive suite).