Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-wallet autounblockimg by login
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sat Aug 03, 2024 5:41 pm    Post subject: kde-wallet autounblockimg by login Reply with quote

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
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 638

PostPosted: Sat Aug 03, 2024 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sat Aug 03, 2024 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
octonoodle
n00b
n00b


Joined: 21 Feb 2024
Posts: 8

PostPosted: Sun Aug 04, 2024 1:39 am    Post subject: Reply with quote

Blowfish is the default used in KDE wallet.
Back to top
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sun Aug 04, 2024 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
c00l.wave
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 268

PostPosted: Sun Aug 04, 2024 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
octonoodle
n00b
n00b


Joined: 21 Feb 2024
Posts: 8

PostPosted: Sun Aug 04, 2024 6:29 pm    Post subject: Reply with quote

Other than the configuration in /etc/pam.d what other steps from the guides have you done?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum