From 06017e015e8e041c18dfb34ac2eabe8cc91b60e9 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 16 Jul 2012 12:47:10 +0000 Subject: Setup gnome keyring I'm not sure if sugar should do this but it's certainly handy for development and dogfooding. Most importantly it avoids leaking keyring daemons and breaking the buildbot. --- (limited to 'scripts/run-with-keyring') diff --git a/scripts/run-with-keyring b/scripts/run-with-keyring new file mode 100755 index 0000000..2925d2f --- /dev/null +++ b/scripts/run-with-keyring @@ -0,0 +1,12 @@ +#!/bin/sh + +eval `gnome-keyring-daemon --start --components=secrets,pkcs11,ssh,gpg` + +export SSH_AUTH_SOCK +export GNOME_KEYRING_CONTROL +export GPG_AGENT_INFO +export GNOME_KEYRING_PID + +exec $1 + +kill $GNOME_KEYRING_PID -- cgit v0.9.1