From nobody Sat May 16 17:09:10 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gHrBt56Qnz6cjB7 for ; Sat, 16 May 2026 17:09:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gHrBt4Y5qz41Fh for ; Sat, 16 May 2026 17:09:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778951350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jvQY05sQsUsIc3H5g3oedxbkZGJdzho/OEUo9buH/eE=; b=qnwHLzwC+7+JihYy7F7aYSrNE2es0HV59q7apcyTtoos9T9gkhR+1AMml8EgJY5mRfvoaR RpBSLYaoaQvJCu0Tc38dgF3WIW8gx/kzw/HQtI/NYmOa0O1KM8VVX4UhUaBBk/Wkdbdhfn A3Ct0N4cHM2v0y3KazxWeYRn/p4FQ3dTHCSz4aCJtQREaEdZmIDLaJ7FW1IEdj5LvEsZXa QSbELUVyOOqBG/kUF2KRAF5EFoqj7g4Azbz7ot20eoEENImBHo8S9y/ELSbWsLvYHC/B5/ 3c/ePkzqHqUBtJfkYConLY77iaDls1WDrdptxUDXsxKdAlZq77YPbEutksGsCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778951350; a=rsa-sha256; cv=none; b=ALKmXF3jGYzCW0kD6siAA2pWfpeQWeG8uswX38c+xYggLqoH2opw759ttbZ1K06dCNG/fE IiV2AAgw80M7cDc6O9WnJ3yeLjKZXdS2QYNO/Z11O5zr7vRllIzsJPf0RXUgbZj7W6sCXF r6yU6qWlVEosuNWrwe0ExKw2UovmaQl6NqX1reMngC4L+RFzbif0ZWD85Dk1KvxiTOX4+T 308tUzSHumSURPaNq28Z4HEmgfw4/WHS6/UCgFuJHxjxbeVdCPaghsmbFk1UWYBHkUQzIw ZJU958FtgqVRYSHv8PPJnK3XRP7uuCLiS06M0Qd/VRgXg2u98yOE9XeSitI3qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778951350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jvQY05sQsUsIc3H5g3oedxbkZGJdzho/OEUo9buH/eE=; b=KWcwZilt5uKlC1ChzUoXTVXRFYsNOyeW4JM1UkyKt97b/t/hc4O3kpSmuuYSVg6EQHVVcv RrC63TTElme0MD+6gk/vReAca+7BIr2xOazTEP7TkaEi+YSinTwBdfYhwTEa4FiRbHUwPb Bp+gB64rGz/CUdi5QuhC/cYKSWElX+bbh09TnT8ztE0D3tqnOgubeVXwJROotYq1UT9+Ml DGe+I/DuawYOwU6y+7rEb6/4+VOyURKnWS1IQlqyF/U46sZI5RpdNfQgJOeikeNGKt27K6 SW1aYLAr6eWbRL/A4dKUKNdfwG+z6z8kXollM0EJPxIyOWxwxv7k+mn9wNhWcg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gHrBt3rrsz13Bw for ; Sat, 16 May 2026 17:09:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 64GH9Ano077993 for ; Sat, 16 May 2026 17:09:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64GH9AWK077992 for bugs@FreeBSD.org; Sat, 16 May 2026 17:09:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295336] openssh: pkcs11 is broken in new version (10.3p1) Date: Sat, 16 May 2026 17:09:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pouria@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295336 Bug ID: 295336 Summary: openssh: pkcs11 is broken in new version (10.3p1) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pouria@freebsd.org Created attachment 270791 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D270791&action= =3Dedit patch Hi All of my pkcs11 libraries are broken after 2574974648c68c738aec3ff96644d888d7913a37 (D56999). See: https://github.com/openssh/openssh-portable/commit/3ca274e44cb2c2351376fc14= e4c3e92ba4a8f87b ``` % ssh-agent -d -a /tmp/agent.socket SSH_AUTH_SOCK=3D/tmp/agent.socket; export SSH_AUTH_SOCK; echo Agent pid 15732; ... debug3: process_add: add /usr/local/lib/libpcsclite.so.1 lib_contains_symbol: nlist failed for /usr/local/lib/libpcsclite.so.1 provider /usr/local/lib/libpcsclite.so.1 is not a PKCS11 library debug3: pkcs11_add_provider: response 5 debug1: pkcs11_add_provider: no keys; terminate helper debug3: helper_terminate: terminating helper for /usr/local/lib/libpcsclite.so.1; remaining 0 keys ``` Same for opensc and libykcs11.so (yubikey): ``` debug3: process_add: add /usr/local/lib/libykcs11.so.2.7.2 lib_contains_symbol: nlist failed for /usr/local/lib/libykcs11.so.2.7.2 provider /usr/local/lib/libykcs11.so.2.7.2 is not a PKCS11 library debug3: pkcs11_add_provider: response 5 debug1: pkcs11_add_provider: no keys; terminate helper ``` After reverting 3ca274e in openssh by the patch attached: ``` debug3: pkcs11_start_helper: helper 1 for "/usr/local/lib/libykcs11.so.2.7.= 2" on fd 6 pid 61042 debug3: pkcs11_add_provider: add /usr/local/lib/libykcs11.so.2.7.2 debug1: pkcs11_start_helper: starting /usr/local/libexec/ssh-pkcs11-helper = -vvv debug3: pkcs11_init: called, interactive =3D 0 debug1: process_add debug3: process_add: add /usr/local/lib/libykcs11.so.2.7.2 debug1: provider /usr/local/lib/libykcs11.so.2.7.2: manufacturerID cryptokiVersion 2.40 libraryDescription libraryVersion 2.72 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=