Re: [opensc-devel] Changeset 5558 in opensc

2011-06-09 Thread Andre Zepezauer
On Wed, 2011-06-08 at 16:35 +0200, Jean-Pierre Szikora wrote: > On 06/08/2011 03:50 PM, Andre Zepezauer wrote: > > On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: > >> On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > >>> Hello Jean-Pierre, > >>> > >>> SC_PKCS15_PIN_FLAG_VERIFY_RC_COUN

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Andre Zepezauer
On Wed, 2011-06-08 at 17:31 +0200, Andre Zepezauer wrote: > On Wed, 2011-06-08 at 17:45 +0300, Martin Paljak wrote: > > Hello, > > > > > > On Wed, Jun 8, 2011 at 17:37, Andre Zepezauer > > wrote: > > >> More elegant indeed. Some nice documentation about the real meaning of > > >> the flag would

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Andre Zepezauer
On Wed, 2011-06-08 at 17:45 +0300, Martin Paljak wrote: > Hello, > > > On Wed, Jun 8, 2011 at 17:37, Andre Zepezauer > wrote: > >> More elegant indeed. Some nice documentation about the real meaning of the > >> flag would also be nice. "most cards do almost ISO" to support pinpads. > >> But not

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Viktor Tarasov
Le 08/06/2011 16:41, Andre Zepezauer a écrit : > On Wed, 2011-06-08 at 16:35 +0200, Jean-Pierre Szikora wrote: >> On 06/08/2011 03:50 PM, Andre Zepezauer wrote: >>> On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > Hello Jean-Pie

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Jean-Pierre Szikora
On 06/08/2011 04:41 PM, Andre Zepezauer wrote: > On Wed, 2011-06-08 at 16:35 +0200, Jean-Pierre Szikora wrote: >> On 06/08/2011 03:50 PM, Andre Zepezauer wrote: >>> On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > Hello Jean-Pie

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Martin Paljak
Hello, On Wed, Jun 8, 2011 at 17:37, Andre Zepezauer wrote: >> More elegant indeed. Some nice documentation about the real meaning of the >> flag would also be nice. "most cards do almost ISO" to support pinpads. >> But not all support the status query... > > Maybe I'm wrong, but IMO Viktor had

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Andre Zepezauer
On Wed, 2011-06-08 at 16:35 +0200, Jean-Pierre Szikora wrote: > On 06/08/2011 03:50 PM, Andre Zepezauer wrote: > > On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: > >> On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > >>> Hello Jean-Pierre, > >>> > >>> SC_PKCS15_PIN_FLAG_VERIFY_RC_COUN

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Andre Zepezauer
On Wed, 2011-06-08 at 17:01 +0300, Martin Paljak wrote: > Hello, > On Jun 8, 2011, at 16:50 , Andre Zepezauer wrote: > > > On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: > >> On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > >>> Hello Jean-Pierre, > >>> > >>> SC_PKCS15_PIN_FLAG_VERI

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Jean-Pierre Szikora
On 06/08/2011 03:50 PM, Andre Zepezauer wrote: > On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: >> On 06/07/2011 03:17 PM, Andre Zepezauer wrote: >>> Hello Jean-Pierre, >>> >>> SC_PKCS15_PIN_FLAG_VERIFY_RC_COUNTER doesn't correspond to any flag >>> defined in PKCS#15. Furthermore, th

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Martin Paljak
On Jun 8, 2011, at 17:01 , Martin Paljak wrote: > > Some nice documentation about the real meaning of the flag would also be > nice. "most cards do almost ISO" to support pinpads. But not all support the > status query... This is important to stop the flags from spreading unintentionally to fut

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Martin Paljak
Hello, On Jun 8, 2011, at 16:50 , Andre Zepezauer wrote: > On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: >> On 06/07/2011 03:17 PM, Andre Zepezauer wrote: >>> Hello Jean-Pierre, >>> >>> SC_PKCS15_PIN_FLAG_VERIFY_RC_COUNTER doesn't correspond to any flag >>> defined in PKCS#15. Fur

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Andre Zepezauer
On Wed, 2011-06-08 at 11:50 +0200, Jean-Pierre Szikora wrote: > On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > > Hello Jean-Pierre, > > > > SC_PKCS15_PIN_FLAG_VERIFY_RC_COUNTER doesn't correspond to any flag > > defined in PKCS#15. Furthermore, the capability to modify the return > > code of the

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-08 Thread Jean-Pierre Szikora
On 06/07/2011 03:17 PM, Andre Zepezauer wrote: > Hello Jean-Pierre, > > SC_PKCS15_PIN_FLAG_VERIFY_RC_COUNTER doesn't correspond to any flag > defined in PKCS#15. Furthermore, the capability to modify the return > code of the VERIFY command is not specific to PKCS#15. > > Why not using a different a

Re: [opensc-devel] Changeset 5558 in opensc

2011-06-07 Thread Jean-Pierre Szikora
Hi Andre, You're right. My first idea is set this verifyRC feature through the cardos.profile file. But by checking for the package installation, we don't even need for a switch. I will revert this patch tomorrow. Cheers, Jean-Pierre Le 7 juin 2011 à 15:17, Andre Zepezauer a écrit : > Hello

[opensc-devel] Changeset 5558 in opensc

2011-06-07 Thread Andre Zepezauer
Hello Jean-Pierre, SC_PKCS15_PIN_FLAG_VERIFY_RC_COUNTER doesn't correspond to any flag defined in PKCS#15. Furthermore, the capability to modify the return code of the VERIFY command is not specific to PKCS#15. Why not using a different approach? In example it's possible to detect the installed p