<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Рутокен &mdash; Rutoken ECP pkcs11-tool Segmentation fault в ArchLinux как победить?]]></title>
	<link rel="self" href="https://forum.rutoken.ru/feed/atom/topic/3175/" />
	<updated>2020-05-28T17:44:01Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.rutoken.ru/topic/3175/</id>
		<entry>
			<title type="html"><![CDATA[Re: Rutoken ECP pkcs11-tool Segmentation fault в ArchLinux как победить?]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/14236/#p14236" />
			<content type="html"><![CDATA[<p>Спасибо, все заработало!<br />Подбросил навскидку библиотеку 1.8.02.0</p>]]></content>
			<author>
				<name><![CDATA[Максим Сидельников]]></name>
				<uri>https://forum.rutoken.ru/user/11469/</uri>
			</author>
			<updated>2020-05-28T17:44:01Z</updated>
			<id>https://forum.rutoken.ru/post/14236/#p14236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rutoken ECP pkcs11-tool Segmentation fault в ArchLinux как победить?]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/14234/#p14234" />
			<content type="html"><![CDATA[<p>Здравствуйте.</p><p>Попробуйте, пожалуйста, использовать библиотеку <strong>librtpkcs11ecp.so</strong> предыдущей версии <span class="bbu">ниже, чем 2.0.0.0</span>.<br />Скачать можно <a href="https://download.rutoken.ru/Rutoken/PKCS11Lib/">тут</a>.<br />Причем нужно взять сразу *.so без установщика.</p>]]></content>
			<author>
				<name><![CDATA[Антон Тихиенко]]></name>
				<uri>https://forum.rutoken.ru/user/8822/</uri>
			</author>
			<updated>2020-05-28T08:58:05Z</updated>
			<id>https://forum.rutoken.ru/post/14234/#p14234</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Rutoken ECP pkcs11-tool Segmentation fault в ArchLinux как победить?]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/14228/#p14228" />
			<content type="html"><![CDATA[<p>Rutoken ECP рабочий, с ключами и сертификатами; без проблем работал в Ubuntu, MacOS, Windows...<br />Пришла производственная пора приучить его к ArchLinux 5.6.14 (x86_64).<br />Пакет librtpkcs11ecp_2.0.4.0-1_amd64.deb пересобран с PKGBUILD и без ошибок установлен.<br />Необходимые библиотеки (ccid, pcsclite, pcsc-tools, opensс установлены из репозитория).<br />При попытке просмотреть модуль через pkcs11-tool выдает Segmentation fault...<br />Подскажите что делать, куда копать? Буду признателен за помощь.</p><p>Логи и вывод программ:<br /><strong>1) pcscd -afddd</strong><br />00000000 debuglog.c:299:DebugLogSetLevel() debug level=debug<br />00000067 debuglog.c:299:DebugLogSetLevel() debug level=debug<br />00000032 debuglog.c:299:DebugLogSetLevel() debug level=debug<br />00000020 debuglog.c:299:DebugLogSetLevel() debug level=debug<br />00000085 utils.c:81:GetDaemonPid() Can&#039;t open /run/pcscd/pcscd.pid: No such file or directory<br />00000228 configfile.l:293:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d<br />00000047 configfile.l:329:DBGetReaderListDir() Skipping non regular file: .<br />00000021 configfile.l:329:DBGetReaderListDir() Skipping non regular file: ..<br />00000020 configfile.l:369:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin<br />00000108 pcscdaemon.c:663:main() pcsc-lite 1.8.26 daemon ready.<br />00010113 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001<br />00000470 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001<br />00000463 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000264 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000285 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x17EF, PID: 0x1000, path: /dev/bus/usb/001/002<br />00000458 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001<br />00000303 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001<br />00000278 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0030, path: /dev/bus/usb/005/002<br />00000020 hotplug_libudev.c:440:HPAddDevice() Adding USB device: Aktiv Rutoken ECP<br />00000075 readerfactory.c:1074:RFInitializeReader() Attempting startup of Aktiv Rutoken ECP 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so<br />00000382 readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0<br />00000040 ifdhandler.c:2008:init_driver() Driver version: 1.4.32<br />00001230 ifdhandler.c:2025:init_driver() LogLevel: 0x0003<br />00000018 ifdhandler.c:2036:init_driver() DriverOptions: 0x0000<br />00000334 ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a89/0030:libudev:0:/dev/bus/usb/005/002<br />00000024 ccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist<br />00001204 ccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)<br />00000017 ccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver<br />00000015 ccid_usb.c:322:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.<br />00097989 ccid_usb.c:659:OpenUSBByName() Found Vendor/Product: 0A89/0030 (Aktiv Rutoken ECP)<br />00000031 ccid_usb.c:661:OpenUSBByName() Using USB bus/device: 5/2<br />00000015 ccid_usb.c:722:OpenUSBByName() bNumDataRatesSupported is 0<br />00007859 ifdhandler.c:380:IFDHGetCapabilities() tag: 0xFB3, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00000039 readerfactory.c:391:RFAddReader() Using the pcscd polling thread<br />00002116 ifdhandler.c:380:IFDHGetCapabilities() tag: 0xFAE, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00000041 ifdhandler.c:476:IFDHGetCapabilities() Reader supports 1 slot(s)<br />00001269 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001<br />00001073 hotplug_libudev.c:299:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001<br />00000515 readerfactory.c:1409:RFWaitForReaderInit() Waiting init for reader: Aktiv Rutoken ECP 00 00<br />00000949 ifdhandler.c:1166:IFDHPowerICC() action: PowerUp, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00001991 eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED<br />00000045 Card ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1 <br />00404939 ifdhandler.c:1166:IFDHPowerICC() action: PowerDown, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00001995 eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED<br />04735995 pcscdaemon.c:193:signal_thread() Received signal: 2<br />00000028 pcscdaemon.c:227:signal_thread() Preparing for suicide<br />00001618 hotplug_libudev.c:717:HPStopHotPluggables() Hotplug stopped<br />01000106 readerfactory.c:1353:RFCleanupReaders() entering cleaning function<br />00000031 readerfactory.c:1361:RFCleanupReaders() Stopping reader: Aktiv Rutoken ECP 00 00<br />00000024 readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1<br />00000021 eventhandler.c:175:EHDestroyEventHandler() Stomping thread.<br />00000021 ifdhandler.c:380:IFDHGetCapabilities() tag: 0xFB1, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00000020 ifdhandler.c:380:IFDHGetCapabilities() tag: 0xFB2, usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00000019 eventhandler.c:204:EHDestroyEventHandler() Waiting polling thread<br />00306223 eventhandler.c:504:EHStatusHandlerThread() Die<br />00000136 eventhandler.c:215:EHDestroyEventHandler() Thread stomped.<br />00000044 readerfactory.c:1125:RFUnInitializeReader() Attempting shutdown of Aktiv Rutoken ECP 00 00.<br />00000034 ifdhandler.c:283:IFDHCloseChannel() usb:0a89/0030:libudev:0:/dev/bus/usb/005/002 (lun: 0)<br />00002762 ccid_usb.c:189:close_libusb_if_needed() libusb_exit<br />00000278 readerfactory.c:987:RFUnloadReader() Unloading reader driver.<br />00000249 winscard_svc.c:155:ContextsDeinitialize() remaining threads: 0<br />00000035 pcscdaemon.c:787:at_exit() cleaning /run/pcscd</p><p><strong>2) pcsc_scan</strong><br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />0: Aktiv Rutoken ECP 00 00<br />[2D [2D<br />Tue May 26 21:21:18 2020<br />[2D [2D Reader 0: Aktiv Rutoken ECP 00 00<br />&nbsp; Event number: 0<br />&nbsp; Card state: Card inserted, <br />&nbsp; ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1<br />ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1<br />+ TS = 3B --&gt; Direct Convention<br />+ T0 = 8B, Y(1): 1000, K: 11 (historical bytes)<br />&nbsp; TD(1) = 01 --&gt; Y(i+1) = 0000,[35m Protocol T = 1 [0m<br />-----<br />+ Historical bytes: 52 75 74 6F 6B 65 6E 20 44 53 20<br />&nbsp; Category indicator byte: 52 (proprietary format)<br />+ TCK = C1 (correct checksum)</p><p>Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):<br />3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1<br />[34m&nbsp; &nbsp; Aktiv Rutoken ECP[0m<br />[34m&nbsp; &nbsp; <a href="https://www.rutoken.ru/products/all/rutoken-ecp/">https://www.rutoken.ru/products/all/rutoken-ecp/</a>[0m</p><p>[3D - [3D \ [3D | [3D / [3D - [2D [2D</p><p><strong>3) ccid</strong><br />Repository&nbsp; &nbsp; &nbsp; : community<br />Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ccid<br />Version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1.4.32-1<br />Description&nbsp; &nbsp; &nbsp;: A generic USB Chip/Smart Card Interface Devices driver<br />Architecture&nbsp; &nbsp; : x86_64<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="https://ccid.apdu.fr/">https://ccid.apdu.fr/</a><br />Licenses&nbsp; &nbsp; &nbsp; &nbsp; : LGPL&nbsp; GPL<br />Groups&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : None<br />Provides&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Depends On&nbsp; &nbsp; &nbsp; : pcsclite&nbsp; libusb&nbsp; flex<br />Optional Deps&nbsp; &nbsp;: None<br />Conflicts With&nbsp; : None<br />Replaces&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Download Size&nbsp; &nbsp;: 75.30 KiB<br />Installed Size&nbsp; : 253.68 KiB<br />Packager&nbsp; &nbsp; &nbsp; &nbsp; : Christian Hesse &lt;arch@eworm.de&gt;<br />Build Date&nbsp; &nbsp; &nbsp; : Sat May 23 23:28:25 2020<br />Validated By&nbsp; &nbsp; : MD5 Sum&nbsp; SHA-256 Sum&nbsp; Signature</p><p><strong>4) opensc</strong><br />Repository&nbsp; &nbsp; &nbsp; : community<br />Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : opensc<br />Version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0.20.0-1<br />Description&nbsp; &nbsp; &nbsp;: Tools and libraries for smart cards<br />Architecture&nbsp; &nbsp; : x86_64<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="https://github.com/OpenSC/OpenSC/wiki">https://github.com/OpenSC/OpenSC/wiki</a><br />Licenses&nbsp; &nbsp; &nbsp; &nbsp; : LGPL<br />Groups&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : None<br />Provides&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Depends On&nbsp; &nbsp; &nbsp; : pcsclite&nbsp; glib2&nbsp; libltdl<br />Optional Deps&nbsp; &nbsp;: None<br />Conflicts With&nbsp; : None<br />Replaces&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Download Size&nbsp; &nbsp;: 1208.11 KiB<br />Installed Size&nbsp; : 4105.59 KiB<br />Packager&nbsp; &nbsp; &nbsp; &nbsp; : Christian Rebischke &lt;Chris.Rebischke@archlinux.org&gt;<br />Build Date&nbsp; &nbsp; &nbsp; : Tue Mar&nbsp; 3 03:32:09 2020<br />Validated By&nbsp; &nbsp; : MD5 Sum&nbsp; SHA-256 Sum&nbsp; Signature</p><p><strong>5) pcsclite</strong><br />Repository&nbsp; &nbsp; &nbsp; : community<br />Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : pcsclite<br />Version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1.8.26-1<br />Description&nbsp; &nbsp; &nbsp;: PC/SC Architecture smartcard middleware library<br />Architecture&nbsp; &nbsp; : x86_64<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="https://pcsclite.apdu.fr/">https://pcsclite.apdu.fr/</a><br />Licenses&nbsp; &nbsp; &nbsp; &nbsp; : BSD<br />Groups&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : None<br />Provides&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Depends On&nbsp; &nbsp; &nbsp; : python&nbsp; systemd<br />Optional Deps&nbsp; &nbsp;: None<br />Conflicts With&nbsp; : None<br />Replaces&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Download Size&nbsp; &nbsp;: 98.48 KiB<br />Installed Size&nbsp; : 302.50 KiB<br />Packager&nbsp; &nbsp; &nbsp; &nbsp; : Christian Hesse &lt;arch@eworm.de&gt;<br />Build Date&nbsp; &nbsp; &nbsp; : Fri Jan 10 15:38:19 2020<br />Validated By&nbsp; &nbsp; : MD5 Sum&nbsp; SHA-256 Sum&nbsp; Signature</p><p><strong>6) pkcs11-tools</strong><br />Repository&nbsp; &nbsp; &nbsp; : community<br />Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : pcsc-tools<br />Version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1.5.6-1<br />Description&nbsp; &nbsp; &nbsp;: PC/SC Architecture smartcard tools<br />Architecture&nbsp; &nbsp; : x86_64<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/">http://ludovic.rousseau.free.fr/softwares/pcsc-tools/</a><br />Licenses&nbsp; &nbsp; &nbsp; &nbsp; : GPL<br />Groups&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : None<br />Provides&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Depends On&nbsp; &nbsp; &nbsp; : pcsclite&nbsp; pcsc-perl&nbsp; glib-perl<br />Optional Deps&nbsp; &nbsp;: perl-gtk3: gscriptor<br />Conflicts With&nbsp; : None<br />Replaces&nbsp; &nbsp; &nbsp; &nbsp; : None<br />Download Size&nbsp; &nbsp;: 122.97 KiB<br />Installed Size&nbsp; : 458.98 KiB<br />Packager&nbsp; &nbsp; &nbsp; &nbsp; : Felix Yan &lt;felixonmars@archlinux.org&gt;<br />Build Date&nbsp; &nbsp; &nbsp; : Mon Mar 16 01:38:57 2020<br />Validated By&nbsp; &nbsp; : MD5 Sum&nbsp; SHA-256 Sum&nbsp; Signature</p>]]></content>
			<author>
				<name><![CDATA[Максим Сидельников]]></name>
				<uri>https://forum.rutoken.ru/user/11469/</uri>
			</author>
			<updated>2020-05-26T19:40:56Z</updated>
			<id>https://forum.rutoken.ru/post/14228/#p14228</id>
		</entry>
</feed>
