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

2007-03-31 Thread Nils Larsch
Nils Larsch wrote: 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 c

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] 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 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] bug using opensc on solaris

2007-03-19 Thread Andreas Jellinghaus
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() from curl (bsd licence),

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

2007-03-19 Thread Andreas Jellinghaus
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 suppresses some signals). take a

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

2007-03-19 Thread Nils Larsch
Albert Solana wrote: Hi all, While testing an OpenSC compiled by myself, I've found a strange behaviour when using a smart card with a PIN greater than 8 bytes. Any verify_pin or C_Login function returned Wrong PIN, but I was sure I've entered it correctly. All functionality except from it, wo

[opensc-devel] bug using opensc on solaris

2007-03-19 Thread Albert Solana
Hi all, While testing an OpenSC compiled by myself, I've found a strange behaviour when using a smart card with a PIN greater than 8 bytes. Any verify_pin or C_Login function returned Wrong PIN, but I was sure I've entered it correctly. All functionality except from it, works perfectly. Same sma