Little script for unlocking Default GNOME Keyring
[~bandali/configs] / x / .local / bin / unlock-def-gk.py
diff --git a/x/.local/bin/unlock-def-gk.py b/x/.local/bin/unlock-def-gk.py
new file mode 100755 (executable)
index 0000000..fbf9840
--- /dev/null
@@ -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())