[opensc-devel] ASN.1 encoding of tagged CHOICE

2010-10-25 Thread Andre Zepezauer
Hello, anyone with good knowledge of ASN.1 out there? The point is, that in my opinion the current encoding of TokenInfo.lastUpdate is wrong. It is of type CHOICE and therefore EXPLICIT tagging has to be used. CHOICE is always tagged EXPLICIT. Correct? DEFINITIONS IMPLICIT TAGS ::= TokenInfo ::=

Re: [opensc-devel] pkcs11-tool.c

2010-10-25 Thread Andre Zepezauer
Hello, On Tue, 2010-10-26 at 01:05 +0100, Mr Dash Four wrote: > Is it possible to have an option (say, "--display-no-prompt" or "-nd" > for short) where pkcs11-tool does NOT display any kind of user prompt, > like "Please enter User PIN:"? > > The reason I am asking this is because if I want to

[opensc-devel] pkcs11-tool.c

2010-10-25 Thread Mr Dash Four
Is it possible to have an option (say, "--display-no-prompt" or "-nd" for short) where pkcs11-tool does NOT display any kind of user prompt, like "Please enter User PIN:"? The reason I am asking this is because if I want to pipe the output of pkcs11-tool and rely on stdout the above prompt will

[opensc-devel] Commit r4828 of additional changes needed for r4805

2010-10-25 Thread Douglas E. Engert
Andre Zepezauer sent me via private mail changes to pkcs15-tool, cardmod.c, pkcs15-pubkey.c and pkcs15-westcos.c to fix references additional references to the pubkey contained in a certificate. r4805 changed this from the pubkey being contained in the cert, to being a pointer to a separate pubkey

Re: [opensc-devel] pkcs11-tool-lite - stripped down version of pkcs11-tool

2010-10-25 Thread Peter Stuge
Mr Dash Four wrote: >>> I already tested pcsc-lite-libs+OpenCT+OpenSC >> >> Why do you need pcsc-lite-libs? > > Spotters badge! > > Executing "rpm -qRp" on the newly-built package gives me > "pcsc-lite-libs(x86-64)" so, naturally, I assumed that was needed (the > package contains two .so files, s

Re: [opensc-devel] pkcs11-tool-lite - stripped down version of pkcs11-tool

2010-10-25 Thread Mr Dash Four
> In the next few days I will build the scripts for installing all files > and automatically build initrd/initramfs and then will be in a > position to test it. As I pointed out above I already tested > pcsc-lite-libs+OpenCT+OpenSC (without anything else) and it works to > absolute perfection,

Re: [opensc-devel] pam_pkcs11

2010-10-25 Thread Andre Zepezauer
Hello Ludovic, On Tue, 2010-10-19 at 16:53 +0200, Ludovic Rousseau wrote: > 2010/10/19 Andre Zepezauer : > > Hello Ludovic, > > > > currently the mapper modules are unloaded only on authentication > > failure. This patch let them unload on success too. > > Fixed in revision 465. > > Andre, do yo

Re: [opensc-devel] pam pkcs11: Broken logic of --with-pcsclite

2010-10-25 Thread Ludovic Rousseau
2010/10/25 Arfrever Frehtes Taifersar Arahesis : > 2010-10-25 10:47:51 Ludovic Rousseau napisał(a): >> 2010/10/24 Arfrever Frehtes Taifersar Arahesis : >> > `./configure --with-pcsclite` disables support for PCSC-Lite. >> > This problem can be fixed by making [ with_pcsclite=no ] fourth argument >

Re: [opensc-devel] pam pkcs11: Broken logic of --with-pcsclite

2010-10-25 Thread Arfrever Frehtes Taifersar Arahesis
2010-10-25 10:47:51 Ludovic Rousseau napisał(a): > 2010/10/24 Arfrever Frehtes Taifersar Arahesis : > > `./configure --with-pcsclite` disables support for PCSC-Lite. > > This problem can be fixed by making [ with_pcsclite=no ] fourth argument of > > AC_ARG_WITH (with > > empty third argument), or

Re: [opensc-devel] pam pkcs11: Broken logic of --with-pcsclite

2010-10-25 Thread Ludovic Rousseau
2010/10/24 Arfrever Frehtes Taifersar Arahesis : > `./configure --with-pcsclite` disables support for PCSC-Lite. > This problem can be fixed by making [ with_pcsclite=no ] fourth argument of > AC_ARG_WITH (with > empty third argument), or by removing it. Fixed in revision 470 Thanks --  Dr. Lud