Re: [opensc-devel] Cryptoflex unsupprted?

2011-01-12 Thread Andre Zepezauer
On Wed, 2011-01-12 at 11:44 +0100, François Schauber wrote:
> D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe -i
> opensc 0.12.0 [gcc  4.4.4]
> Enabled features: zlib openssl pcsc(winscard.dll)
> 
> I added the lines in the opensc.conf but it's not enough, i assume
> it's necessary to add the lines to treat the APDU treatment specific
> to this Cryptoflex card.

The given configuration should be sufficient to attach the Cryptoflex
driver to your card. I have tested it locally and had successfully
attached Cryptoflex driver to OpenPGP card:

card_atr 3B:FA:13:00:FF:81:31:80:45:00:31:C1:73:C0:01:00:00:90:00:B1 {
name = "Unknown Cyberflex";
driver = "flex";
}

Please provide debug logs. 'export OPENSC_DEBUG=9'


> 2011/1/12 Andre Zepezauer 
> Hello,
> 
> 
> On Wed, 2011-01-12 at 10:53 +0100, François Schauber wrote:
> > Hi,
> >
> > I just discovered OpenSC. I try to read my card, a
> Cryptoflex, but it
> > seems unsupported.
> >
> > D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe
> --reader 0 -a
> > 3b:95:18:40:14:64:02:01:01:02
> >
> > D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe
> --reader 0
> > --name
> > Unsupported card
> >
> > Are all the card drivers included in OpenSC or we can
> download it
> > somewhere?
> 
> 
> All drivers are included. But it's possible to re-configure a
> specific
> driver to serve your card too. In your case, you have to add
> the
> following lines to /etc/opensc.conf:
> 
> card_atr 3b:95:18:40:14:64:02:01:01:02 {
>name = "Unknown-Cryptoflex";
>driver = "flex";
> }
> 
> Which version are you running? 'opensc-tool -i'
> 
> Regards
> Andre
> 
> 

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Cryptoflex unsupprted?

2011-01-12 Thread François Schauber
D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe -i
opensc 0.12.0 [gcc  4.4.4]
Enabled features: zlib openssl pcsc(winscard.dll)

I added the lines in the opensc.conf but it's not enough, i assume it's
necessary to add the lines to treat the APDU treatment specific to this
Cryptoflex card.

2011/1/12 Andre Zepezauer 

> Hello,
>
> On Wed, 2011-01-12 at 10:53 +0100, François Schauber wrote:
> > Hi,
> >
> > I just discovered OpenSC. I try to read my card, a Cryptoflex, but it
> > seems unsupported.
> >
> > D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 -a
> > 3b:95:18:40:14:64:02:01:01:02
> >
> > D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0
> > --name
> > Unsupported card
> >
> > Are all the card drivers included in OpenSC or we can download it
> > somewhere?
>
> All drivers are included. But it's possible to re-configure a specific
> driver to serve your card too. In your case, you have to add the
> following lines to /etc/opensc.conf:
>
> card_atr 3b:95:18:40:14:64:02:01:01:02 {
>name = "Unknown-Cryptoflex";
>driver = "flex";
> }
>
> Which version are you running? 'opensc-tool -i'
>
> Regards
> Andre
>
>
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Cryptoflex unsupprted?

2011-01-12 Thread Andre Zepezauer
Hello,

On Wed, 2011-01-12 at 10:53 +0100, François Schauber wrote:
> Hi,
> 
> I just discovered OpenSC. I try to read my card, a Cryptoflex, but it
> seems unsupported.
> 
> D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 -a
> 3b:95:18:40:14:64:02:01:01:02
> 
> D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0
> --name
> Unsupported card
> 
> Are all the card drivers included in OpenSC or we can download it
> somewhere?

All drivers are included. But it's possible to re-configure a specific
driver to serve your card too. In your case, you have to add the
following lines to /etc/opensc.conf:

card_atr 3b:95:18:40:14:64:02:01:01:02 {
name = "Unknown-Cryptoflex";
driver = "flex";
}

Which version are you running? 'opensc-tool -i'

Regards
Andre

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Cryptoflex unsupprted?

2011-01-12 Thread Martin Paljak
Hello,

On Jan 12, 2011, at 11:53 AM, François Schauber wrote:

> Hi,
> 
> I just discovered OpenSC. I try to read my card, a Cryptoflex, but it seems 
> unsupported.
> 
> D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 -a
> 3b:95:18:40:14:64:02:01:01:02
This seems like an unknown card [1]



> 
> D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 --name
> Unsupported card
> 
> Are all the card drivers included in OpenSC or we can download it somewhere?
All are included by default.

Try forcing the driver as instructed in opensc.conf or add the ATR to the 
src/libopensc/card-flex.c file yourself.


[1] http://smartcard-atr.appspot.com/parse?ATR=3B951840146402010102

-- 
@MartinPaljak.net
+3725156495

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


[opensc-devel] Cryptoflex unsupprted?

2011-01-12 Thread François Schauber
Hi,

I just discovered OpenSC. I try to read my card, a Cryptoflex, but it seems
unsupported.

D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 -a
3b:95:18:40:14:64:02:01:01:02

D:\Program Files\OpenSC Project\OpenSC>opensc-tool.exe --reader 0 --name
Unsupported card

Are all the card drivers included in OpenSC or we can download it somewhere?

Thx,
François
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel