View previous topic :: View next topic |
Author |
Message |
st834 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sat Aug 03, 2024 5:41 pm Post subject: kde-wallet autounblockimg by login |
|
|
Hallo,
I read the guide on how to unlock kde wallet here (https://wiki.gentoo.org/wiki/KDE), however it doesn't help, a similar guide for ArchLinux [url](https://wiki-archlinux-org.translate.goog/title/KDE_Wallet?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en[/url]) didn't help either.
The file /etc/pam.d/sddm:
Code: | #%PAM-1.0
auth substack system-login
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
account substack system-login
password substack system-login
-password optional pam_gnome_keyring.so use_authtok
session optional pam_keyinit.so force revoke
session substack system-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start |
i.e. as specified in the Gentoo manual.
The manuals say that you need a blowfish encryption algorithm, unfortunately I did not find where these settings are set.
Thank a lot for any help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ralphred Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 31 Dec 2013 Posts: 558
|
Posted: Sat Aug 03, 2024 6:02 pm Post subject: |
|
|
Quote: | unfortunately I did not find where these settings are set. |
It's in the kernel IIRC. Code: | /usr/src/linux $ grep -i blow .config
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_BLOWFISH_X86_64 is not set |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
st834 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sat Aug 03, 2024 10:17 pm Post subject: |
|
|
Thank you very much for your response,
I installed the blowfish settings in the kernel as you said, but this did not help, the sddm and sddm-autologin configuration files correspond to the KDE Gentoo manual.
I understand, based on what the manual says:
Quote: | For KWallet security, use classic blowfish encryption instead of GPG |
that blowfish should be indicated somehow in the settings of the wallet itself, and not in the kernel.
I read that the jack creates passwords with blowfish encryption by default. Then the reason probably lies in the configuration files. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
octonoodle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Feb 2024 Posts: 7
|
Posted: Sun Aug 04, 2024 1:39 am Post subject: |
|
|
Blowfish is the default used in KDE wallet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
st834 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sun Aug 04, 2024 6:43 am Post subject: |
|
|
Thank a lot for the answer!
But how then to automatically unlock kde wallet?
I tried different configuration options/etc/pam.d/sddm/etc/pam.d/sddm-autologin and wallet still asks for the password at each login. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c00l.wave Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 24 Aug 2003 Posts: 268
|
Posted: Sun Aug 04, 2024 2:24 pm Post subject: |
|
|
Might be unrelated but I had a similar issue for years because I was naughty and never ran depclean... Once I did KDE was suddenly able to forward the key to kwallet, so some really outdated ebuild must have interfered with the login mechanisms on my system.
autologin is supposed to automatically log in the desktop session without asking for a password in the login manager - that's probably not what you want to do. If it is, then it could also be that maybe kwallet can't receive such "pre-authenticated" passwords (maybe because there is none?). _________________ nohup nice -n -20 cp /dev/urandom /dev/null & |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
octonoodle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Feb 2024 Posts: 7
|
Posted: Sun Aug 04, 2024 6:29 pm Post subject: |
|
|
Other than the configuration in /etc/pam.d what other steps from the guides have you done? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|