From owner-freebsd-ports@FreeBSD.ORG Thu Aug 18 12:59:10 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B090516A420 for ; Thu, 18 Aug 2005 12:59:10 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from tirith.ics.muni.cz (tirith.ics.muni.cz [147.251.4.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D391843D5F for ; Thu, 18 Aug 2005 12:59:08 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (kloboucek.ics.muni.cz [147.251.3.38]) (user=hopet@META mech=LOGIN bits=0) by tirith.ics.muni.cz (8.13.2/8.13.2) with ESMTP id j7ICx0Nv026347 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 18 Aug 2005 14:59:01 +0200 From: "Petr Holub" To: Date: Thu, 18 Aug 2005 14:59:02 +0200 Message-ID: <00eb01c5a3f4$9b6432f0$5317fb93@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Muni-Spam-TestIP: 147.251.3.38 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean Cc: ports@freebsd.org Subject: FreeBSD Port: security/openct X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 12:59:11 -0000 Hi, I've seen openct (with opensc and Mozilla) not being able to do hotplug of iKey3000 on FreeBSD RELENG_6 (6-STABLE) although the hotplug is enabled in the config file. 1) when I attempt to start the deamon when no key is present, it doesn't start and with debug=1 it just reports: Debug: ifd_scan_usb: BSD: ifd_scan_usb 2) when detaching the key while the daemon is running, it eats up the processor and mozilla complains: sec.c:204:sc_pin_cmd: returning with: PIN code or key incorrect card.c:203:sc_transceive: Unable to transmit: Reader detached (hotplug device?) card.c:238:sc_transmit_apdu: transceive() failed: Reader detached (hotplug device?) card-starcos.c:1172:starcos_set_security_env: APDU transmit failed: Reader detached (hotplug device?) sec.c:67:sc_set_security_env: returning with: Reader detached (hotplug device?) pkcs15-sec.c:312:sc_pkcs15_compute_signature: sc_set_security_env() failed: Reader detached (hotplug device?) 3) when the key is re-attached after (2), the daemons keeps hanging, mozilla says card-starcos.c:1393:starcos_logout: APDU re-transmit failed: Reader reattached (hotplug device?) sec.c:104:sc_logout: returning with: Reader reattached (hotplug device?) but the certicate is no longer accessible. When no hotplug is done, everything works fine except it seems to be a little bit slower than on Win + IE. Best, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz