Re: [opensc-devel] out of memory?

2007-04-20 Thread Heiko Knospe
can you please run the full regression suite? (run-all) and which compiler / gcc version are you using? it seems with gcc 3.4 I don't have this problem, but a new problem in crypt0001 shows up (in pkcs11-tool --test step - very strange). I'm trying to find the last version where everything wor

Re: [opensc-devel] out of memory?

2007-04-19 Thread Heiko Knospe
cardos and cryptoflex with crypto001 test script in test/regressions. happends always. I guess all cards are affected? can anyone run the test suite with any card without errors? Well, crypt0001 runs successfully on my system with cryptoflex cards. it might be a 64bit issue, I could only te

Re: [opensc-devel] opensc-0.11.1-svn-r3119 breaks cryptoflex e-gate

2007-02-14 Thread Heiko Knospe
Hi, I can confirm the problem with cryptoflex RSA 2048 bit keys. With 1024 bit keys, it works fine. I also considered the recommendation in the opensc FAQ to set max_send_size and max_recv_size to a lower value (240), but the problem persists. By the way, regarding the "Security status not sa

Re: [opensc-devel] ATR masking bug prevents detection of certain Cryptoflex cards; Patch attached

2007-01-08 Thread Heiko Knospe
Ok, it is probably a good idea to mask both values before comparing. Although, for network addresses one would usually put zeroes in the subnet address, e.g. 192.168.1.0 netmask 255.255.255.0 ... I tested your patch successfully with one modification: ctx needs to be inserted in the sc_error f

[opensc-devel] ATR masking bug prevents detection of certain Cryptoflex cards; Patch attached

2007-01-07 Thread Heiko Knospe
Hello, my (actually fully supported) Cryptoflex 32K v4 card is not detected because of a bug with ATR masking: card.c:188:sc_connect_card: trying driver: flex card.c:746:match_atr_table: ATR : 3b:95:18:40:ff:64:02:01:01:02 card.c:754:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00