- Don't ask for a password...ever (bug 430525)
This commit is contained in:
parent
b57584c68b
commit
152db40b16
19
gnome-keyring-2.21.5-dont-ask-for-password.patch
Normal file
19
gnome-keyring-2.21.5-dont-ask-for-password.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -up gnome-keyring-2.21.5/pam/gkr-pam-module.c.dont-ask-for-password gnome-keyring-2.21.5/pam/gkr-pam-module.c
|
||||||
|
--- gnome-keyring-2.21.5/pam/gkr-pam-module.c.dont-ask-for-password 2008-01-28 11:53:45.000000000 -0500
|
||||||
|
+++ gnome-keyring-2.21.5/pam/gkr-pam-module.c 2008-01-28 11:53:55.000000000 -0500
|
||||||
|
@@ -775,6 +775,7 @@ pam_sm_authenticate (pam_handle_t *ph, i
|
||||||
|
|
||||||
|
/* Look up the password */
|
||||||
|
ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password);
|
||||||
|
+#if 0
|
||||||
|
if (ret != PAM_SUCCESS || password == NULL) {
|
||||||
|
ret = prompt_password (ph);
|
||||||
|
if (ret != PAM_SUCCESS) {
|
||||||
|
@@ -789,6 +790,7 @@ pam_sm_authenticate (pam_handle_t *ph, i
|
||||||
|
return PAM_AUTHTOK_RECOVER_ERR;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
|
||||||
|
started_daemon = 0;
|
@ -8,7 +8,7 @@
|
|||||||
Summary: A framework for managing user passwords and other secrets
|
Summary: A framework for managing user passwords and other secrets
|
||||||
Name: gnome-keyring
|
Name: gnome-keyring
|
||||||
Version: 2.21.5
|
Version: 2.21.5
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/gnome-keyring/2.21/gnome-keyring-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gnome-keyring/2.21/gnome-keyring-%{version}.tar.bz2
|
||||||
@ -33,6 +33,9 @@ Requires(post): GConf2
|
|||||||
# RH #429097 / GNOME #502603
|
# RH #429097 / GNOME #502603
|
||||||
Patch0: gnome-keyring-2.21.5-race-condition.patch
|
Patch0: gnome-keyring-2.21.5-race-condition.patch
|
||||||
|
|
||||||
|
#
|
||||||
|
Patch1: gnome-keyring-2.21.5-dont-ask-for-password.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
gnome-keyring manages passwords and other types of secrets
|
gnome-keyring manages passwords and other types of secrets
|
||||||
for the user, storing them encrypted with a main password.
|
for the user, storing them encrypted with a main password.
|
||||||
@ -71,6 +74,7 @@ and start the keyring daemon.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n gnome-keyring-%{version}
|
%setup -q -n gnome-keyring-%{version}
|
||||||
%patch0 -p1 -b .race-condition
|
%patch0 -p1 -b .race-condition
|
||||||
|
%patch1 -p1 -b .dont-ask-for-password
|
||||||
|
|
||||||
%build
|
%build
|
||||||
aclocal
|
aclocal
|
||||||
@ -139,6 +143,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 28 2008 Ray Strode <rstrode@redhat.com> - 2.21.5-3
|
||||||
|
- Don't ask for a password...ever (bug 430525)
|
||||||
|
|
||||||
* Mon Jan 21 2008 Matthew Barnes <mbarnes@redhat.com> - 2.21.5-2
|
* Mon Jan 21 2008 Matthew Barnes <mbarnes@redhat.com> - 2.21.5-2
|
||||||
- Fix a race condition that was causing Evolution to hang (#429097)
|
- Fix a race condition that was causing Evolution to hang (#429097)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user