Fedora и RuToken

Дорого времени суток!

Скажите пожалуйста, а пример установки программного обеспечения, приведенный в инструкции https://www.rutoken.ru/download/manual/ … inuxOS.pdf подходит для установки ruToken'a на Fedora Linux, или же еще какие - то пакеты необходим доустанавливать? И, если да, то какие?

Заранее спасибо!

Re: Fedora и RuToken

Здравствуйте.

В указанной Вами инструкции все верно, кроме версий установочных пакетов. Они могут быть и новее, конечно.

Re: Fedora и RuToken

Спасибо!

Не подскажите, а информация по сборке OpenCT и OpenSC с поддержкой Rutoken для тех, кто не силен в английском, есть в русском варианте?

Re: Fedora и RuToken

Собирать не обязательно.
Поддержка Рутокенов там включена по умолчанию.

Re: Fedora и RuToken

Спасибо за помощь и оперативность!!!

Здравствуйте!

У меня к Вам большая просьба: Не могли бы Вы дать инструкцию по установки RuToken в Fedora Linux 14. Я просто не очень силен в Линукс, но настроить RuToken надо именно в этой ОС.

1. Смотрю инструкцию - тут надо установить пакеты:

• libopenct_0.6.14_alt3.x86_64.rpm
• openct_0.6.14_alt3.x86_64.rpm
• libopensc_0.11.4_alt4.x86_64.rpm
• opensc_0.11.4_alt4.x86_64.rpm

Смотрю инструкцию - тут надо установить другие компоненты:

• OpenSC 0.11.11
• OpenSSL 1.0.0-beta3
• OpenCT 0.6.18
• pcsc-lite 1.5.5
• ccid 1.3.11

2. Не могли бы Вы дать ссылки откуда нужное качать? А то в архиве «Библиотеки и утилиты OpenCT/OpenSC Rutoken, x86_64» по первый ссылке старые пакеты, а по второй ссылке нашел только

1. opensc-0.11.11.tar.gz
2. openct-0.6.18.tar.gz

3. Если необходима сборка пакетов, не могли бы Вы дать инструкцию на русском языке? С Английским не очень сильно дружу:)

Заранее благодарен!


Вот, еще нашел! Это верные ссылки?

OpenSSL 1.0.0-beta3 (http://www.openssl.org/source/)
pcsc-lite 1.5.5 (https://alioth.debian.org/frs/?group_id=30105)
ccid 1.3.11 (https://alioth.debian.org/frs/?group_id=30105)

Re: Fedora и RuToken

Добрый день.

В современном дистрибутиве, таком как Fedora 14, совершенно необязательно загружать пакеты вручную.

Для установки любого программного обеспечения нужно воспользоваться одним из способов предлагаемых в официальной документации по Fedora.
http://docs.fedoraproject.org/ru-RU/Fed … tware.html

Найдите по именам (без версий) необходимые пакеты и установите их наиболее удобным для Вас способом.

Re: Fedora и RuToken

Спасибо за инструкцию!

Сделал так, как Вы и сказали и получилось:
[root@localhost ~]# rpm -qva | grep opensc
opensc-0.11.13-3.fc14.x86_64
[root@localhost ~]# rpm -qva | grep openssl
openssl-1.0.0d-1.fc14.x86_64
openssl-devel-1.0.0d-1.fc14.x86_64
[root@localhost ~]# rpm -qva | grep openct
openct-0.6.19-3.fc14.x86_64
openct-devel-0.6.19-3.fc14.x86_64
pcsc-lite-openct-0.6.19-3.fc14.x86_64
[root@localhost ~]# rpm -qva | grep pcsc-lite
pcsc-lite-devel-1.6.4-1.fc14.x86_64
pcsc-lite-libs-1.6.4-1.fc14.x86_64
pcsc-lite-1.6.4-1.fc14.x86_64
pcsc-lite-openct-0.6.19-3.fc14.x86_64
[root@localhost ~]# rpm -qva | grep ccid
ccid-1.4.0-1.fc14.x86_64

[root@localhost ~]# service openct start
Инициализируются терминалы смарт-карт OpenCT:              [  OK  ]
[root@localhost ~]# openct-tool read

И мне выдается:
Unknown reader #0

Подскажите пожалуйста, как это устранить?
Linux запущен на VirtualBox 4.0.4 r70112

Re: Fedora и RuToken

Возможно, Рутокен не проброшен в виртуальное окружение.

Сделайте, пожалуйста, как указано в этой инструкции:

http://www.dedoimedo.com/computers/virtualbox-usb.html

В списке на третьей картинке должен появится Рутокен, выберите его и добавьте в фильтры.
Перезагружать систему не обязательно, но если ничего не произойдет - переподключите Рутокен.

Re: Fedora и RuToken

Сделал все, как в инструкции, которую Вы указали, но, к сожалению, ошибка осталась.

Решил установил Fedora Linux 14 на компьютер. Установил следующие пакеты для Рутокена:

[root@localhost fedor]# rpm -qva | grep opensc
opensc-0.11.13-6.fc14.x86_64
[root@localhost fedor]# rpm -qva | grep openssl
openssl-devel-1.0.0d-1.fc14.x86_64
openssl-1.0.0d-1.fc14.x86_64
[root@localhost fedor]# rpm -qva | grep openct
openct-devel-0.6.19-3.fc14.x86_64
openct-0.6.19-3.fc14.x86_64
pcsc-lite-openct-0.6.19-3.fc14.x86_64
[root@localhost fedor]# rpm -qva | grep pcsc-lite
pcsc-lite-1.6.4-3.fc14.x86_64
pcsc-lite-devel-1.6.4-3.fc14.x86_64
pcsc-lite-libs-1.6.4-3.fc14.x86_64
pcsc-lite-openct-0.6.19-3.fc14.x86_64
[root@localhost fedor]# rpm -qva | grep ccid
ccid-1.4.0-2.fc14.x86_64

[root@localhost fedor]# service openct start
Инициализируются терминалы смарт-карт OpenCT:              [  OK  ]

[root@localhost fedor]# openct-tool read

И мне выдается теперь другое:
Detected CCID Compatible
ct_card_lock: err=-7

Подскажите, пожалуйста, как теперь с этим бороться:)?

Re: Fedora и RuToken

# openct-tool read - эта команда не поддерживается

Detected CCID Compatible - так и должно быть!

Не забудьте проинициализировать токен для работы в OpenSC (данные будут удалены!)

http://www.opensc-project.org/opensc/wi … RutokenECP

Re: Fedora и RuToken

Что - то не инициализируется. Или так и должно быть?!

[fedor@localhost ~]$ pkcs15-init --erase-card
Using reader with a card: CCID Compatible
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
Failed to lock card: Generic reader error

[fedor@localhost ~]$ pkcs15-init --create-pkcs15 --so-pin "12345678" --so-puk ""
Using reader with a card: CCID Compatible
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
Failed to lock card: Generic reader error

[fedor@localhost ~]$ pkcs15-init --store-pin --label "User PIN" --auth-id 02 --pin "12345678" --puk "" --so-pin "12345678" --finalize
Using reader with a card: CCID Compatible
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
Failed to lock card: Generic reader error

Re: Fedora и RuToken

Здравствуйте,

Будьте добры, измените в конфигурационном файле /etc/opensc.conf значение debug с 0 на 6.

После этого снова запустите $pkcs15-init --erase-card
и пришлите вывод

Re: Fedora и RuToken

Здравствуйте!

Вот, пожалуйста:

# pkcs15-init --erase-card
[pkcs15-init] ctx.c:735:sc_context_create: ===================================
[pkcs15-init] ctx.c:736:sc_context_create: opensc version: 0.11.13
[pkcs15-init] reader-openct.c:79:openct_reader_init: called
[pkcs15-init] reader-pcsc.c:872:pcsc_detect_readers: called
[pkcs15-init] reader-pcsc.c:879:pcsc_detect_readers: Probing pcsc readers
[pkcs15-init] reader-pcsc.c:901:pcsc_detect_readers: Establish pcsc context
[pkcs15-init] reader-pcsc.c:951:pcsc_detect_readers: Found new pcsc reader 'Generic CCID Reader 00 00'
[pkcs15-init] reader-pcsc.c:266:refresh_slot_attributes: called
[pkcs15-init] reader-pcsc.c:1015:pcsc_detect_readers: returning with: 0
[pkcs15-init] sc.c:196:sc_detect_card_presence: called
[pkcs15-init] reader-openct.c:194:openct_reader_detect_card_presence: called
[pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1
Using reader with a card: CCID Compatible
[pkcs15-init] sc.c:196:sc_detect_card_presence: called
[pkcs15-init] reader-openct.c:194:openct_reader_detect_card_presence: called
[pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1
[pkcs15-init] card.c:110:sc_connect_card: called
[pkcs15-init] reader-openct.c:218:openct_reader_connect: called
[pkcs15-init] card.c:140:sc_connect_card: matching configured ATRs
[pkcs15-init] card.c:182:sc_connect_card: matching built-in ATRs
[pkcs15-init] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: flex
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: cyberflex
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: gpk
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:27:00:80:65:A2:04:01:01:37
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:27:00:80:65:A2:05:01:01:37
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:27:00:80:65:A2:0C:01:01:37
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:A7:00:40:14:80:65:A2:14:01:01:37
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:08:01:01:52
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:01:52
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:02:52
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:03:52
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: gemsafeV1
[pkcs15-init] card-gemsafeV1.c:120:gemsafe_match_card: called
[pkcs15-init] card.c:188:sc_connect_card: trying driver: miocos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:10:11:4D:69:6F:43:4F:53:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:20:01:4D:69:6F:43:4F:53:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: mcrd
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:FF:94:00:FF:80:B1:FE:45:1F:03:00:68:D2:76:00:00:28:FF:05:1E:31:80:00:90:00:23
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:6f:00:ff:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: asepcos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:d6:18:00:81:b1:80:7d:1f:03:80:51:00:61:10:30:8f
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:d6:18:00:81:b1:fe:7d:1f:03:41:53:45:37:35:35:01
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: setcos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:1F:11:00:67:80:42:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:9F:94:40:1E:00:67:16:43:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:9f:94:40:1e:00:67:00:43:46:49:53:45:10:52:66:ff:81:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:6b:00:ff:80:62:00:a2:56:46:69:6e:45:49:44
[pkcs15-init] card.c:767:match_atr_table: ATR mask: ff:ff:00:ff:ff:ff:00:ff:ff:ff:ff:ff:ff:ff:ff
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:64:00:ff:80:62:00:a2
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:7b:00:00:00:80:62:00:51:56:46:69:6e:45:49:44
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:64:00:00:80:62:00:51
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:6e:00:00:00:62:00:00:57:41:56:41:4e:54:10:81:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:7b:94:00:00:80:62:11:51:56:46:69:6e:45:49:44
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:10:44:05:01:46:49:53:45:31:c8:07:90:00:18
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:11:44:05:01:46:49:53:45:31:c8:00:00:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] apdu.c:516:sc_transmit_apdu: called
[pkcs15-init] card.c:285:sc_lock: called
[pkcs15-init] reader-openct.c:410:openct_reader_lock: called
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
[pkcs15-init] card.c:188:sc_connect_card: trying driver: starcos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:B7:94:00:c0:24:31:fe:65:53:50:4b:32:33:90:00:b4
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:B7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:b7:18:00:c0:3e:31:fe:65:53:50:4b:32:34:90:00:25
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: tcos
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:BA:13:00:81:31:86:5D:00:64:05:0A:02:01:31:80:90:00:8B
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:BA:14:00:81:31:86:5D:00:64:05:14:02:02:31:80:90:00:91
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:BA:96:00:81:31:86:5D:00:64:05:60:02:03:31:80:90:00:66
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:BA:96:00:81:31:86:5D:00:64:05:7B:02:03:31:80:90:00:7D
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:BF:96:00:81:31:FE:5D:00:64:04:11:03:01:31:C0:73:F7:01:D0:00:90:00:7D
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: openpgp
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:fa:13:00:ff:81:31:80:45:00:31:c1:73:c0:01:00:00:90:00:b1
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: jcop
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:E6:00:FF:81:31:FE:45:4A:43:4F:50:33:31:06
[pkcs15-init] card.c:188:sc_connect_card: trying driver: oberthur
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:7B:18:00:00:00:31:C0:64:77:E3:03:00:82:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: belpic
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:98:13:40:0A:A5:03:01:01:01:AD:13:11
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:98:94:40:0A:A5:03:01:01:01:AD:13:10
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:98:94:40:FF:A5:03:01:01:01:AD:13:10
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: atrust-acos
[pkcs15-init] card.c:188:sc_connect_card: trying driver: muscle
[pkcs15-init] apdu.c:516:sc_transmit_apdu: called
[pkcs15-init] card.c:285:sc_lock: called
[pkcs15-init] reader-openct.c:410:openct_reader_lock: called
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
[pkcs15-init] muscle.c:265:msc_select_applet: APDU transmit failed: Generic reader error
[pkcs15-init] card.c:188:sc_connect_card: trying driver: incrypto34
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:ff:18:00:ff:81:31:fe:55:00:6b:02:09:02:00:01:01:01:43:4e:53:10:31:80:9f
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:ff:18:00:ff:81:31:fe:55:00:6b:02:09:02:00:01:01:01:44:53:44:10:31:80:92
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: piv
[pkcs15-init] card-piv.c:1761:piv_match_card: called
[pkcs15-init] card-piv.c:493:piv_find_aid: called
[pkcs15-init] card-piv.c:458:piv_select_aid: called
[pkcs15-init] card-piv.c:460:piv_select_aid: Got args: aid=5a0989a0, aidlen=9, response=3ea35c10, responselen=258
[pkcs15-init] apdu.c:516:sc_transmit_apdu: called
[pkcs15-init] card.c:285:sc_lock: called
[pkcs15-init] reader-openct.c:410:openct_reader_lock: called
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
[pkcs15-init] iso7816.c:102:iso7816_check_sw: Unknown SWs; SW1=00, SW2=00
[pkcs15-init] card-piv.c:474:piv_select_aid: returning with: -1200
[pkcs15-init] apdu.c:516:sc_transmit_apdu: called
[pkcs15-init] card.c:285:sc_lock: called
[pkcs15-init] reader-openct.c:410:openct_reader_lock: called
[pkcs15-init] apdu.c:528:sc_transmit_apdu: unable to acquire lock
[pkcs15-init] card-piv.c:549:piv_find_aid: APDU transmit failed: Generic reader error
[pkcs15-init] card.c:188:sc_connect_card: trying driver: acos5
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:be:18:00:00:41:05:10:00:00:00:00:00:00:00:00:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: akis
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:ba:11:00:81:31:fe:4d:55:45:4b:41:45:20:56:31:2e:30:ae
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: entersafe
[pkcs15-init] card-entersafe.c:101:entersafe_match_card: called
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:0f:00:65:46:53:05:19:05:71:df:00:00:00:00:00:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:9f:95:81:31:fe:9f:00:65:46:53:05:30:06:71:df:00:00:00:80:6a:82:5e
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:188:sc_connect_card: trying driver: rutoken
[pkcs15-init] card-rutoken.c:120:rutoken_match_card: called
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:6f:00:ff:00:56:72:75:54:6f:6b:6e:73:30:20:00:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3b:6f:00:ff:00:56:75:61:54:6f:6b:6e:73:30:20:00:00:90:00
[pkcs15-init] card.c:762:match_atr_table: ignored - wrong length
[pkcs15-init] card-rutoken.c:126:rutoken_match_card: returning with: 0
[pkcs15-init] card.c:188:sc_connect_card: trying driver: rutoken_ecp
[pkcs15-init] card.c:746:match_atr_table: ATR     : 3b:8b:01:52:75:74:6f:6b:65:6e:20:45:43:50:a0
[pkcs15-init] card.c:758:match_atr_table: ATR try : 3B:8B:01:52:75:74:6F:6B:65:6E:20:45:43:50:A0
[pkcs15-init] card-rtecp.c:50:rtecp_match_card: returning with: 1
[pkcs15-init] card.c:196:sc_connect_card: matched: Rutoken ECP driver
[pkcs15-init] card-rtecp.c:83:rtecp_init: returning with: 0
[pkcs15-init] card.c:221:sc_connect_card: card info: Rutoken ECP card, 0, 0x0
[pkcs15-init] card.c:222:sc_connect_card: returning with: 0
[pkcs15-init] card.c:285:sc_lock: called
[pkcs15-init] reader-openct.c:410:openct_reader_lock: called
Failed to lock card: Generic reader error
[pkcs15-init] card.c:236:sc_disconnect_card: called
[pkcs15-init] reader-openct.c:265:openct_reader_disconnect: called
[pkcs15-init] card.c:251:sc_disconnect_card: returning with: 0

Re: Fedora и RuToken

1) определитесь - через pcsc-lite или openct будете использовать рутокен
и соответсвенно закоменте ненужный API в фале opensc.conf
2) отключите все что может использовать pkcs11 - модуль firefox, pam модули и т.д.

Re: Fedora и RuToken

Alexey, Спасибо за ответ!

Но не могли бы Вы более подробно раскрыть пункт 2). Я просто новичок в работе как с ruToken'ом, так и с Linux.

Буду весьма признателен!