<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Рутокен &mdash; rutoken ECP + linux (архитектура arm)]]></title>
	<link rel="self" href="https://forum.rutoken.ru/feed/atom/topic/1589" />
	<updated>2011-09-07T11:41:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.rutoken.ru/topic/1589/</id>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3993/#p3993" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Кирилл Мещеряков пишет:</cite><blockquote><p>Извините, что долго соображал, только сейчас до меня дошло в чем дело.</p><p>Да, в 0.11.13 тоже будет работать. </p><p>Нужно только поменять в файле rutoken_ecp.profile два значения attempts на 10.</p><p>Если будет непонятно, смотрите здесь: <a href="http://www.opensc-project.org/opensc/changeset/659db6f50b180d4a903b1c7e1e8c82ba1660f8be/OpenSC/src/pkcs15init/rutoken_ecp.profile">http://www.opensc-project.org/opensc/ch … cp.profile</a></p></blockquote></div><p>понял, спасибо :)</p>]]></content>
			<author>
				<name><![CDATA[metawishmaster]]></name>
				<uri>https://forum.rutoken.ru/user/7778/</uri>
			</author>
			<updated>2011-09-07T11:41:15Z</updated>
			<id>https://forum.rutoken.ru/post/3993/#p3993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3992/#p3992" />
			<content type="html"><![CDATA[<p>Извините, что долго соображал, только сейчас до меня дошло в чем дело.</p><p>Да, в 0.11.13 тоже будет работать. </p><p>Нужно только поменять в файле rutoken_ecp.profile два значения attempts на 10.</p><p>Если будет непонятно, смотрите здесь: <a href="http://www.opensc-project.org/opensc/changeset/659db6f50b180d4a903b1c7e1e8c82ba1660f8be/OpenSC/src/pkcs15init/rutoken_ecp.profile">http://www.opensc-project.org/opensc/ch … cp.profile</a></p>]]></content>
			<author>
				<name><![CDATA[Кирилл Мещеряков]]></name>
				<uri>https://forum.rutoken.ru/user/6786/</uri>
			</author>
			<updated>2011-09-07T07:10:36Z</updated>
			<id>https://forum.rutoken.ru/post/3992/#p3992</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3991/#p3991" />
			<content type="html"><![CDATA[<p>Кирилл, прошу прощения!<br />у меня на х86 стояла версия opensc-0.12.1 (я ее из debian sid вытягивал и забыл про это), когда только что поставил 0.13.11, то ошибки были те же, но 0.12.1 форматирует все нормально и на x86, и на arm :)<br />спасибо, и еще раз извините за то, что не заметил ранее.</p>]]></content>
			<author>
				<name><![CDATA[metawishmaster]]></name>
				<uri>https://forum.rutoken.ru/user/7778/</uri>
			</author>
			<updated>2011-09-06T22:32:02Z</updated>
			<id>https://forum.rutoken.ru/post/3991/#p3991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3990/#p3990" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Кирилл Мещеряков пишет:</cite><blockquote><p>хмм.. а, какая у Вас версия OpenCT?</p></blockquote></div><p>а я оставил только pcsc...<br />и в конфиге, и при сборке пакета opensc</p><p>[upd] а pcsc-1.5.5</p>]]></content>
			<author>
				<name><![CDATA[metawishmaster]]></name>
				<uri>https://forum.rutoken.ru/user/7778/</uri>
			</author>
			<updated>2011-09-06T12:01:47Z</updated>
			<id>https://forum.rutoken.ru/post/3990/#p3990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3989/#p3989" />
			<content type="html"><![CDATA[<p>хмм.. а, какая у Вас версия OpenCT?</p>]]></content>
			<author>
				<name><![CDATA[Кирилл Мещеряков]]></name>
				<uri>https://forum.rutoken.ru/user/6786/</uri>
			</author>
			<updated>2011-09-06T11:40:14Z</updated>
			<id>https://forum.rutoken.ru/post/3989/#p3989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3988/#p3988" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Кирилл Мещеряков пишет:</cite><blockquote><p>Установите пожалуйста значение debug = 6 в файле opensc.conf для получения более подробной информации.</p></blockquote></div><p>Здравствуйте Кирилл, форум мне не разрешил выкладывать тут 120К текста, поэтому вывод тут:&nbsp; <a href="http://pastebin.com/raw.php?i=kwiAv5qx">http://pastebin.com/raw.php?i=kwiAv5qx</a></p><p>[upd] если pastebin не работает, то вот еще: <a href="http://paste.pocoo.org/show/471178/">http://paste.pocoo.org/show/471178/</a></p>]]></content>
			<author>
				<name><![CDATA[metawishmaster]]></name>
				<uri>https://forum.rutoken.ru/user/7778/</uri>
			</author>
			<updated>2011-09-05T15:20:50Z</updated>
			<id>https://forum.rutoken.ru/post/3988/#p3988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3985/#p3985" />
			<content type="html"><![CDATA[<p>Установите пожалуйста значение debug = 6 в файле opensc.conf для получения более подробной информации.</p>]]></content>
			<author>
				<name><![CDATA[Кирилл Мещеряков]]></name>
				<uri>https://forum.rutoken.ru/user/6786/</uri>
			</author>
			<updated>2011-09-05T09:32:58Z</updated>
			<id>https://forum.rutoken.ru/post/3985/#p3985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[rutoken ECP + linux (архитектура arm)]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/3964/#p3964" />
			<content type="html"><![CDATA[<p>Здравствуйте, у меня не получается проинициализировать токен. <strong>pkcs15-init --erase-card</strong> отрабаетывает нормально (как и <strong>pkcs11-data --add-provider=/usr/lib/opensc-pkcs11.so --prompt-prog /tmp/prompt.sh --cmd=import/export --file=$key_file --token=$id --application=DISK --label=N900 </strong>), но <strong>pkcs15-init --create-pkcs15 --so-pin &quot;87654321&quot; --so-puk &quot;&quot;</strong> выдает такой лог:<br /></p><div class="codebox"><pre><code>[pkcs15-init] ctx.c:735:sc_context_create: ===================================
[pkcs15-init] ctx.c:736:sc_context_create: opensc version: 0.11.13                                                                                              
[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 &#039;Aktiv Rutoken ECP 00 00&#039;
[pkcs15-init] sc.c:196:sc_detect_card_presence: called
[pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1                                                                                               
Using reader with a card: Aktiv Rutoken ECP 00 00                                                                                                               
[pkcs15-init] sc.c:196:sc_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-pcsc.c:532:pcsc_connect: After connect protocol = 2                                                                                        
[pkcs15-init] reader-pcsc.c:551:pcsc_connect: Requesting reader features ... 
[pkcs15-init] reader-pcsc.c:621:pcsc_connect: Returned PIN properties structure has bad length (8)
[pkcs15-init] card-gemsafeV1.c:120:gemsafe_match_card: called
[pkcs15-init] card-piv.c:1761:piv_match_card: called                                                                                                            
[pkcs15-init] card-piv.c:493:piv_find_aid: called                                                                                                               
[pkcs15-init] iso7816.c:99:iso7816_check_sw: Function not supported                                                                                             
[pkcs15-init] iso7816.c:99:iso7816_check_sw: Function not supported                                                                                             
[pkcs15-init] card-piv.c:576:piv_find_aid: returning with: -1208                                                                                                
[pkcs15-init] card-entersafe.c:101:entersafe_match_card: called                                                                                                 
[pkcs15-init] card-rutoken.c:120:rutoken_match_card: called                                                                                                     
[pkcs15-init] card-rutoken.c:126:rutoken_match_card: returning with: 0                                                                                          
[pkcs15-init] card-rtecp.c:53:rtecp_match_card: returning with: 1                                                                                               
[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:675:sc_card_ctl: card_ctl(4) not supported                                                                                                 
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0050154946                                                                                      
[pkcs15-init] iso7816.c:99:iso7816_check_sw: File not found                                                                                                     
[pkcs15-init] card-rtecp.c:306:rtecp_select_file: : File not found                                                                                              
[pkcs15-init] card.c:554:sc_select_file: returning with: -1201                                                                                                  
[pkcs15-init] profile.c:306:sc_profile_load: Using profile directory &#039;/usr/share/opensc&#039;.                                                                       
[pkcs15-init] profile.c:306:sc_profile_load: Using profile directory &#039;/usr/share/opensc&#039;.
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00, size=0
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f002f00, size=128                                                                                
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f00                                                                                              
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f001000, size=0                                                                                  
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f001000                                                                                          
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f0010001000, size=0                                                                              
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0010001000                                                                                      
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00100010006001, size=0                                                                          
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0010001000                                                                                      
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00100010006002, size=0                                                                          
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0010001000                                                                                      
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00100010006003, size=0                                                                          
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0010001000                                                                                      
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00100010006004, size=0                                                                          
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0010001000                                                                                      
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f00100010006005, size=0                                                                          
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f00                                                                                              
[pkcs15-init] card.c:554:sc_select_file: returning with: 0                                                                                                      
[pkcs15-init] card.c:362:sc_create_file: called; type=2, path=3f005000, size=5000                                                                               
[pkcs15-init] card.c:367:sc_create_file: returning with: 0                                                                                                      
[pkcs15-init] pkcs15-rtecp.c:171:rtecp_create_pin: called                                                                                                       
[pkcs15-init] card.c:362:sc_create_file: called; type=0, path=, size=8                                                                                          
[pkcs15-init] iso7816.c:99:iso7816_check_sw: Incorrect parameters in the data field                                                                             
[pkcs15-init] card-rtecp.c:564:rtecp_create_file: returning with: Incorrect parameters in APDU                                                                  
[pkcs15-init] card.c:367:sc_create_file: returning with: Incorrect parameters in APDU                                                                           
[pkcs15-init] pkcs15-rtecp.c:209:rtecp_create_pin: returning with: Incorrect parameters in APDU                                                                 
Failed to create PKCS #15 meta structure: Incorrect parameters in APDU                                                                                          
[pkcs15-init] card.c:236:sc_disconnect_card: called
[pkcs15-init] card.c:251:sc_disconnect_card: returning with: 0                                                                                                  
[pkcs15-init] ctx.c:765:sc_release_context: called</code></pre></div><p>У меня в <strong>pkcs11-data</strong> на arm уже вылезала ошибка в ихнем враппере fork&#039;а, я в ней еще детально не разбирался. Просто временный workaround, но грешу на их обветку мютексов...<br />подскажите, пожалуйста, в какую сторону копать?</p>]]></content>
			<author>
				<name><![CDATA[metawishmaster]]></name>
				<uri>https://forum.rutoken.ru/user/7778/</uri>
			</author>
			<updated>2011-08-22T19:47:11Z</updated>
			<id>https://forum.rutoken.ru/post/3964/#p3964</id>
		</entry>
</feed>
