Hello,

The current specification incorrectly states that the collection Locked
property is a STRING
http://specs.freedesktop.org/secret-service/re02.html

The attached patch fixes this.

Cheers,
Valentin

>From 5b28859ee04bcaf1f1f2c0b0cf0032bb2bb2e0ef Mon Sep 17 00:00:00 2001
From: Valentin Rusu <k...@rusu.info>
Date: Sat, 16 Jul 2011 01:10:03 +0200
Subject: [PATCH] Collection Locked property should be Boolean instead of
 STRING

---
 secret-service/org.freedesktop.Secrets.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml
index cee47e9..b6fba64 100644
--- a/secret-service/org.freedesktop.Secrets.xml
+++ b/secret-service/org.freedesktop.Secrets.xml
@@ -263,7 +263,7 @@ properties = { "org.freedesktop.Secret.Collection.Label": "MyCollection" }
                 <tp:docstring>The displayable label of this collection.</tp:docstring>
             </property>
 
-            <property name="Locked" type="s" access="read">
+            <property name="Locked" type="b" access="read">
                 <tp:docstring>
                     Whether the collection is locked and must be authenticated by the client application.
                 </tp:docstring>
-- 
1.7.5.4

_______________________________________________
Ksecretservice-devel mailing list
Ksecretservice-devel@kde.org
https://mail.kde.org/mailman/listinfo/ksecretservice-devel

Reply via email to