OpenPGP Card useing sha256 failed !!

Po-Wen Chi pwchi at pwchi.info
Sat Sep 17 17:34:14 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a OpenPGP Card.
I have already produced key pear on this card .
But go wrong when I will sign with this card.
If using SHA-1 will be carried out normally.
But if appoint to use SHA-256 , will present wrong information .
The following is course and information operated.

Excuse me, who can tell me what the matter is?

very thanks.

== SHA-1 OK! ==
cmd> gpg --digest-algo sha1 -u 4a7d9528 --clearsign a.txt
gpg: detected reader `CASTLES EZ100PU 0'
gpg: signatures created so far: 6

Please enter the PIN
[sigs done: 6]


== SHA-256 failed ==
cmd> gpg --digest-algo sha256 -u 4a7d9528 --clearsign a.txt
gpg: detected reader `CASTLES EZ100PU 0'
gpg: signing failed: invalid argument
gpg: a.txt: clearsign failed: invalid argument
- --
This E-mail use UTF-8 character code
Po-Wen Chi(紀博文) <http://www.pwchi.info/>
一個自信、勇敢、熱誠的男子漢。
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQyw3dBxtAEOvczphAQJArgQAiyySQG9RieyoyJBiB6JX3O8IDa8sTxyj
yF0dWnBQ+shY+/34MVumFMYuYfHhMsFtPc+hi1s3TUIf4A8udA2uukCCCyPhNnE5
BgllSPAjoqMKmeQXccD50a6RUNXZlqg+Bv1xgsVcihB6DAQXS/b6tUyC1+tYVaG1
48TXAMe2ys4=
=m3Re
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list