{{tag>Brouillon Gnome MDP svn}} # Gnome gnome-keyring Gnome-keyring Voir : * https://wiki.archlinux.org/index.php/GNOME/Keyring ## Interface GUI ~~~bash sudo apt-get install seahorse seahorse ~~~ ## Reset ~~~bash 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` ~~~ini [auth] password-stores = gnome-keyring ~~~ `~/.subversion/servers` ~~~ini [global] store-passwords = yes store-plaintext-passwords = no ~~~ `~/.bash_profile` ~~~bash 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` ~~~bash # 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 ~~~bash 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` ~~~ini X-GNOME-Autostart-enabled=false ~~~ **Ou** `/etc/xdg/autostart/gnome-keyring-ssh.desktop` ~~~ini 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 ~~~bash #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` ~~~ini 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 ~~~bash chmod -R 700 ~/.local/share/keyrings ~~~ Flushing passphrases ~~~bash gnome-keyring-daemon -r -d ~~~