gnome-keyring/no-autounlock.patch

16 lines
862 B
Diff
Raw Normal View History

diff -up gnome-keyring-2.20.1/daemon/gkr-daemon-ops.c.no-autounlock gnome-keyring-2.20.1/daemon/gkr-daemon-ops.c
--- gnome-keyring-2.20.1/daemon/gkr-daemon-ops.c.no-autounlock 2007-10-25 05:08:58.000000000 -0400
+++ gnome-keyring-2.20.1/daemon/gkr-daemon-ops.c 2007-10-25 05:12:27.000000000 -0400
@@ -503,8 +503,11 @@ request_keyring_access (GkrKeyringReques
* to unlock automatically next time.
*/
login = gkr_keyrings_get_login ();
+#if 0
+/* autounlock does not currently work, see https://bugzilla.redhat.com/buglist.cgi?bug_id=250147,312531 */
if (login && login != keyring)
gkr_ask_request_set_check_option (ask, _("Automatically unlock this keyring when I log in."));
+#endif
/* Intercept item access requests to see if we still need to prompt */
g_signal_connect (ask, "check-request", G_CALLBACK (check_keyring_ask_request), NULL);