Skip to content

Problems with OpenPGP CryptoStick smartcard and OpenSC PKCS#11 module #125

Closed
@neuro18

Description

@neuro18

Hello. I have several problems under Windows 7 x64 using GPF CryptoStick v1.2 smart-card and OpenCS 0.13.0 (and below) opensc-pkcs11.dll module:

TRUECRYPT 7.1a

  1. have a keyfile stored into CryptoStick DO3 by TrueCrypt itself via a proprietary pkcs11 module recommended by the manufacturer
    http://imageshost.ru/photo/177858/id2747477.html

  2. setting up TrueCrypt to use OpenSC PKCS#11 module
    http://imageshost.ru/photo/177965/id2747476.html

  3. when trying to mount a TrueCrypt volume with a keyfile I get a User PIN request twice it a row:
    FIRST - http://imageshost.ru/photo/50551/id2747470.html
    SECOND - http://imageshost.ru/photo/50539/id2747471.html

  4. after entering User PIN twice I get either 'Security Token Error''
    http://imageshost.ru/photo/41896/id2747473.html
    or 'Keyfile not found' error
    http://imageshost.ru/photo/50329/id2747472.html

  5. Available keyfiles list is empty, TrueCrypt volume obviously is not mounted
    http://imageshost.ru/photo/178020/id2747469.html

FIREFOX (and any app utilizing X.509 certificate stored into CryptoStick)

  1. load OpenSC PKCS#11 module
    http://imageshost.ru/photo/322098/id2747480.html

  2. the same behavior of asking for a User PIN twice in a row:
    http://imageshost.ru/photo/66486/id2747479.html
    AND
    http://imageshost.ru/photo/70470/id2747478.html)

  3. certificate SUCCESSFULLY retrieved from a smart-card

Though, there is no any problems with using proprietary DLL mentioned above
http://smartcard-auth.de/download-en.html

PS. There is "pkcs11-tool --list-slots --module opensc-pkcs11.dll" execution result if needed:

Available slots:
Slot 0 (0xffffffff): Virtual hotplug slot
  (empty)
Slot 1 (0x1): German Privacy Foundation Crypto Stick v1.2 0
  token label        : OpenPGP card (User PIN (sig))
  token manufacturer : ZeitControl
  token model        : PKCS#15 emulated
  token flags        : rng, login required, PIN initialized, token initialized
  hardware version   : 0.0
  firmware version   : 0.0
  serial num         : 000500001469
Slot 2 (0x2): German Privacy Foundation Crypto Stick v1.2 0
  token label        : OpenPGP card (User PIN)
  token manufacturer : ZeitControl
  token model        : PKCS#15 emulated
  token flags        : rng, login required, PIN initialized, token initialized
  hardware version   : 0.0
  firmware version   : 0.0
  serial num         : 000500001469

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions