[pkg-gnupg-maint] Bug#1108406: gnupg: On Debian 13, fail to import a secret key exported from a Debian 12 host
Frédéric Boiteux
fboiteux at free.fr
Fri Jun 27 20:40:20 BST 2025
Package: gnupg
Version: 2.4.7-21
Severity: important
X-Debbugs-Cc: fboiteux at free.fr
Dear Maintainer,
I want to use my GnuPG key on a new laptop with Debian 13. I’ve exported my
key from my old computer using :
gpg --export-secret-keys --export-options backup --armor --output cleComplete.gpg.asc fredmob at free.fr
and copied that file cleComplete.gpg.asc on my new laptop, where I typed :
gpg --import cleComplete.gpg.asc
Here, gpg ask me for the key’s passphrase, but it doesn’t recognize it
(asking 3 times), and finally fail to import the secret key.
I tried also import with the option ’--pinentry-mode loopback’, typing the
passphrase in the terminal, but it doesn’t succeed either, with error
message : error sending to agent: Bad passphrase
I’ve tested the same file cleComplete.gpg.asc on another Debian 12 system,
and the importation succeeded on the first try.
With regards,
Fred.
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.32-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gnupg depends on:
ii dirmngr 2.4.7-21+b1
ii gnupg-l10n 2.4.7-21
ii gpg 2.4.7-21+b1
ii gpg-agent 2.4.7-21+b1
ii gpgsm 2.4.7-21+b1
Versions of packages gnupg recommends:
ii gnupg-utils 2.4.7-21+b1
ii gpg-wks-client 2.4.7-21+b1
ii gpgv 2.4.7-21+b1
Versions of packages gnupg suggests:
pn gpg-wks-server <none>
pn parcimonie <none>
pn xloadimage <none>
-- no debconf information
More information about the pkg-gnupg-maint
mailing list