From 85e3148ba10e276e6b8314908d8e38b4d375640e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 30 Jul 2017 20:46:53 -0400 Subject: Little script for unlocking Default GNOME Keyring Retrieve the password of the Default keyring from the Login keyring and use it to unlock the Default keyring. --- x/.local/bin/unlock-def-gk.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 x/.local/bin/unlock-def-gk.py (limited to 'x/.local/bin') diff --git a/x/.local/bin/unlock-def-gk.py b/x/.local/bin/unlock-def-gk.py new file mode 100755 index 0000000..fbf9840 --- /dev/null +++ b/x/.local/bin/unlock-def-gk.py @@ -0,0 +1,4 @@ +#! /usr/bin/env python2 +import gnomekeyring as gk +# list_item_ids_sync('login')[0] == 1L +gk.unlock_sync('Default_keyring',gk.item_get_info_sync('login',1L).get_secret()) -- cgit v1.2.3-60-g2f50