[opensc-devel] sign_data in PKCS11-tool

2008-12-03 Thread Rickard Bondesson
ject.org > Ämne: Re: [opensc-devel] sign_data in PKCS11-tool > > Rickard Bondesson wrote: > > Perhaps use a similar solution as in the signature testing code? > > Can you help with a patch? > > > //Peter > pkcs11-tool.patch Description:

Re: [opensc-devel] sign_data in PKCS11-tool

2008-12-02 Thread Peter Stuge
Rickard Bondesson wrote: > Perhaps use a similar solution as in the signature testing code? Can you help with a patch? //Peter pgp3l6ntDszms.pgp Description: PGP signature ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www

[opensc-devel] sign_data in PKCS11-tool

2008-11-28 Thread Rickard Bondesson
Shouldn't you have a different signing procedure when using the CKM_RSA_PKCS mechanism? http://www.opensc-project.org/opensc/browser/trunk/src/tools/pkcs11-tool.c#L927 CKM_RSA_PKCS only support single-part signatures, thus only the C_Sign and not C_SignUpdate/C_SignFinal. This also applies to s