OpenPGP Card useing sha256 failed !!

Po-Wen Chi pwchi at pwchi.info
Tue Sep 20 14:28:15 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

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

iQCVAwUBQzAAXRxtAEOvczphAQNnFAQAwZl19X4FUkjIzmL0YeHveqoFNj5dmJJw
BKbA1uwsu0YRIC5QtI7iptwvI8c1rbeoVs7l2elsU/GfFob35+g3oiRL9ehj55Wm
L65O0FIfhC8Egac2K2yzGcOVwUbQqJynlJd4fqIjUzcCUArlgo26VrfSfRk1shGB
h7BaFEUkLig=
=JL3H
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list