From nobody Sat Jan 11 01:24:26 2025 X-Original-To: ports-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 4YVLQz1tm3z5kxL8 for ; Sat, 11 Jan 2025 01:24:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVLQz0fXJz46Hx for ; Sat, 11 Jan 2025 01:24:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736558667; 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=oNFkYMEwAB6IdCASJ6itpJsgFSgJPX9azZPUKCpansA=; b=GKYmY3pt78vPmaQzh9j6O27iOWvc4DW5GtRkKiatBjG0D3rqVYOz+cS3D17CHxmGM+mUfu pz4Ezjr7hd/bMWCT4IYKTbRjwsmm0AQvVnjJ9Ct8+C5bz3fDvA99Q26h3LSHr9IgbuQ6xp noA/0iqHRyNOgEpwWbtHACt0kWBKNbjHhsGDDig0N8YRIktk6/+TuKJVQX8+stQKFgRYSb iWypy0t4mZ+CYbYmXNYufx5nuRKmNKThTsM/J0cjcknhNrMsK29TmGWOGih+I8Eko5ydm1 p4IX549YNPIhGXsHYH8Oq8/9S3JSo28tmlEVOqIwzhew945BS1A1Dhe/KthDXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736558667; a=rsa-sha256; cv=none; b=n7ktWz2a8JusWIogqcJRiYvNIfNQsbivCckLVft0fXWceheWd+dXC1tgO5MqjH0smQIv8+ 1o12Z8bAD+cVAu5cWOMz55c8V43hBfqjCxMbRHi88E+Cv6KJ5DpIRWWWwUzMWvZWMDjQaO Ji+u2homa9mtKvxPoCfiPUifqPauy3EdYtDci8pqf4mfZSFngE+AYcTwhUUMWzhQzoQLp1 mkdEScWllQgjPH2FBguHtUa41vBaPw+WLWZ9g8jeUg0k6viZTYLhMOZvujfsrVpgrUygm8 GWo3MnH6oq89qDU5We8FurI45rVW6xrCGH/oSHs/2MLiXw/rQ3JozTr1/oDVFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YVLQz03jGzcrH for ; Sat, 11 Jan 2025 01:24:27 +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 50B1OQFW050014 for ; Sat, 11 Jan 2025 01:24:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50B1OQwF050013 for ports-bugs@FreeBSD.org; Sat, 11 Jan 2025 01:24:26 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: ports-bugs@FreeBSD.org Subject: [Bug 283989] security/gnupg: pcsc stopped working, no token access possible. Date: Sat, 11 Jan 2025 01:24:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: adridg@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283989 Bug ID: 283989 Summary: security/gnupg: pcsc stopped working, no token access possible. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: adridg@freebsd.org Reporter: tomek@cedro.info Assignee: adridg@freebsd.org Flags: maintainer-feedback?(adridg@freebsd.org) Hello world :-) Today my gpg-agent stopped working, probably after recent pkg upgrade, no configuration change. Problem is noted on forums too: https://forums.freebsd.org/threads/smart-card-yubiko-stopped-working.96372/ Seems like caused by PCSCD. Looks like access definitions changed? # pcscd -f 00000000 ../src/auth.c:148:IsClientAuthorized() Error in authorization: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: get_kinfo_proc() failed for pid 29033: No such process 00000027 ../src/auth.c:168:IsClientAuthorized() Process 29033 (user: 1001) = is NOT authorized for action: access_pcsc 00000133 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC= /SC client USB device permissions are fine. Card can be read with yubikey utilities: % ykinfo -s serial: [REDACTED] Another client also fails to read the card for the same reason: % yubikey-agent -l /[REDACTED]/S.gpg-agent.ssh 2025/01/11 02:20:58 Warning: yubikey-agent is meant to run as a background daemon. 2025/01/11 02:20:58 Running multiple instances is likely to lead to conflic= ts. 2025/01/11 02:20:58 Consider using the launchd or systemd services. 2025/01/11 02:21:21 Connecting to the YubiKey... 2025/01/11 02:21:21 agent 11: could not reach YubiKey: connecting to pscs: = an internal communications error has been detected Any hints welcome. This is kinda blocker for all token based ssh connections :-( --=20 You are receiving this mail because: You are the assignee for the bug.=