{{tag>Brouillon Gnome MDP svn}}
= Gnome gnome-keyring
Gnome-keyring
Voir :
* https://wiki.archlinux.org/index.php/GNOME/Keyring
== Interface GUI
sudo apt-get install seahorse
seahorse
== Reset
rm ~/.local/share/keyrings/login.keyring
== gnome-keyring-daemon sans X pour svn subversion
Source : https://superuser.com/questions/141036/use-of-gnome-keyring-daemon-without-x
Voir aussi :
* https://qnaplus.com/how-to-store-svn-password-in-encrypted-form-in-linux/
* https://support.wandisco.com/index.php?/Knowledgebase/Article/View/362/0/how-to-setup-encrypted-svn-password-storage-using-gnome-keyring-in-an-ssh-session
''~/.subversion/config''
[auth]
password-stores = gnome-keyring
''~/.subversion/servers''
[global]
store-passwords = yes
store-plaintext-passwords = no
''~/.bash_profile''
if [ -e /usr/bin/gnome-keyring-daemon ]; then
if [ ! -z "`kill -0 $GNOME_KEYRING_PID 2>&1`" ]; then
# Create dbus transport link for SVN to talk to the keyring.
eval `dbus-launch --sh-syntax`
# Start the keyring daemon.
# The use of export here captures the GNOME_KEYRING_PID, GNOME_KEYRING_SOCK
# env values echoed out at startup.
export `/usr/bin/gnome-keyring-daemon`
fi
fi
''~/.bash_logout''
# Kill the message bus established for SVN / Keyring communication
if [ ! -z "`kill -0 $DBUS_SESSION_BUS_PID 2>&1`" ]; then
kill $DBUS_SESSION_BUS_PID > /dev/null 2>&1
fi
# Kill the Gnome Keyring Daemon prior to logout.
if [ ! -z "`kill -0 $GNOME_KEYRING_PID 2>&1`" ]; then
kill $GNOME_KEYRING_PID > /dev/null 2>&1
fi
=== Pb keyring_tool
Je n'ai jamais réussi à faire fonctionner cet outil
sudo apt-get install gnome-keyring dbus-x11
sudo apt-get install libgnome-keyring-dev build-essential pkg-config autoconf automake
./autogen.sh
./configure --prefix=/opt/keyring_tool
sudo make install
/opt/keyring_tool/bin/keyring_tool --create=svn
== Désactiver gnome-keyring
=== Permanently disable Gnome Keyring SSH Agent
Source https://www.scivision.co/disable-gnome-keyring-ssh-agent/
''/etc/xdg/autostart/gnome-keyring-ssh.desktop''
X-GNOME-Autostart-enabled=false
**Ou**
''/etc/xdg/autostart/gnome-keyring-ssh.desktop''
NoDisplay=false
Puis décocher l'appli du démarrage automatique
=== Autre solution
Source : https://faq.i3wm.org/question/4857/how-to-use-chromium-with-password-storegnome-gnome-keyring-daemon.1.html
#chmod -x $(type -p gnome-keyring-daemon)
chmod -x /usr/bin/gnome-keyring /usr/bin/gnome-keyring-daemon
=== Pour Chromium
''/etc/chromium.d/pn-passwordstore''
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=basic"
== Erreur No such secret collection at path
No such secret collection at path: /
Solution : reboot
== Autres
Droits 700
chmod -R 700 ~/.local/share/keyrings
Flushing passphrases
gnome-keyring-daemon -r -d