[opensc-devel] [pam_pkcs11] improved error messages

2011-03-20 Thread Dominik Fischer
Hello Ludovic, here my next patch (this time a big one). It adds displaying error messages to the user via pam_prompt. Because in GDM the messages disappear so quick, I've added a new option "err_display_time". After a message is shown with pam_prompt, a "sleep(err_display_time)" is called. This

Re: [opensc-devel] [pam_pkcs11] pwent_mapper_find_user

2011-03-20 Thread Ludovic Rousseau
2011/3/20 Dominik Fischer : > Hi Ludovic, > > sorry to bother you again... I've forgotten one line in my patch :-/ > Could you please also add the included patch? Done in revision 490. > Just to let you know: I've another patch pending. This will add > more error messages presented to  the users.

Re: [opensc-devel] [pam_pkcs11] pwent_mapper_find_user

2011-03-20 Thread Dominik Fischer
Hi Ludovic, sorry to bother you again... I've forgotten one line in my patch :-/ Could you please also add the included patch? Just to let you know: I've another patch pending. This will add more error messages presented to the users. We have this working for a long time and it really improved

[opensc-devel] Fwd: a little love for opensc-explorer.c

2011-03-20 Thread Peter Marschall
Hi, please find attached a few patches for opensc-explorer.c * 0001-opensc-explorer-support-writing-to-stdout-in-get.patch new feature: use filename '-' as an indicator tow write to stdout in 'get' * 0002-opensc-explorer-re-factor-print_file.patch re-factor: simplify code * 0003-opensc-expl

Re: [opensc-devel] [pam_pkcs11] pwent_mapper_find_user

2011-03-20 Thread Ludovic Rousseau
2011/3/19 Dominik Fischer : > Hello! > > pwent_mapper_find_user() searches through all available passwd db entries to > find an user. > This takes a very long time, if you have many users (1). Additionally, if > you have nss-ldap > configured, it transfers a large amount of data (which is exp

[opensc-devel] fixes for a few glitches in card-opengpg.c

2011-03-20 Thread Peter Marschall
Hi, this is my first post to the list, so please bear with me, if I do not follow the "standard procedure" for sending in patches. Please find attached a few patches to src/libopensc/card-openpgp.c * 0001-OpenPGP-fix-top-level-DOs-according-to-spec.patch align the list of top-level data object

Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-20 Thread Viktor TARASOV
On 17.03.2011 16:14, Felipe Blauth wrote: > Hello everyone, > > Currently, I'm having some trouble with usage of starcos spk 2.4 cards and > opensc. I used to have no problem, and I don't know where exactly the problem > is. > > Here what's happening: > I have an aplicattion that use's pkcs15-ini