I have solved my own problem.  If the gpg.conf has a setting for
personal-digest-preferences, and if an algo that is supported by a
smartcard is not first in the list, then GnuPG will fail with any
signing operation made with a smartcard.

For example, my gpg.conf setting was:

  personal-digest-preferences SHA256 SHA384 SHA512

This was causing gnupg to fail with all signing operations.  I don't
know whether or not this is a bug, or just an error message that is too
cryptic.

        Kurt.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to