LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-14-2020, 09:20 AM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
What keyring is in slack current and how to access it


I get popups about
Quote:
An application wants to create a new keyring called 'Default Keyring'
I've found plenty online about simply hitting 'enter' and having an empty password keyring and the prompts go away.

That's not what I want to do.

Rather, I'd like to know: What app controls the keyring? Is it gnome-keyring? It's installed but doesn't appear to have any configuration options at all. Seahorse is not on the system.

If there's an embedded keyring daemon running, I'd like to be able to configure it. Any suggestions?
 
Old 04-14-2020, 01:46 PM   #2
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Need more info. KDE? XFCE? ?
 
Old 04-14-2020, 03:30 PM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Gordie View Post
Need more info. KDE? XFCE? ?
XFCE
 
Old 04-14-2020, 04:09 PM   #4
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
It might not be best practice, but I turn gnome-keyring off.

Code:
# chmod -x $(type -p gnome-keyring-daemon)
I just find it annoying.
 
3 members found this post helpful.
Old 04-14-2020, 04:25 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by phalange View Post
I get popups about

I've found plenty online about simply hitting 'enter' and having an empty password keyring and the prompts go away.

That's not what I want to do.

Rather, I'd like to know: What app controls the keyring? Is it gnome-keyring? It's installed but doesn't appear to have any configuration options at all. Seahorse is not on the system.

If there's an embedded keyring daemon running, I'd like to be able to configure it. Any suggestions?
It's gnome-keyring-daemon. Take a look at the autostarted services in Applications -> Settings -> Session and Startup -> Application Autostart

I haven't seen any way to configure it other than command line options (maybe DBus can, but I haven't looked into that).
 
1 members found this post helpful.
Old 04-14-2020, 05:14 PM   #6
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Skaendo View Post
I just find it annoying.
Me too, mostly since I don't want to dump passwords into some black hole.

Quote:
Originally Posted by Richard Cranium View Post
It's gnome-keyring-daemon.
Interestingly neither the "Certificate and Key Storage" nor the "Secret Storage Service" are enabled in session startup. And yet this thing comes alive every time Nextcloud loads (and sometimes with Brave Browser logging into Google).

I just checked htop, and the daemon is running. I may have to use skaendo's suggestion and kill it at the source. It's utterly useless if I can't control it.
 
Old 04-14-2020, 05:18 PM   #7
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by phalange View Post
XFCE
Look in ~/config/autostart for gnome-keyring-gpg.desktop

Change it to read
Code:
[Desktop Entry]
Type=Application
Hidden=true
 
2 members found this post helpful.
Old 04-14-2020, 05:20 PM   #8
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Gordie View Post
Look in ~/config/autostart for gnome-keyring-gpg.desktop

Change it to read
Code:
[Desktop Entry]
Type=Application
Hidden=true
I see, so this effectively mutes it?
 
Old 04-14-2020, 06:02 PM   #9
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by phalange View Post
I see, so this effectively mutes it?
Mine is muted and that is copied from my file.
Oh,make it non-executable

Last edited by Gordie; 04-14-2020 at 06:16 PM.
 
1 members found this post helpful.
Old 04-14-2020, 06:39 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by phalange View Post
Interestingly neither the "Certificate and Key Storage" nor the "Secret Storage Service" are enabled in session startup. And yet this thing comes alive every time Nextcloud loads (and sometimes with Brave Browser logging into Google).
DBus is probably doing its magic under the covers.

You can launch qdbusviewer-qt5 and look in the Session Bus tab; you'll find both org.freedesktop.secrets and org.gnome.keyring in there.

You can double-click on leaves in the Methods panel to see what DBus knows about your session.
 
1 members found this post helpful.
Old 04-14-2020, 07:23 PM   #11
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Thanks everyone. The Zombie Keyring is going down.
 
Old 04-14-2020, 07:42 PM   #12
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by phalange View Post
Thanks everyone. The Zombie Keyring is going down.
If you kill it like I do, you'll need to stop it or reboot for it to take effect.
 
1 members found this post helpful.
Old 09-17-2021, 07:33 PM   #13
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by Skaendo View Post
It might not be best practice, but I turn gnome-keyring off.

Code:
# chmod -x $(type -p gnome-keyring-daemon)
I just find it annoying.
My method didn't work this time but this method works
 
Old 10-03-2021, 04:57 PM   #14
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Rep: Reputation: Disabled
Similar concern; gnome-keyring-daemon unexpectedly appeared in the process list for my Slackware box:

Code:
$ ps -e f | grep gnome-keyring | grep -v grep
 3150 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
A little grepping found two dbus files (contents below) for starting gnome-keyring-daemon with the arguments shown in the above process list extract:

Code:
$ cat /usr/share/dbus-1/services/org.freedesktop.secrets.service
[D-BUS Service]
Name=org.freedesktop.secrets
Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets

$ cat /usr/share/dbus-1/services/org.gnome.keyring.service
[D-BUS Service]
Name=org.gnome.keyring
Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
Commenting-out the "Exec" lines in the two *.service files above (or replacing them with "Exec=/usr/bin/false") may be a "chmod -x" alternative to prevent gnome-keyring-daemon from starting. I unfortunately am unable to determine whether this alternative really works since gnome-keyring-daemon has not again magically started.

Why gnome-keyring-daemon was started during my previous X Window session is unknown, though I suspect Mozilla Thunderbird triggered it given Thunderbird is the only process on my Slackware box that cares about dbus (and will start dbus-launch and thus dbus-daemon on its own if/when those processes do not exist).

Code:
$ cat slackware-version
Slackware 14.2
$ uname -srvmo
Linux 4.4.276 #1 SMP Tue Jul 20 23:23:58 CDT 2021 x86_64 GNU/Linux
 
Old 12-23-2023, 02:29 PM   #15
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Rep: Reputation: Disabled
The problem recurred, making it easier to solve.

Editing the two pam_gnome_keyring.so associated records in the /etc/pam.d/system-auth file such that the keyring is only applied under specific window managers eliminates the problem. That file's two sections containing those two records are copied below for convenient reference. I do not need gnome-keyring, and I am using fvwm, so each associated record's only_if argument limits the keyring to running only under the listed window managers - of which in my case fvwm is intentionally omitted:

Code:
	##################
	# Authentication #
	##################
	auth        required      pam_env.so
	auth        optional      pam_group.so
	auth        required      pam_unix.so likeauth nullok
	-auth       optional      pam_gnome_keyring.so  only_if=gdm,sddm,xdm

	#########################
	# Session Configuration #
	#########################
	# This applies the limits specified in /etc/security/limits.conf
	session     required      pam_limits.so
	session     required      pam_unix.so
	#session     required     pam_lastlog.so showfailed
	#session     optional     pam_mail.so standard
	-session     optional     pam_gnome_keyring.so auto_start  only_if=gdm,sddm,xdm
 
  


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
keyring access Gwexxy Linux - Newbie 2 10-25-2012 01:40 AM
Keyring keyring Go away come again another day sephox Linux - Software 2 01-01-2012 05:45 PM
seeking change to "keyring" password and access SaintDanBert Linux - Software 4 04-10-2010 12:42 PM
Keyring annoyances for wifi access after gdm login Cyberman Debian 1 07-18-2009 09:24 AM
slack-current of dropline ? Hi all :-) slack-current of dropline ? frochet Slackware 2 06-11-2004 11:57 AM

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

All times are GMT -5. The time now is 12:25 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