Re: jcop 4 driver --test
Martin Vogt <[email protected]> Thu, 16 Apr 2026 10:59:31 +0200
| Newsgroups | gmane.comp.encryption.opensc.devel |
|---|---|
| Message-ID | <CAOE8yMBesPfUani2CEaQ=1h+dnpM7-AJAGw4B4y2qi2HKmZv9Q@mail.gmail.com> |
--===============0937511577076056586== Content-Type: multipart/alternative; boundary="00000000000096d63f064f900df8" --00000000000096d63f064f900df8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2026 at 10:30=E2=80=AFAM Frank Morgner <frankmorgner@gmail.= com> wrote: > We deliberately removed the bluez card driver (jcop is a misnomer), > because nobody was using or maintining either smart card software or > java card applet as far as we know. I don't know why you want to bring > this back. I assume you would be better off using your JCOP4 with a > (open source) java card applet that is supported by OpenSC. > It's an already initialized card by my employer, because the porting of the old driver was easily done I asked myself if the --test option is known to work flawlessly. I assume this is not the case, for example: The binary only pkcs11 driver for the card segfaults with --test and reports verify errors too, but overall works, so obviously, for the functioning not all tests need to pass. Currently I'm stuck with the MD5-RSA-PKCS test. Here I need padding : https://www.ibm.com/docs/en/linux-on-systems?topic=3Dcryptography-pkcs-1-ha= sh-formats (case MD5) how can I tell opensc that it should be done by opensc? I assume it's some flags (eg: SC_ALGORITHM_RSA_HASH_MD5) but currently I have no luck. best regards, Martin --00000000000096d63f064f900df8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Apr 16,= 2026 at 10:30=E2=80=AFAM Frank Morgner <<a href=3D"mailto:frankmorgner@= gmail.com">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">We deliberately removed the bluez card dri= ver (jcop is a misnomer), <br> because nobody was using or maintining either smart card software or <br> java card applet as far as we know. I don't know why you want to bring = <br> this back. I assume you would be better off using your JCOP4 with a <br> (open source) java card applet that is supported by OpenSC.<br></blockquote= ><div><br></div><div>It's an already initialized card by my employer, b= ecause the porting of the old</div><div>driver was easily done I asked myse= lf if the --test option is known to work flawlessly.</div><div><br></div><d= iv>I assume this is not the case, for example:</div><div><br></div><div>The= binary=C2=A0only pkcs11 driver for the card segfaults with --test and repo= rts verify errors too,</div><div>but overall works, so obviously, for the f= unctioning not all tests need to pass.=C2=A0</div><div><br></div><div>Curre= ntly I'm stuck with the MD5-RSA-PKCS test. Here I need padding :</div><= div><br></div><div><a href=3D"https://www.ibm.com/docs/en/linux-on-systems?= topic=3Dcryptography-pkcs-1-hash-formats">https://www.ibm.com/docs/en/linux= -on-systems?topic=3Dcryptography-pkcs-1-hash-formats</a></div><div><br></di= v><div>(case MD5) how can I tell opensc that it should be done by opensc?</= div><div>I assume it's some flags (eg:=C2=A0SC_ALGORITHM_RSA_HASH_MD5) = but currently I have no luck.</div><div><br></div><div>best regards,</div><= div><br></div><div>Martin</div></div></div> --00000000000096d63f064f900df8-- --===============0937511577076056586== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0937511577076056586== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Opensc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensc-devel --===============0937511577076056586==--