Re: [opensc-devel] Aladdin 64K 4.2B tokens and OpenSC 0.12.2 Aladdin tokens no longer working?

2011-09-06 Thread Thomas De Reyck
Hello,

This seems very similar to what I was experiencing with my SmartCafe cards, 
however, I haven't found a solution yet either… Perhaps the card detection is 
broken for more than one card?

Kind regards,
Thomas

On 6-sep.-2011, at 18:54, Dan Peterson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 I have not been able to get this message to get posted to the users list so
 I thought I might post it here.
 Sorry if I am double posting
 
 - -
 
 I have been using the aladden Etokens for some time now 2-3 yrs.
 I have an older version of opensc (files are dated March 4th 2010) installed
 on a windows 7 system and it works great I am doing things like:
 
 I recently installed the latest opensc for windows 0.12.2 However; I am not
 able to create a pkcs15 container anymore (possibly other things as well but
 I have not gotten there yet.)
 
 With the 0.12.2 code when I do: 
 C:\Program Files\OpenSC Project\OpenSC\toolspkcs15-init --create-pkcs15
 - --use-default-transport-key Using reader with a card: AKS ifdh 0 Failed to
 read PIN: Not supported Failed to create PKCS #15 meta structure: Generic
 PKCS#15 initialization error 
 
 C:\Program Files\OpenSC Project\OpenSC\tools
 
 With 0.11.3 code:
 C:\Apps\opensc\binpkcs15-init --create-pkcs15 --use-default-transport-key
 Using reader with a card: AKS ifdh 0 New Security Officer PIN (Optional -
 press return for no PIN).
 Please enter Security Officer PIN:
 Please type again to verify:
 Unblock Code for New User PIN (Optional - press return for no PIN).
 Please enter User unblocking PIN (PUK):
 Please type again to verify:
 
 C:\Apps\opensc\bin
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: PGP Desktop 10.1.2 (Build 9)
 Charset: us-ascii
 
 wj8DBQFOZlA+5chTNtilRz8RAu4qAKCvXEp9kS49A9L3vCjy9iRct7czYwCbBMAb
 wamcmbryzbQ/HyS3QOzoJdc=
 =9TOn
 -END PGP SIGNATURE-
 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel

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


Re: [opensc-devel] SmartCafe Expert 3.2 72K works fine in some versions but is an unsupported card in other versions.

2011-08-18 Thread Thomas De Reyck
Dear OpenSC developers,

I am still experiencing the problem described in my previous e-mails.
I'm still hoping that perhaps
any of you might know the answer to this issue. I will summarize and
try to further clarify the problem:

I have:
- a smartcard: Muscle Applet on a SmartCafe Expert 3.2 72K
(3b:f7:18:00:00:80:31:fe:45:73:66:74:65:2d:6e:66:c4)
- a card reader: OmniKey CardMan 3121

I run the following command: pkcs15-tool -D

- Scenario 1: On Debian Squeeze Linux (opensc from debian repository):
Works perfectly.

- Scenario 2: On Mac OS X, with latest versions of opensc: Doesn't
work: Unsupported Card error (see failure.txt in attachment for debug
info)
However, in about one in a hundred tries (disconnect/reconnect
reader), it suddenly works (see success.txt in attachment for debug
info)
(even with tokend), but then after a disconnect it stops working.

- Scenario 3: On Mac OS X, with SCA-0.2.8: Command works, but tokend
doesn't, probably because SCA being too old to work with recent
versions of tokend.
Because of this, it doesn't really provide complete support since the
Smart Card does not appear in the keychain.

- Scenario 4: On Windows, with latest versions of opensc: Doesn't
work: Unsupported Card error
This is not yet relevant for me now, just thought I should mention
that it doesn't work in Windows either.

To resolve the problem, I have tried:
- Forcing the driver to muscle. - No success.
- Adding the ATR of the card to the config. - No success.

Does the above make sense to someone on this mailing list? I can't
seem to find a way to resolve this issue.
Any help, hint or suggestion would be very much appreciated.

Thanks in advance,
Thomas De Reyck





2011/8/12 Thomas De Reyck tho...@dereyck.eu:
 Dear OpenSC developers,

 I used the opensc config file to force the driver to muscle on this
 new version, and I could read a smartcard
 one time. Afterwards, I unplugged it, replugged, but it will not work
 again, not even after restarting pcscd.

 I have included the debug log from a pkcs15-tool -D from the
 successful attempt, so it can be compared with the unsuccessful
 log I've sent in earlier.

 I don't think me forcing the muscle driver has actually been the cause
 of making it work once. Just got lucky this time I guess.
 If anyone has any clue as what might have triggered this, please let me know.

 Also, has anyone noticed that using opensc-tool --list-drivers
 displays the muscle driver twice? Is this normal? An example is
 also included at the bottom of the attached log.

 Thanks in advance,
 Thomas

 2011/8/7 Thomas De Reyck tho...@dereyck.eu:
 Dear OpenSC developers,

 Last month I've sent the below message to the opensc-user mailing list.
 However, the lack of a response suggests that no other user is aware of
 a solution to this problem. I am wondering if someone on this developer
 mailing list can perhaps have a look. If this is not the purpose of this
 mailing list, then I apologize.

 Either way, thank you in advance for having a look.

 Kind regards,
 Thomas De Reyck

  Original Message 
 Subject: SmartCafe Expert 3.2 72K works fine in some versions but is an
 unsupported card in other versions.
 Date: Tue, 12 Jul 2011 17:36:24 +0200
 From: Thomas De Reyck tho...@dereyck.eu
 To: opensc-u...@lists.opensc-project.org

 Dear OpenSC users,

 I was wondering if any of you could assist me with the following:

 I have been able to set up the Muscle Applet on a SmartCafe Expert 3.2
 72K smartcard. My original
 experimentation was performed on a Debian Squeeze system, with the
 OpenSC provided by Debian.
 The OpenSC version used is: 0.11.13 (according to opensc-tool)

 However, an important aspect for this project, is having the smart
 card work on Mac OS X 10.6 as well. But
 here I have found the following issues:

 - Using the latest version of OpenSC for Mac: 0.12.1
  - Source:
 http://www.opensc-project.org/files/opensc/OpenSC-0.12.1-10.6.dmg
  - Installation works fine, however, when I try to work with the
 card, it is unsupported:

 pkcs15-tool -D
 Using reader with a card: OmniKey CardMan 3121 00 00
 PKCS#15 binding failed: Unsupported card

  - Can read ATR from opensc-tool.
  - PKCS#11 module doesn't work.
  - OpenSC.tokend doesn't work either.


 - Using the latest SCA deprecated version: SCA-0.2.8
  - Source: http://www.opensc-project.org/files/sca/sca-0.2.8.dmg
  - Installation works fine.
  - pkcs15-tool -D works fine.
  - Can read ATR from opensc-tool.
  - Tokend works on 32-bit based systems, but does not work on 64-bit
 systems. Probably normal, since this is a deprecated version.
  - PKCS#11 module works fine in Firefox and Adobe Reader.


 - Just for testing: When I use a Windows 7 computer, and install
 either the 32- or 64-bit version, I also get the Unsupported Card
 error
 on that computer.

 Of course, it is my goal to have this working with a recent version,
 with both PKCS#11 and tokend support. Perhaps PKCS#11 and tokend
 are functional

Re: [opensc-devel] SmartCafe Expert 3.2 72K works fine in some versions but is an unsupported card in other versions.

2011-08-18 Thread Thomas De Reyck
Hi Ludovic,

Thank you very much for your feedback. I will test 0.12.2 in Debian to
see if it is truly a regression. If so, should I just report it back
here, or is there a bugtracker where I should post this?

Kind regards,
Thomas

On 08/18/2011 07:39 PM, Ludovic Rousseau wrote:
 2011/8/18 Thomas De Reyck tho...@dereyck.eu:
 - Scenario 1: On Debian Squeeze Linux (opensc from debian repository):
 Works perfectly.
 
 Debian squeeze uses OpenSC 0.11.13-1.1
 The latest version is 0.12.2.
 
 So it looks like a regression.
 I don't know if this problem is already known or not.
 
 Bye
 
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] SmartCafe Expert 3.2 72K works fine in some versions but is an unsupported card in other versions.

2011-08-10 Thread Thomas De Reyck
Dear Douglas,

Thanks for your response. I've read through the debug log
before, but it didn't tell me much. Perhaps it will be more clear
to you or someone else on the list, so I've attached it to this message.

The output you see in the file is generated by one pkcs15-tool -D command.
I used the newer OpenSC 0.12.2 for Mac this time, but to no avail.

Under Debian linux, my smart cards are still working properly, so this
seems very strange.

Kind regards,
Thomas

2011/8/8 Douglas E. Engert deeng...@anl.gov:


 On 8/7/2011 10:10 AM, Thomas De Reyck wrote:
 Dear OpenSC developers,

 Last month I've sent the below message to the opensc-user mailing list.
 However, the lack of a response suggests that no other user is aware of
 a solution to this problem. I am wondering if someone on this developer
 mailing list can perhaps have a look. If this is not the purpose of this
 mailing list, then I apologize.

 Either way, thank you in advance for having a look.

 Try turning on debugging in OpenSC. In the opensc.conf file set
 debug = 7;
 debug_file = /tmp/opensc-debug.log;

 This might show why it is marked as unsupported of why it is failing.


 Kind regards,
 Thomas De Reyck

  Original Message 
 Subject: SmartCafe Expert 3.2 72K works fine in some versions but is an
 unsupported card in other versions.
 Date: Tue, 12 Jul 2011 17:36:24 +0200
 From: Thomas De Reycktho...@dereyck.eu
 To: opensc-u...@lists.opensc-project.org

 Dear OpenSC users,

 I was wondering if any of you could assist me with the following:

 I have been able to set up the Muscle Applet on a SmartCafe Expert 3.2
 72K smartcard. My original
 experimentation was performed on a Debian Squeeze system, with the
 OpenSC provided by Debian.
 The OpenSC version used is: 0.11.13 (according to opensc-tool)

 However, an important aspect for this project, is having the smart
 card work on Mac OS X 10.6 as well. But
 here I have found the following issues:

 - Using the latest version of OpenSC for Mac: 0.12.1
    - Source:
 http://www.opensc-project.org/files/opensc/OpenSC-0.12.1-10.6.dmg
    - Installation works fine, however, when I try to work with the
 card, it is unsupported:

 pkcs15-tool -D
 Using reader with a card: OmniKey CardMan 3121 00 00
 PKCS#15 binding failed: Unsupported card

    - Can read ATR from opensc-tool.
    - PKCS#11 module doesn't work.
    - OpenSC.tokend doesn't work either.


 - Using the latest SCA deprecated version: SCA-0.2.8
    - Source: http://www.opensc-project.org/files/sca/sca-0.2.8.dmg
    - Installation works fine.
    - pkcs15-tool -D works fine.
    - Can read ATR from opensc-tool.
    - Tokend works on 32-bit based systems, but does not work on 64-bit
 systems. Probably normal, since this is a deprecated version.
    - PKCS#11 module works fine in Firefox and Adobe Reader.


 - Just for testing: When I use a Windows 7 computer, and install
 either the 32- or 64-bit version, I also get the Unsupported Card
 error
 on that computer.

 Of course, it is my goal to have this working with a recent version,
 with both PKCS#11 and tokend support. Perhaps PKCS#11 and tokend
 are functional in the latest available version, but because of the
 Unsupported Card error, I cannot test this.

 Is there any way to mark my card as supported? Can I do so myself? Do
 I need to report this as a bug?
 Should I perhaps forward this request somewhere else?

 Thank you in advance,
 Thomas De Reyck



 More Info:
 Smartcard:
 http://www.smartcardfocus.com/shop/ilp/id~521/SmartCafe_Expert_3_2_72K/p/index.shtml
 ATR: 3b:f7:18:00:00:80:31:fe:45:73:66:74:65:2d:6e:66:c4
 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel



 --

  Douglas E. Engert  deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel

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


[opensc-devel] SmartCafe Expert 3.2 72K works fine in some versions but is an unsupported card in other versions.

2011-08-07 Thread Thomas De Reyck
Dear OpenSC developers,

Last month I've sent the below message to the opensc-user mailing list.
However, the lack of a response suggests that no other user is aware of
a solution to this problem. I am wondering if someone on this developer
mailing list can perhaps have a look. If this is not the purpose of this
mailing list, then I apologize.

Either way, thank you in advance for having a look.

Kind regards,
Thomas De Reyck

 Original Message 
Subject: SmartCafe Expert 3.2 72K works fine in some versions but is an
unsupported card in other versions.
Date: Tue, 12 Jul 2011 17:36:24 +0200
From: Thomas De Reyck tho...@dereyck.eu
To: opensc-u...@lists.opensc-project.org

Dear OpenSC users,

I was wondering if any of you could assist me with the following:

I have been able to set up the Muscle Applet on a SmartCafe Expert 3.2
72K smartcard. My original
experimentation was performed on a Debian Squeeze system, with the
OpenSC provided by Debian.
The OpenSC version used is: 0.11.13 (according to opensc-tool)

However, an important aspect for this project, is having the smart
card work on Mac OS X 10.6 as well. But
here I have found the following issues:

- Using the latest version of OpenSC for Mac: 0.12.1
  - Source:
http://www.opensc-project.org/files/opensc/OpenSC-0.12.1-10.6.dmg
  - Installation works fine, however, when I try to work with the
card, it is unsupported:

 pkcs15-tool -D
 Using reader with a card: OmniKey CardMan 3121 00 00
 PKCS#15 binding failed: Unsupported card

  - Can read ATR from opensc-tool.
  - PKCS#11 module doesn't work.
  - OpenSC.tokend doesn't work either.


- Using the latest SCA deprecated version: SCA-0.2.8
  - Source: http://www.opensc-project.org/files/sca/sca-0.2.8.dmg
  - Installation works fine.
  - pkcs15-tool -D works fine.
  - Can read ATR from opensc-tool.
  - Tokend works on 32-bit based systems, but does not work on 64-bit
systems. Probably normal, since this is a deprecated version.
  - PKCS#11 module works fine in Firefox and Adobe Reader.


- Just for testing: When I use a Windows 7 computer, and install
either the 32- or 64-bit version, I also get the Unsupported Card
error
on that computer.

Of course, it is my goal to have this working with a recent version,
with both PKCS#11 and tokend support. Perhaps PKCS#11 and tokend
are functional in the latest available version, but because of the
Unsupported Card error, I cannot test this.

Is there any way to mark my card as supported? Can I do so myself? Do
I need to report this as a bug?
Should I perhaps forward this request somewhere else?

Thank you in advance,
Thomas De Reyck



More Info:
Smartcard:
http://www.smartcardfocus.com/shop/ilp/id~521/SmartCafe_Expert_3_2_72K/p/index.shtml
ATR: 3b:f7:18:00:00:80:31:fe:45:73:66:74:65:2d:6e:66:c4
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel