Dominik Fischer wrote:
>> do you still have that RHEL5 machine? if you had a debug log from it too,
>> that could help in seeing what changed. the interesting parts start with
>> the first "C_Sign" line.
> 
> Here comes the debug-output from my RHEL5 System.


Without the original command line and the APDUs in the trace,
its hard to tell what is going on. Can you set the debug >= 6?

It looks like you are sending "foobar\n" as the data to be signed.

"framework-pkcs15.c:1933:pkcs15_prkey_sign: Selected flags 12. Now computing 
signature for 7 bytes. 512 bytes reserved."

says the flags are RSA_PAD_PKCS1 and RSA_HASH_NONE
So this trace look like you used -m RSA_PKCS1.

Normally the hash of data is signed, not the data itself, as  RAW RSA
has limits on the length of the data.

> 
> Regards,
> Dominik
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to