Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Andreas Jellinghaus
Am Freitag 11 Dezember 2009 17:20:04 schrieb Douglas E. Engert: > Andreas Jellinghaus wrote: > > running these commands would still help: > >>> openssl dgst -md5 -binary -out digest_file < message_file > >>> pkcs15-crypt -s --md5 --pkcs1 -i digest_file -o signature_file > >>> openssl dgst -verify p

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Douglas E. Engert
Andreas Jellinghaus wrote: > running these commands would still help: >>> openssl dgst -md5 -binary -out digest_file < message_file >>> pkcs15-crypt -s --md5 --pkcs1 -i digest_file -o signature_file >>> openssl dgst -verify public_key_file -md5 -signature signature_file \ >>> < message_file >

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Andreas Jellinghaus
running these commands would still help: > > openssl dgst -md5 -binary -out digest_file < message_file > > pkcs15-crypt -s --md5 --pkcs1 -i digest_file -o signature_file > > openssl dgst -verify public_key_file -md5 -signature signature_file \ > > < message_file pkcs15-crypt is a mid-level com

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Martin Paljak
Can you please also send clean opensc-debug log files with the same operation on the two different systems? On 11.12.2009, at 14:36, Dominik Fischer wrote: >> I've narrowed the error: >> * Installed a fresh Ubuntu Jaunty >> * Upgrade the follwing packages to karmic versions: >> * linux-kernel

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Dominik Fischer
> I've narrowed the error: > * Installed a fresh Ubuntu Jaunty > * Upgrade the follwing packages to karmic versions: >* linux-kernel >* libccid >* libpcsclite1 / pcscd > > Until here all went fine: "pkcs11-tool -l -t" shows no error. > > After I've updated libopensc2 from version 0.11

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Dominik Fischer
I've narrowed the error: * Installed a fresh Ubuntu Jaunty * Upgrade the follwing packages to karmic versions: * linux-kernel * libccid * libpcsclite1 / pcscd Until here all went fine: "pkcs11-tool -l -t" shows no error. After I've updated libopensc2 from version 0.11.4-5ubuntu1 to versi

Re: [opensc-devel] PKCS11 signing does not work on Ubuntu

2009-12-11 Thread Dominik Fischer
> 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