gnome-keyring r1544 - in trunk: . pkcs11/roots-store pkcs11/ssh-store pkcs11/user-store



Author: nnielsen
Date: Tue Feb 10 04:07:23 2009
New Revision: 1544
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1544&view=rev

Log:
Set the serial numbers to something more maintainable, since we use them for looking up passwords.

Modified:
   trunk/ChangeLog
   trunk/pkcs11/roots-store/gck-roots-module.c
   trunk/pkcs11/ssh-store/gck-ssh-module.c
   trunk/pkcs11/user-store/gck-user-module.c

Modified: trunk/pkcs11/roots-store/gck-roots-module.c
==============================================================================
--- trunk/pkcs11/roots-store/gck-roots-module.c	(original)
+++ trunk/pkcs11/roots-store/gck-roots-module.c	Tue Feb 10 04:07:23 2009
@@ -51,7 +51,7 @@
 	"Root CA Certificates",
 	"Gnome Keyring",
 	"1.0",
-	"1",
+	"1:ROOTS:DEFAULT", /* Unique serial number for manufacturer */
 	CKF_TOKEN_INITIALIZED | CKF_WRITE_PROTECTED,
 	CK_EFFECTIVELY_INFINITE,
 	CK_EFFECTIVELY_INFINITE,

Modified: trunk/pkcs11/ssh-store/gck-ssh-module.c
==============================================================================
--- trunk/pkcs11/ssh-store/gck-ssh-module.c	(original)
+++ trunk/pkcs11/ssh-store/gck-ssh-module.c	Tue Feb 10 04:07:23 2009
@@ -48,7 +48,7 @@
 	"SSH Keys",
 	"Gnome Keyring",
 	"1.0",
-	"1", /* Unique serial number for manufacturer */
+	"1:SSH:HOME", /* Unique serial number for manufacturer */
 	CKF_TOKEN_INITIALIZED | CKF_WRITE_PROTECTED | CKF_USER_PIN_INITIALIZED,
 	CK_EFFECTIVELY_INFINITE,
 	CK_EFFECTIVELY_INFINITE,

Modified: trunk/pkcs11/user-store/gck-user-module.c
==============================================================================
--- trunk/pkcs11/user-store/gck-user-module.c	(original)
+++ trunk/pkcs11/user-store/gck-user-module.c	Tue Feb 10 04:07:23 2009
@@ -55,7 +55,7 @@
 	"User Keys",
 	"Gnome Keyring",
 	"1.0",
-	"3", /* Unique serial number for manufacturer */
+	"1:USER:DEFAULT", /* Unique serial number for manufacturer */
 	CKF_TOKEN_INITIALIZED | CKF_USER_PIN_INITIALIZED | CKF_LOGIN_REQUIRED,
 	CK_EFFECTIVELY_INFINITE,
 	CK_EFFECTIVELY_INFINITE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]