On Thu, May 3, 2012 at 12:38 PM, Nguyễn Hồng Quân <quanngu...@mbm.vn> wrote:
> Hi, > I would like to resend the gzipped log file: > Effectively, there is an insufficient control of the pkcs15/11 object validity in the common part. In more details I will look during the weekend, but, I guess that you have to review the openpgp card driver (card-openpgp.c) . According to logs, it tries to read the file blob inside the pgp_select(), fails, but nevertheless the pgp_select returns SUCCESS . Is it wanted behavior? The returned selected file has zero length, binary read of zero bytes returns SUCCESS (with zero length it do not even try to access the card). and finally there is a valid public key object with zero length modulus. > > On Thu 03 May 2012 05:35:53 PM ICT, Nguyễn Hồng Quân wrote: > > Hi, > > Here is the log (debug level 8) > > > > > > On Thu 03 May 2012 03:36:07 PM ICT, Nguyễn Hồng Quân wrote: > >> Hello every one, > >> > >> I've just committed a patch to fix a crash of opensc-pkcs11 when I > >> tested with CryptoStick. > >> Please review: https://github.com/OpenSC/OpenSC/pull/31 > >> > > > > -- > > Regards, > > Quân > > -- > Regards, > Quân > > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel >
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel