https://bugs.kde.org/show_bug.cgi?id=525805

Omid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwallet-pam/-/commit/469
                   |                            |570531a0ce2994dbe211e7f2783
                   |                            |4b73e868af
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Omid <[email protected]> ---
Git commit 469570531a0ce2994dbe211e7f27834b73e868af by Omid Kordbache.
Committed on 16/09/2026 at 22:01.
Pushed by ngraham into branch 'master'.

Pass the environment to ksecretd unquoted with coreutils >= 9.12

Since coreutils 9.12, env and printenv shell-quote the values they print,
honouring QUOTING_STYLE and defaulting to shell-escape. pam_kwallet_init
pipes env into ksecretd, which putenv()s each line verbatim, so values
that need quoting arrive with the quotes inside them. One of them is
DBUS_SESSION_BUS_ADDRESS: ksecretd cannot reach the session bus and exits
before it unlocks the wallet.

Ask env for literal output. Older versions of env ignore QUOTING_STYLE,
so their output is unchanged, and -u keeps the variable itself out of the
environment handed to ksecretd.

Tested on Slackware -current with coreutils 9.12 at a real SDDM login
(wallet unlocked, no prompt); env output also compared on coreutils 9.7
and 8.32.

M  +1    -1    pam_kwallet_init

https://invent.kde.org/plasma/kwallet-pam/-/commit/469570531a0ce2994dbe211e7f27834b73e868af

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to