Bug 1388825 - kwallet pam doesn't work with sddm-autologin
Summary: kwallet pam doesn't work with sddm-autologin
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sddm
Version: 24
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 09:09 UTC by Alvin
Modified: 2018-03-18 14:30 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:00:59 UTC
Type: Bug


Attachments (Terms of Use)

Description Alvin 2016-10-26 09:09:36 UTC
Description of problem:

Version-Release number of selected component (if applicable):
pam-kwallet 5.8.2 release 0.1.fc24 (copr: group_kdesig-plasma-5-unstable)

How reproducible:

Steps to Reproduce:
1. Have a wallet named kwallet (default).
   Use the same password for kwallet as login.
2. Log in using sddm.

Actual results:
Kwallet asks for the kdewallet password

Expected results:
kwallet unlocks without asking the password

Comment 1 Rex Dieter 2016-10-27 12:32:17 UTC
Can you verify using kwalletmanager4 (for your kde4 wallet) and kwalletmanager (for your kf5 wallet) that wallets are open or not?

Otherwise, can you elaborate how you determine that your wallet is not yet open?


Once verified, I encourage you to consider reporting this upstream to bugs.kde.org

Comment 2 Alvin 2016-11-16 08:21:06 UTC
Please close this bug. This behaviour might entirely be my own fault.

I can't remember setting it, but SDDM was set to auto-login. On disabling auto-login, I no longer needed to fill in the kwallet password.

(It would be nice to have kwallet unlock too on auto-login, but that's another issue.)

Comment 3 Rex Dieter 2016-11-16 12:45:32 UTC
Thanks, triaging to sddm

Comment 4 Raphael Groner 2016-11-17 10:01:36 UTC
AFAIK that's a general issue with auto-login because the login manager (here sddm) does not hand the password to pam, so kwallet can not unlock.
Is it reproducible with lightdm?

Comment 5 Raphael Groner 2017-06-11 15:20:59 UTC
Any news here? Should we open a RFE for upstream?

Comment 6 Martin Bříza 2017-06-19 11:39:57 UTC
Yeah, I guess you should open an enhancement request against the upstream project. This is not really a bug on itself, considering how the PAM module works.

Comment 7 Fedora End Of Life 2017-07-25 23:37:53 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-08-08 19:00:59 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Kevin Kofler 2018-03-18 14:30:53 UTC
This cannot possibly work. To unlock a password-protected wallet, you have to enter the password somewhere. With autologin, the password is never entered. (Autologin does not save the user password, it skips asking for it.)

If you want a wallet that always auto-unlocks without you having to enter the password anywhere, set the wallet password to an empty string. (But then, file permissions will be the only thing protecting it from unauthorized access, so if somebody can access your files, e.g., by physically stealing the HDD/SSD or the entire machine, or by becoming root, they will have access to the wallet too.)


Note You need to log in before you can comment on or make changes to this bug.