<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Рутокен &mdash; pkcs11 + RSA]]></title>
		<link>https://forum.rutoken.ru/topic/687/</link>
		<atom:link href="https://forum.rutoken.ru/feed/rss/topic/687/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «pkcs11 + RSA».]]></description>
		<lastBuildDate>Tue, 24 Mar 2009 09:42:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: pkcs11 + RSA]]></title>
			<link>https://forum.rutoken.ru/post/1301/#p1301</link>
			<description><![CDATA[<p>Добрый день!</p><p>В конфигурационном файле opensc нужно разрешить использовать программную генерацию RSA пары с уровня PKSC#11 для карт, которые не поддерживают это аппаратно.</p>]]></description>
			<author><![CDATA[null@example.com (Алексей Несененко)]]></author>
			<pubDate>Tue, 24 Mar 2009 09:42:56 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/1301/#p1301</guid>
		</item>
		<item>
			<title><![CDATA[Re: pkcs11 + RSA]]></title>
			<link>https://forum.rutoken.ru/post/1300/#p1300</link>
			<description><![CDATA[<div class="quotebox"><cite>sergey пишет:</cite><blockquote><p>Пытаюсь сгенерировать ключ:<br />pkcs11-tool --keypairgen --key-type rsa:2048 --pin 12345678 --label &quot;user&quot; --id 1<br />Получаю ошибку:<br />error: PKCS11 function C_GenerateKeyPair failed: rv = CKR_FUNCTION_FAILED (0x6)<br />Aborting.<br />В связи с этим хотелось бы узнать в чем причина ошибки и как всё-таки её обойти.</p></blockquote></div><p>/usr/local/etc/opensc.conf[/etc/opensc.conf]:<br />app opensc-pkcs11 {<br />&nbsp; &nbsp; &nbsp; &nbsp; pkcs11 {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; soft_keygen_allowed = true;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</p>]]></description>
			<author><![CDATA[null@example.com (_S)]]></author>
			<pubDate>Tue, 24 Mar 2009 09:02:06 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/1300/#p1300</guid>
		</item>
		<item>
			<title><![CDATA[pkcs11 + RSA]]></title>
			<link>https://forum.rutoken.ru/post/1299/#p1299</link>
			<description><![CDATA[<p>Предварительно отформатировал токен:<br />pkcs15-init --erase-card<br />pkcs15-init --create-pkcs15 --so-pin &quot;87654321&quot;<br />pkcs15-init --store-pin --label &quot;User PIN&quot; --auth-id 02 --pin &quot;12345678&quot;</p><p>Пытаюсь сгенерировать ключ:<br />pkcs11-tool --keypairgen --key-type rsa:2048 --pin 12345678 --label &quot;user&quot; --id 1</p><p>Получаю ошибку:<br />error: PKCS11 function C_GenerateKeyPair failed: rv = CKR_FUNCTION_FAILED (0x6)</p><p>Aborting.</p><p>В связи с этим хотелось бы узнать в чем причина ошибки и как всё-таки её обойти.</p><p>Версии железа и софта:<br />Токен: ruToken 64k140z</p><p>$ opensc-tool -i<br />opensc 0.11.7 [gcc&nbsp; 4.1.2 (Gentoo 4.1.2 p1.1)]<br />Enabled features: zlib readline iconv openssl openct nsplugin</p><p>$ openct-tool -v<br />OpenCT 0.6.15</p><p>$ pkcs15-tool -D<br />Using reader with a card: ruToken driver<br />PKCS#15 Card [Rutoken S]:<br />&nbsp; &nbsp; &nbsp; &nbsp; Version&nbsp; &nbsp; &nbsp; &nbsp; : 1<br />&nbsp; &nbsp; &nbsp; &nbsp; Serial number&nbsp; : 263C4F70<br />&nbsp; &nbsp; &nbsp; &nbsp; Manufacturer ID: Aktiv Co.<br />&nbsp; &nbsp; &nbsp; &nbsp; Last update&nbsp; &nbsp; : 20090324051951Z<br />&nbsp; &nbsp; &nbsp; &nbsp; Flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : EID compliant</p><p>PIN [Security Officer PIN]<br />&nbsp; &nbsp; &nbsp; &nbsp; Com. Flags: 0x3<br />&nbsp; &nbsp; &nbsp; &nbsp; ID&nbsp; &nbsp; &nbsp; &nbsp; : 01<br />&nbsp; &nbsp; &nbsp; &nbsp; Flags&nbsp; &nbsp; &nbsp;: [0x9B], case-sensitive, local, unblock-disabled, initialized, soPin<br />&nbsp; &nbsp; &nbsp; &nbsp; Length&nbsp; &nbsp; : min_len:8, max_len:16, stored_len:16<br />&nbsp; &nbsp; &nbsp; &nbsp; Pad char&nbsp; : 0xFF<br />&nbsp; &nbsp; &nbsp; &nbsp; Reference : 1<br />&nbsp; &nbsp; &nbsp; &nbsp; Type&nbsp; &nbsp; &nbsp; : ascii-numeric<br />&nbsp; &nbsp; &nbsp; &nbsp; Path&nbsp; &nbsp; &nbsp; : 3f005015</p><p>PIN [User PIN]<br />&nbsp; &nbsp; &nbsp; &nbsp; Com. Flags: 0x3<br />&nbsp; &nbsp; &nbsp; &nbsp; ID&nbsp; &nbsp; &nbsp; &nbsp; : 02<br />&nbsp; &nbsp; &nbsp; &nbsp; Flags&nbsp; &nbsp; &nbsp;: [0x1B], case-sensitive, local, unblock-disabled, initialized<br />&nbsp; &nbsp; &nbsp; &nbsp; Length&nbsp; &nbsp; : min_len:8, max_len:16, stored_len:16<br />&nbsp; &nbsp; &nbsp; &nbsp; Pad char&nbsp; : 0xFF<br />&nbsp; &nbsp; &nbsp; &nbsp; Reference : 2<br />&nbsp; &nbsp; &nbsp; &nbsp; Type&nbsp; &nbsp; &nbsp; : ascii-numeric<br />&nbsp; &nbsp; &nbsp; &nbsp; Path&nbsp; &nbsp; &nbsp; : 3f005015</p>]]></description>
			<author><![CDATA[null@example.com (sergey)]]></author>
			<pubDate>Tue, 24 Mar 2009 05:41:05 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/1299/#p1299</guid>
		</item>
	</channel>
</rss>
