<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Рутокен &mdash; Как выполнить GOSTR3410-2012-256 через pkcs11-tool]]></title>
	<link rel="self" href="https://forum.rutoken.ru/feed/atom/topic/3371/" />
	<updated>2021-06-21T08:43:33Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.rutoken.ru/topic/3371/</id>
		<entry>
			<title type="html"><![CDATA[Re: Как выполнить GOSTR3410-2012-256 через pkcs11-tool]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/15660/#p15660" />
			<content type="html"><![CDATA[<p>Спасибо, так работает !</p>]]></content>
			<author>
				<name><![CDATA[muzi]]></name>
				<uri>https://forum.rutoken.ru/user/11676/</uri>
			</author>
			<updated>2021-06-21T08:43:33Z</updated>
			<id>https://forum.rutoken.ru/post/15660/#p15660</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как выполнить GOSTR3410-2012-256 через pkcs11-tool]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/15659/#p15659" />
			<content type="html"><![CDATA[<p>Добрый день!</p><p>Попробуйте так:<br /></p><div class="codebox"><pre><code>echo &quot;hello&quot; | pkcs11-tool --module /usr/lib/librtpkcs11ecp.so -s --id 4d594944313233 -l --pin 12345678 -m GOSTR3410-WITH-GOSTR3411-12-256 | base64 </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Евгений Мироненко]]></name>
				<uri>https://forum.rutoken.ru/user/8673/</uri>
			</author>
			<updated>2021-06-21T08:26:33Z</updated>
			<id>https://forum.rutoken.ru/post/15659/#p15659</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как выполнить GOSTR3410-2012-256 через pkcs11-tool]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/15657/#p15657" />
			<content type="html"><![CDATA[<p>Добрый день.</p><p>Через сервис <a href="https://ra.rutoken.ru/">https://ra.rutoken.ru/</a> сделал на рутокене тестовый контейнер с сертификатом:<br />pkcs11-tool --module /usr/lib/librtpkcs11ecp.so --list-objects</p><p>...<br />Public Key Object; GOSTR3410-2012-256<br />&nbsp; PARAMS OID: 06072a850302022301<br />&nbsp; VALUE:&nbsp; &nbsp; &nbsp; 5d1616090359ca2ca0b5a3120a4f0573384b315eb67993367dab0936c876a75a<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 518ec4b26d307fd7d0f827e67732da20f78de7064c19a9d70b314fa6d1dc98f9<br />&nbsp; label:&nbsp; &nbsp; &nbsp; <br />&nbsp; ID:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4d594944313233<br />&nbsp; Usage:&nbsp; &nbsp; &nbsp; verify<br />&nbsp; Access:&nbsp; &nbsp; &nbsp;local<br />....</p><br /><p>пытаюсь подписать: </p><p>$ echo &quot;hello&quot; | pkcs11-tool --module /usr/lib/librtpkcs11ecp.so -s --id 4d594944313233 -l --pin 12345678 | base64 <br />Using slot 0 with a present token (0x0)<br />Using signature algorithm RSA-PKCS<br />error: PKCS11 function C_SignInit failed: rv = CKR_KEY_TYPE_INCONSISTENT (0x63)<br />Aborting.</p><p>В чем ошибка ?</p>]]></content>
			<author>
				<name><![CDATA[muzi]]></name>
				<uri>https://forum.rutoken.ru/user/11676/</uri>
			</author>
			<updated>2021-06-21T07:50:35Z</updated>
			<id>https://forum.rutoken.ru/post/15657/#p15657</id>
		</entry>
</feed>
