Re: [opensc-devel] bug using opensc on solaris

2007-03-20 Thread Albert Solana
On Tue, 2007-03-20 at 08:36 +0100, Andreas Jellinghaus wrote: > Am Montag, 19. März 2007 23:30 schrieb Nils Larsch: > > well, which platforms actually have a getpassphrase() function ? > > Perhaps it's time to replace getpass() with something own > > (getpass() isn't really nice anyway as it suppre

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Douglas E. Engert
Changing the size for 0.11.2 may not be a good idea. It might cause problems with to many existing cards. Maybe it should be held off until 0.11.3 after each card is examined for its own limit and a way to get the limit for the reader from PCSC and OpenCT is also added. The opensc.conf file can

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Martin Paljak
On 20.03.2007, at 18:31, Douglas E. Engert wrote: Changing the size for 0.11.2 may not be a good idea. It might cause problems with to many existing cards. Maybe it should be held off until 0.11.3 after each card is examined for its own limit and a way to get the limit for the reader from PCSC

Re: [opensc-devel] bug using opensc on solaris

2007-03-20 Thread Nils Larsch
Andreas Jellinghaus wrote: Am Montag, 19. März 2007 23:30 schrieb Nils Larsch: well, which platforms actually have a getpassphrase() function ? Perhaps it's time to replace getpass() with something own (getpass() isn't really nice anyway as it suppresses some signals). we could use getpass_r()

Re: [opensc-devel] bug using opensc on solaris

2007-03-20 Thread Nils Larsch
Andreas Jellinghaus wrote: Am Montag, 19. März 2007 23:30 schrieb Nils Larsch: well, which platforms actually have a getpassphrase() function ? linux and solaris have it, hpux doesn't. Perhaps it's time to replace getpass() with something own (getpass() isn't really nice anyway as it suppress

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Chaskiel M Grundman
--On Tuesday, March 20, 2007 08:23:32 AM +0100 Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: that would break some cards again, i I suppose it would help if I read code out of the correct sandbox I think if I had written the piv stuff I would have maintained the abstraction and done fr

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Douglas E. Engert
Chaskiel M Grundman wrote: --On Tuesday, March 20, 2007 08:23:32 AM +0100 Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: that would break some cards again, i I suppose it would help if I read code out of the correct sandbox I think if I had written the piv stuff I would have maintaine

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Chaskiel M Grundman
--On Tuesday, March 20, 2007 08:23:32 AM +0100 Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: what about code like this in card-flex.c: The error did not occur in card specific code. You cannot send a short apdu with lc == 256 to any card. sc_update_binary() uses card->max_send_size to cap

Re: [opensc-devel] release candidate 1 for 0.11.2

2007-03-20 Thread Nils Larsch
Douglas E. Engert wrote: ... grep serial_number * shows {most|all} the cards set something for pkcs15->serial_number, even if its "" Is this a PKCS15 requirement to have a serial number? the card serial number is not optional in pkcs15 Nils ___

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Douglas E. Engert
Chaskiel M Grundman wrote: --On Tuesday, March 20, 2007 08:23:32 AM +0100 Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: what about code like this in card-flex.c: The error did not occur in card specific code. You cannot send a short apdu with lc == 256 to any card. Yes I agree with the

Re: [opensc-devel] release candidate 1 for 0.11.2

2007-03-20 Thread Andreas Jellinghaus
Am Dienstag, 20. März 2007 21:06 schrieb Nils Larsch: > Douglas E. Engert wrote: > ... > > > grep serial_number * shows {most|all} the cards set something for > > pkcs15->serial_number, even if its "" Is this a PKCS15 > > requirement to have a serial number? > > the card serial number is not

Re: [opensc-devel] new pre release for 0.11.2 available

2007-03-20 Thread Ludovic Rousseau
On 20/03/07, Douglas E. Engert <[EMAIL PROTECTED]> wrote: Maybe it should be held off until 0.11.3 after each card is examined for its own limit and a way to get the limit for the reader from PCSC and OpenCT is also added. I tried to send an APDU of 255+5=260 bytes to a SCR331 reader and it wor