Bad signature when generating key in OpenPGP Java Card Applet
NIIBE Yutaka
gniibe at fsij.org
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:
002A9E9A20265A93D234241BD20BF0773B6011FD037CBE8B985D487116DC08E6914F38DBD100
I mean, scdaemon removes the prefix (which specifies the hash algo)
3031300D060960864801650304020105000420
before sending card.
What version of scdaemon are you using?
--
More information about the Gnupg-devel
mailing list