[pkg-gnupg-maint] Bug#876968: gnupg: Improve error message when changing passwd on an "empty" card
Santiago R.R.
santiagorr at riseup.net
Wed Sep 27 08:14:15 UTC 2017
Package: gnupg
Version: 2.2.1-1
Severity: normal
Dear GnuPG Maintainers,
I have no idea if this concerns Gnuk only, so sorry it cannot be
improved in gnupg: When trying to change the passwd of my new gnuk
token (v1.2.5), I got this error message:
gpg/card> passwd
gpg: OpenPGP card no. D276000124010200FFFE870620540000 detected
Error changing the PIN: Conditions of use not satisfied
As told by gniibe-san, the "Conditions of use not satisfied" were the
lack of private key installed in the token. After importing it, I was
able to change the pass-phrase.
It would be easier to figure out the problem if the error message said
the private key was needed.
Cheers,
-- Santiago
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.45-21.pvops.qubes.x86_64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnupg depends on:
ii dirmngr 2.2.1-1
ii gnupg-l10n 2.2.1-1
ii gnupg-utils 2.2.1-1
ii gpg 2.2.1-1
ii gpg-agent 2.2.1-1
ii gpg-wks-client 2.2.1-1
ii gpg-wks-server 2.2.1-1
ii gpgsm 2.2.1-1
ii gpgv 2.2.1-1
gnupg recommends no packages.
Versions of packages gnupg suggests:
pn parcimonie <none>
pn xloadimage <none>
-- no debconf information
More information about the pkg-gnupg-maint
mailing list