From 3b12a96aa41af835a651c6a62def94472346969d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 25 Jun 2012 17:06:39 +0200 Subject: secret-store: Support the xdg:schema attribute correctly * libsecret uses that attribute to store the 'schema' describing the other attributes. * The old way of having a special 'Type' dbus argument, or CKA_G_SCHEMA pkcs#11 attribute is deprecated ... to be more inline with the Secret Service spec. --- daemon/dbus/gkd-secret-property.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'daemon') diff --git a/daemon/dbus/gkd-secret-property.c b/daemon/dbus/gkd-secret-property.c index 590836c4..3086fefd 100644 --- a/daemon/dbus/gkd-secret-property.c +++ b/daemon/dbus/gkd-secret-property.c @@ -83,6 +83,7 @@ property_to_attribute (const gchar *prop_name, const gchar *interface, *attr_type = CKA_LABEL; *data_type = DATA_TYPE_STRING; + /* Non-standard property for type schema */ } else if (g_str_equal (prop_name, "Type")) { *attr_type = CKA_G_SCHEMA; *data_type = DATA_TYPE_STRING; @@ -121,6 +122,7 @@ attribute_to_property (CK_ATTRIBUTE_TYPE attr_type, const gchar **prop_name, Dat *prop_name = "Label"; *data_type = DATA_TYPE_STRING; break; + /* Non-standard property for type schema */ case CKA_G_SCHEMA: *prop_name = "Type"; *data_type = DATA_TYPE_STRING; -- cgit v1.2.3