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

2009-12-12 Thread Dominik Fischer
Hi everybody, after some more testing I can say that the error was introduced in opensc-0.11.5. After diffing and eliminating files which are obviously not relevant (.svn, README, Makefile, ...) there are still 123 files left with differences. Any hint which files could cause my problem or the ot

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

2009-12-12 Thread Andreas Jellinghaus
Am Samstag 12 Dezember 2009 11:45:19 schrieb Dominik Fischer: > > 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 -sign

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

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

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

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

2009-12-10 Thread Douglas E. Engert
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 an

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

2009-12-09 Thread Dominik Fischer
> 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. Regards, Dominik ctx.c:695:sc_context_create: ===

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

2009-12-09 Thread Andreas Jellinghaus
Am Mittwoch 09 Dezember 2009 13:09:24 schrieb Dominik Fischer: > > 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 Syste

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

2009-12-09 Thread Dominik Fischer
Am Dienstag, den 08.12.2009, 14:49 +0100 schrieb Andreas Jellinghaus: > Am Dienstag 08 Dezember 2009 13:39:29 schrieb Dominik Fischer: > > Why do I think it should work: Under RHEL5 it works with the same card and > > the following software versions: * opensc-0.11.1 > > * ccid-1.0.1 > > * pcsc

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

2009-12-08 Thread Andreas Jellinghaus
Am Dienstag 08 Dezember 2009 13:39:29 schrieb Dominik Fischer: > Why do I think it should work: Under RHEL5 it works with the same card and > the following software versions: * opensc-0.11.1 > * ccid-1.0.1 > * pcsc-lite-1.3.1-7 > > Are there any changes (since these versions) regarding signin