Bad signature when generating key in OpenPGP Java Card Applet

NIIBE Yutaka gniibe at
Mon Apr 11 15:40:03 CEST 2016

On 04/06/2016 02:14 AM, Erik Nellessen wrote:
> Received APDU (57 bytes): 002A9E9A333031300D060960864801650304020105000420265A93D234241BD20BF0773B6011FD037CBE8B985D487116DC08E6914F38DBD100

This is strange.  I think that this is the cause of your problem.
It should be:


I mean, scdaemon removes the prefix (which specifies the hash algo)


before sending card.

What version of scdaemon are you using?

More information about the Gnupg-devel mailing list