Last indexation completed on 2022-07-04 12:54:15 UTC

How kwallet-pam works:
During the pam "auth" (pam_authenticate) stage the module gets the password in plain text. It hashes it against a random salt previously generated by kwallet of random data and keeps it in memory.
When we get to the "session" (pam_open_session) stage the pam module forks and launches kwalletd as the user with file descriptor AND a socket. We send the salted password over the file descriptor after forking and write the socket address to an env variable.
KWalletd recieves the pre-hashed key and then sits there doing nothing. (before the QApplication constructor)
Later after session startup (autostart apps phase 0) a small script passes the newly set environment from the user session to kwalletd over the socket.
kwalletd receives this, sets the environment variables and continues into the normal bootup.
The session env is needed as if we launch pre session various important env vars are not set and kwalletd is a graphical app.

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2022-05-20 10:46:19  
folder cmake/ - 2021-05-03 10:16:13  
folder LICENSES/ - 2021-05-24 10:05:22  
file CMakeLists.txt 2607 bytes 2022-07-03 10:27:48 -  
file pam_darwin.c 1099 bytes 2021-05-24 10:05:22 2021-12-21 14:17:51  
file pam_darwin.h 377 bytes 2021-05-24 10:05:22 2021-12-21 14:17:51  
file pam_kwallet.c 25141 bytes 2021-06-17 10:03:54 2021-12-21 14:17:51  
file pam_kwallet_init 110 bytes 2021-05-03 10:16:13 2021-12-21 14:17:51  
file pam_kwallet_init.desktop.cmake 5020 bytes 2022-07-03 10:27:48 -  
file plasma-kwallet-pam.service.in 314 bytes 2022-01-30 10:55:49 -  
file README.txt 968 bytes 2021-05-03 10:16:13 -