To:
[email protected]
Copy:
[email protected] (Gunnar Wolf)
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------7AUpSCzoxR1aslpE54E5mnWB
Content-Type: multipart/mixed; boundary="------------aImd2uvt4QGSlpkngpWopMDv"
--------------aImd2uvt4QGSlpkngpWopMDv
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,
Thanks for your quick reply!
在 2025/7/12 23:43, Guilhem Moulin 写道:
Hi,
On Sat, 12 Jul 2025 at 23:27:49 +0800, xiao sheng wen wrote:
gpg-key2ps -1 -p a4 [email protected] | gs -sDEVICE=pdfwrite -sOutputFile=out.pdf
My Chinese name in uid display question mark.
I tested use only "gpg-key2 [email protected]", I also find it's question mark
in it's output.
Is gpg-key2ps support UTF-8 well?
AFAIK not and that tool is no longer maintained, I should probably add a deprecation warning in the manual page.
I'd suggest to use gpg-key2latex(1) instead (also from signing-party)
and use XeLaTeX to convert LaTeX output to PDF. I'm not familiar enough
with Postscript and wrote gpg-key2latex(1) to workaround that particular issue with gpg-key2ps(1), plus other issues such as as feature requests
for photo IDs and QR codes. gpg-key2latex(1) is still supported :-)
Yes, use gpg-key2latex(1) is better for CJK word.
After I installed package texlive-lang-cjk, I can get my Chinese name correctly.
I use the following command:
gpg-key2latex -p a4
[email protected]|xelatex
The output pdf filename is texput.pdf.
Perhaps we need to update the wiki:
https://wiki.debian.org/Keysigning#Step_3:_Print_your_key
in "Use gpg-key2ps to generate a PDF" section.
Nice to meet you in Brest!
--
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page:
https://qa.debian.org/developer.php?login=atzlinux%40debian.org Debian salsa:
https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB
--------------aImd2uvt4QGSlpkngpWopMDv
Content-Type: application/pgp-keys; name="OpenPGP_0x00186602339240CB.asc" Content-Disposition: attachment; filename="OpenPGP_0x00186602339240CB.asc" Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBF6Om9cBEADEsG6I7N5GRxuCIspmxdSPzMUG3C6vbSa7c3uyUUJoqbdNsb15 dRLoZ4qfyBNFZEu+kkOpQNH7/o6+7Y65tILKP9I46bGKQCw5HAx4nS7je1Jf0bC4 1R3tg625GWtfpdAUa5xgthCG2NhjSspWqi1WwNsZQ69bfagOzIq0ggKmWfYtJORG kijEAobnqB2wN+JDgMhvNMAFunIB6uk1rHwpKo2vrzl+xr3vf1CFOvYS9tQh1eDz MfzseJTIMuxrUv3MfvALDKkNj2sfrPFOvLUwqszTBNPZxaBc3EGe31lkqmWG+Tlf lLDyVfMuBZrxxnTHnqlKVqrCU7oLIM5agBgbCk6xJ831tw+mQ6sOO2xiypg9ZVGO sCx3Sj2Ofp5sEOq2j0DkHChMfCQBsTDXpWpgMSWYP+HQKTWydN1QnKwWRJEduuao
+OhpLl