Russian Universal Electronic Card (UEC) support request

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Russian Universal Electronic Card (UEC) support request

Envek
Hello to OpenSC developers!

Is there any plans to support Russian Universal Electronic Card (UEC)?

This card is detected by pcsc_scan utility from pcsc-tools with fresh smartcard_list.txt as:

3B 6C 00 00 80 64 11 65 01 90 73 00 00 00 81 07
        Universal Electronic Card (UEC Russia) (eID)

But I can't do anything with this card with OpenSC:

$ opensc-explorer 
OpenSC Explorer version 0.13.0
Using reader with a card: ACS ACR 38U-CCID 00 00
unable to select MF: Incorrect parameters in APDU

$ pkcs15-tool --dump
Using reader with a card: ACS ACR 38U-CCID 00 00
PKCS#15 binding failed: Unsupported card

$ opensc-tool --name
Using reader with a card: ACS ACR 38U-CCID 00 00
Unsupported card

$ opensc-tool --atr
Using reader with a card: ACS ACR 38U-CCID 00 00
3b:6c:00:00:80:64:11:65:01:90:73:00:00:00:81:07

I'm using latest Ubuntu 13.10 with OpenSC 0.13.0-3ubuntu1, PCSCD 1.8.6-3ubuntu1b1 and PCSC-Tools 1.4.21-1.

Info about UEC:

Official website (in russian, no technical info): http://www.uecard.ru/
On windows it's supported by CryptoPro software and they've developed software bundle for it: http://www.cryptopro.ru/products/fkc/kriptopro-csp-uec

The card itself isn't much widespread now, but there's plans to give it to every russian citizen in few years.

In my card written digital signature certificate and private key with GOST R 34.10-2001 cryptographic algorithm, that may used for document signing, website login, etc.

So, I want to extract my certificate from card, install it somewhere in system (i.e. in browser) and also to sometime sign some files with this card. I'm new to smartcards and cryptography and now just playing with new interesting thing.

I've checked card on windows, and it works OK, I able to sign in on gosuslugi.ru government services website using card (they provide special browser plugin there and it's exists for linux as deb package), and have signed Word document (again, with special MS Office plugin by CryptoPro).

So, please tell me is it possible and what else info can I provide to make it possible? Thanks.

With best regards, Andrey Novikov.

P.S> pcsc_scan utility output:
envek@envek:~$ pcsc_scan 
PC/SC device scanner
V 1.4.21 (c) 2001-2011, Ludovic Rousseau <[hidden email]>
Compiled with PC/SC lite version: 1.8.6
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR 38U-CCID 00 00

Sun Feb  2 22:22:59 2014
Reader 0: ACS ACR 38U-CCID 00 00
  Card state: Card inserted, 
  ATR: 3B 6C 00 00 80 64 11 65 01 90 73 00 00 00 81 07

ATR: 3B 6C 00 00 80 64 11 65 01 90 73 00 00 00 81 07
+ TS = 3B --> Direct Convention
+ T0 = 6C, Y(1): 0110, K: 12 (historical bytes)
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 80 64 11 65 01 90 73 00 00 00 81 07
  Category indicator byte: 80 (compact TLV data object)
    Tag: 6, len: 4 (pre-issuing data)
      Data: 11 65 01 90
    Tag: 7, len: 3 (card capabilities)
      Selection methods: 00
      Data coding byte: 00
        - Behaviour of write functions: one-time write
        - Value 'FF' for the first byte of BER-TLV tag fields: invalid
        - Data unit in quartets: 1
      Command chaining, length fields and logical channels: 00
        - Logical channel number assignment: No logical channel
        - Maximum number of logical channels: 1
    Tag: 8, len: 1 (status indicator)
      LCS (life card cycle): 07

Possibly identified card (using /home/envek/.cache/smartcard_list.txt):
3B 6C 00 00 80 64 11 65 01 90 73 00 00 00 81 07
Universal Electronic Card (UEC Russia) (eID)

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel