LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2019, 11:35 AM   #1
marcusmaria
LQ Newbie
 
Registered: Jun 2019
Posts: 11

Rep: Reputation: Disabled
Automatically unlock keyring


Hi all.

I am using -current with ktowns latest Plasma 5 and I wonder if one of you knows a way to unlock the KDE Keyring automatically on logon without PAM?

Greetings
Marcus
 
Old 07-27-2019, 07:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
I think the whole point of keyrings is that they don't unlock automatically.

Don't get me wrong. I loathe keyrings (I use KeepassXC) and get really annoyed when a keyring starts nagging me.
 
1 members found this post helpful.
Old 07-28-2019, 12:42 AM   #3
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by frankbell View Post
I think the whole point of keyrings is that they don't unlock automatically.
The user just authenticated by logging in though, so having the keyring unlock too seems pretty reasonable.
 
1 members found this post helpful.
Old 07-28-2019, 09:24 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by drgibbon View Post
The user just authenticated by logging in though, so having the keyring unlock too seems pretty reasonable.
Not all threats come when you are logged out.

You know what they say: "Security or Convenience? Pick one!"
 
Old 07-28-2019, 09:31 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by marcusmaria View Post
I am using -current with ktowns latest Plasma 5 and I wonder if one of you knows a way to unlock the KDE Keyring automatically on logon without PAM?
The only way to achieve this is to use PAM, and to have the passphrase of your keyring be exactly the same as your account's password.
No solution without PAM.
 
Old 07-28-2019, 11:31 AM   #6
marcusmaria
LQ Newbie
 
Registered: Jun 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
pam

@alienBOB thanks for making it clear! The other option which is really insecure is to create a keyring without any password which will disable the prompt after login. I have decided for the uncomfortable way and will just accept that it is like that.
 
Old 07-30-2019, 01:13 PM   #7
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
This might help as an alternative....I just tried it and it seems to work... Thank........

https://www.linuxquestions.org/quest...1/#post6019910
 
Old 07-30-2019, 02:32 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by PROBLEMCHYLD View Post
This might help as an alternative....I just tried it and it seems to work... Thank........

https://www.linuxquestions.org/quest...1/#post6019910
Configuring Chrome/Chromium not to use Gnome Keyring and therefore storing all your passwords in cleartext (as explained in that post you link to), has nothing to do with trying to automatically unlock a keyring.
 
Old 07-30-2019, 03:17 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Configuring Chrome/Chromium not to use Gnome Keyring and therefore storing all your passwords in cleartext (as explained in that post you link to), has nothing to do with trying to automatically unlock a keyring.
And I quote
Quote:
gnome-keyring is installed. I had it disabled, I had re-named /usr/bin/gnome-keyring-daemon to /usr/bin/gnome-keyring-daemon.bak. I found the keyring to be a pita.
This worked for me such as the latest Remmina. No keyring popup. Reason I said might be an alternative.

Last edited by PROBLEMCHYLD; 07-30-2019 at 03:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove "Enter password for default keyring tu unlock" Revanvar Linux - Newbie 4 11-20-2015 11:49 AM
Keyring keyring Go away come again another day sephox Linux - Software 2 01-01-2012 05:45 PM
Enter Password for Default Keyring to Unlock Ubuntu213 Linux - Newbie 4 12-30-2010 03:05 PM
Unlock keyring at login for NetworkManager and wireless in KDE michael.guerrero Linux - Software 0 05-08-2009 02:50 PM
LXer: Auto-Unlock Keyring Manager In Ubuntu Intrepid LXer Syndicated Linux News 1 05-03-2009 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration