[gnome-keyring] schema: Add support for keyservers in o.g.crypto.pgp schema



commit 6b9d6a98993859f0749cd8ad01bc80e179d03d06
Author: Stef Walter <stefw collabora co uk>
Date:   Wed Jul 27 15:16:01 2011 +0200

    schema: Add support for keyservers in o.g.crypto.pgp schema
    
     * This is needed by seahorse's GSettings migration.
     * This keyservers setting is here, because it's a desktop
       wide setting, rather than seahorse specific.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=622401

 schema/Makefile.am                             |    3 ++-
 schema/org.gnome.crypto.pgp.gschema.xml        |    5 +++++
 schema/org.gnome.crypto.pgp_keyservers.convert |    2 ++
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/schema/Makefile.am b/schema/Makefile.am
index c3ce9f4..ad0f15a 100644
--- a/schema/Makefile.am
+++ b/schema/Makefile.am
@@ -7,7 +7,8 @@ gsettings_SCHEMAS = \
 
 convert_DATA = \
 	org.gnome.crypto.cache.convert \
-	org.gnome.crypto.pgp.convert
+	org.gnome.crypto.pgp.convert \
+	org.gnome.crypto.pgp_keyservers.convert
 
 convertdir = \
 	$(datarootdir)/GConf/gsettings
diff --git a/schema/org.gnome.crypto.pgp.gschema.xml b/schema/org.gnome.crypto.pgp.gschema.xml
index 06f71b8..08c9d40 100644
--- a/schema/org.gnome.crypto.pgp.gschema.xml
+++ b/schema/org.gnome.crypto.pgp.gschema.xml
@@ -25,5 +25,10 @@
 			<summary>Last key used to sign a message.</summary>
 			<description>The ID of the last secret key used to sign a message.</description>
 		</key>
+		<key name="keyservers" type="as">
+			<default>['hkp://pool.sks-keyservers.net', 'ldap://keyserver.pgp.com']</default>
+			<summary>PGP key servers</summary>
+			<description>A list of key server URIs to search for remote PGP keys. A display name can be included, by appending a space and then the name.</description>
+		</key>
 	</schema>
 </schemalist>
diff --git a/schema/org.gnome.crypto.pgp_keyservers.convert b/schema/org.gnome.crypto.pgp_keyservers.convert
new file mode 100644
index 0000000..24bbbdd
--- /dev/null
+++ b/schema/org.gnome.crypto.pgp_keyservers.convert
@@ -0,0 +1,2 @@
+[org.gnome.crypto.pgp]
+keyservers = /desktop/pgp/keyservers/all_keyservers



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