<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Рутокен &mdash; [rutoken ECP] Debian 9.7 problem]]></title>
		<link>https://forum.rutoken.ru/topic/2943/</link>
		<atom:link href="https://forum.rutoken.ru/feed/rss/topic/2943" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «[rutoken ECP] Debian 9.7 problem».]]></description>
		<lastBuildDate>Fri, 08 Feb 2019 10:47:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12675/#p12675</link>
			<description><![CDATA[<p>Спасибо Вам за обращение!</p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Fri, 08 Feb 2019 10:47:12 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12675/#p12675</guid>
		</item>
		<item>
			<title><![CDATA[Re: [rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12674/#p12674</link>
			<description><![CDATA[<p>Огромное спасибо за оперативную помощь!<br /></p><div class="codebox"><pre><code>root@x230:/usr/local/bin# ./pkcs15-init -E
Using reader with a card: Aktiv Rutoken ECP 00 00
root@x230:/usr/local/bin# ./pkcs15-init -C --so-pin &quot;87654321&quot; --so-puk &quot;&quot;
Using reader with a card: Aktiv Rutoken ECP 00 00
root@x230:/usr/local/bin# ./pkcs15-init --version
Using reader with a card: Aktiv Rutoken ECP 00 00
OpenSC-0.19.0-266-gaca9d79f, rev: aca9d79f, commit-time: 2019-02-07 16:56:33 +0100
root@x230:/usr/local/bin#</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (lazyBSD)]]></author>
			<pubDate>Fri, 08 Feb 2019 10:28:47 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12674/#p12674</guid>
		</item>
		<item>
			<title><![CDATA[Re: [rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12672/#p12672</link>
			<description><![CDATA[<p>Путей много, всё зависит от того с каким сервисом будет взаимодействовать токен.<br />На нашем портале документации есть раздел &quot;<a href="https://dev.rutoken.ru/display/PUB/Интеграция%20устройств%20Рутокен">Интеграция устройств Рутокен</a>&quot;, ознакомьтесь, возможно найдете, что нужное для себя.</p><p>По поводу pkcs15-init. Воспроизвели Ваш случай c Debian 9.7 и OpenSC 0.16.0 из коробки, столкнулись с такой же проблемой.<br />Рекомендуем Вам обновить OpenSC до версии <a href="https://github.com/OpenSC/OpenSC/wiki">0.19.0</a>.<br /><a href="https://github.com/OpenSC/OpenSC/wiki/Compiling-and-Installing-on-Unix-flavors">Инструкция по установке из исходников.</a></p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Fri, 08 Feb 2019 09:50:21 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12672/#p12672</guid>
		</item>
		<item>
			<title><![CDATA[Re: [rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12669/#p12669</link>
			<description><![CDATA[<p>Здравствуйте, Анатолий!</p><p>Непринципиально, хочу хоть как-то завести токен.<br />Руководствовался <a href="https://github.com/OpenSC/OpenSC/wiki/Aktiv-Co.-Rutoken-ECP">этим.</a></p><p>Какие ещё у меня есть пути?</p><p>Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (lazyBSD)]]></author>
			<pubDate>Fri, 08 Feb 2019 08:52:11 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12669/#p12669</guid>
		</item>
		<item>
			<title><![CDATA[Re: [rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12668/#p12668</link>
			<description><![CDATA[<p>Здравствуйте, <strong>lazyBSD</strong>!</p><p>Для более точного ответа, хотелось бы узнать по подробнее. Вы хотите создать структуру <strong>именно</strong> в pkcs15? </p><p>Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Fri, 08 Feb 2019 08:18:42 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12668/#p12668</guid>
		</item>
		<item>
			<title><![CDATA[[rutoken ECP] Debian 9.7 problem]]></title>
			<link>https://forum.rutoken.ru/post/12666/#p12666</link>
			<description><![CDATA[<p>Здравствуйте!</p><p>Проблемка возникла на debian в стоке. Помогите, пожалуйста.<br /></p><div class="codebox"><pre><code>root@x230:~$ uname -a
Linux x230 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
root@x230:~$ cat /etc/debian_version 
9.7
root@x230:~$</code></pre></div><div class="codebox"><pre><code>root@x230:~# lsusb 
Bus 002 Device 111: ID 17ef:100a Lenovo ThinkPad Mini Dock Plus Series 3
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 5986:02d2 Acer, Inc 
Bus 001 Device 008: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 001 Device 003: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 010: ID 0a89:0030 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1199:68a2 Sierra Wireless, Inc. 
Bus 003 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@x230:~# </code></pre></div><div class="codebox"><pre><code>root@x230:~# apt list | grep -E &quot;pcsc|opensc/|opensc-&quot;

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libpcsc-perl/stable,now 1.4.14-1+b2 amd64 [установлен, автоматически]
libpcscada0.7.3/stable 0.7.3-1 amd64
libpcscada4-dev/stable 0.7.3-1 amd64
libpcsclite-dev/stable 1.8.20-1 amd64
libpcsclite1/stable,now 1.8.20-1 amd64 [установлен]
libpcsclite1-dbg/stable 1.8.20-1 amd64
opensc/stable,now 0.16.0-3+deb9u1 amd64 [установлен]
opensc-pkcs11/stable,now 0.16.0-3+deb9u1 amd64 [установлен]
pcsc-tools/stable,now 1.4.27-1 amd64 [установлен]
pcscd/stable,now 1.8.20-1 amd64 [установлен]
root@x230:~#</code></pre></div><div class="codebox"><pre><code>root@x230:~# pkcs15-init -E
Using reader with a card: Aktiv Rutoken ECP 00 00
root@x230:~# pkcs15-init -C --so-pin &quot;87654321&quot; --so-puk &quot;&quot;
Using reader with a card: Aktiv Rutoken ECP 00 00
Failed to create PKCS #15 meta structure: Incorrect parameters in APDU
root@x230:~# </code></pre></div><p>opensc-debug.log<br /></p><div class="codebox"><pre><code>0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card-rtecp.c:93:rtecp_init: returning with: 0 (Success)
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:307:sc_connect_card: card info name:&#039;Rutoken ECP (DS)&#039;, type:0, flags:0x0, max_send/recv_size:255/256
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:1330:sc_card_sm_check: called
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:1331:sc_card_sm_check: card-&gt;sm_ctx.ops.open (nil)
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:1336:sc_card_sm_check: returning with: 0 (Success)
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:319:sc_connect_card: returning with: 0 (Success)
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:394:sc_lock: called
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] reader-pcsc.c:547:pcsc_lock: called
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] card.c:698:sc_select_file: called; type=2, path=3f00
0x7f7d5c139bc0 10:49:17.966 [opensc-explorer] apdu.c:550:sc_transmit_apdu: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] card.c:394:sc_lock: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] apdu.c:517:sc_transmit: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] apdu.c:371:sc_single_transmit: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] apdu.c:376:sc_single_transmit: CLA:0, INS:A4, P1:0, P2:0, data(2) 0x7ffc8d0272e0
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] reader-pcsc.c:269:pcsc_transmit: reader &#039;Aktiv Rutoken ECP 00 00&#039;
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] reader-pcsc.c:270:pcsc_transmit:
Outgoing APDU (8 bytes):
00 A4 00 00 02 3F 00 00 .....?..
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] reader-pcsc.c:199:pcsc_internal_transmit: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] reader-pcsc.c:279:pcsc_transmit:
Incoming APDU (2 bytes):
6A 82 j.
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] apdu.c:386:sc_single_transmit: returning with: 0 (Success)
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] apdu.c:539:sc_transmit: returning with: 0 (Success)
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] card.c:434:sc_unlock: called
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] iso7816.c:121:iso7816_check_sw: File not found
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] iso7816.c:550:iso7816_select_file: returning with: -1201 (File not found)
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] card-rtecp.c:270:rtecp_select_file: returning with: -1201 (File not found)
0x7f7d5c139bc0 10:49:17.967 [opensc-explorer] card.c:720:sc_select_file: &#039;SELECT&#039; error: -1201 (File not found)</code></pre></div><div class="codebox"><pre><code>0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:1296:pcsc_detect_readers: returning with: 0 (Success)
0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:323:refresh_attributes: returning with: 0 (Success)
0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:402:pcsc_detect_card_presence: returning with: 1
0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:323:refresh_attributes: returning with: 0 (Success)
0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:402:pcsc_detect_card_presence: returning with: 1
0x7f3163510700 11:15:20.095 [pkcs15-tool] card.c:196:sc_connect_card: called
0x7f3163510700 11:15:20.095 [pkcs15-tool] reader-pcsc.c:323:refresh_attributes: returning with: 0 (Success)
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-entersafe.c:134:entersafe_match_card: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-rutoken.c:103:rutoken_match_card: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-rtecp.c:93:rtecp_init: returning with: 0 (Success)
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-rtecp.c:270:rtecp_select_file: returning with: -1201 (File not found)
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-rtecp.c:270:rtecp_select_file: returning with: -1201 (File not found)
0x7f3163510700 11:15:20.096 [pkcs15-tool] card-rtecp.c:270:rtecp_select_file: returning with: -1201 (File not found)
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-syn.c:103:sc_pkcs15_bind_synthetic: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-itacns.c:854:sc_pkcs15emu_itacns_init_ex: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-piv.c:1028:sc_pkcs15emu_piv_init_ex: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-piv.c:234:piv_detect_card: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-gemsafeGPK.c:168:gemsafe_detect_card: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-esinit.c:83:sc_pkcs15emu_entersafe_init_ex: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-esinit.c:38:entersafe_detect_card: called
0x7f3163510700 11:15:20.096 [pkcs15-tool] pkcs15-oberthur.c:1028:oberthur_detect_card: called
0x7f3163510700 11:15:20.106 [pkcs15-tool] ctx.c:842:sc_release_context: called</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (lazyBSD)]]></author>
			<pubDate>Thu, 07 Feb 2019 18:57:55 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12666/#p12666</guid>
		</item>
	</channel>
</rss>
