diff options
author | Stef Walter <stef@memberwebs.com> | 2009-11-25 02:42:39 +0000 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2010-12-04 16:11:42 +0000 |
commit | f568436db0a1bbb6da96b9443bc1043487d5fc5e (patch) | |
tree | 1c71a526678aeeb7b8f5c3def0c4b42423fd2eba /secret-service/specification.xml | |
parent | 86f0c16391cead728560052a7e8c0aeec4a0cd61 (diff) | |
download | xdg-specs-f568436db0a1bbb6da96b9443bc1043487d5fc5e.tar.xz |
Move the GetSecret, SetSecret and GetSecrets methods.
Move to more relevant interfaces, and add secret parameter
to CreateItem.
Diffstat (limited to 'secret-service/specification.xml')
-rw-r--r-- | secret-service/specification.xml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/secret-service/specification.xml b/secret-service/specification.xml index f0314a7..97d4b3b 100644 --- a/secret-service/specification.xml +++ b/secret-service/specification.xml @@ -54,6 +54,10 @@ The attributes can be used to lookup and retrieve a secret at a later date. The lookup attributes are not treated as secret material, and the service may choose to not encrypt attributes when storing them to disk.</para> + + <para>This API was desigened by GNOME and KDE developers with the goal of having + a common way to store secrets. Its predecessors are the desktop specific APIs + used by GNOME Keyring and KWallet.</para> </chapter> <chapter> @@ -223,32 +227,28 @@ <title>Transfer of Secrets</title> <para>To access or store secrets, use the - <link linkend='org.freedesktop.Secrets.Session.GetSecret'><function>GetSecret()</function></link>, - <link linkend='org.freedesktop.Secrets.Session.GetSecrets'><function>GetSecrets()</function></link>, - <link linkend='org.freedesktop.Secrets.Session.SetSecret'><function>SetSecret()</function></link> - methods on the session interface.</para> + <link linkend='org.freedesktop.Secrets.Item.GetSecret'><function>GetSecret()</function></link>, + <link linkend='org.freedesktop.Secrets.Item.SetSecret'><function>SetSecret()</function></link> + methods on the item interface, or the + <link linkend='org.freedesktop.Secrets.Service.GetSecrets'><function>GetSecrets()</function></link>, + method on the service interface.</para> - <para>Since this is a D-Bus API, the data in all method calls and other accesses - in this API will go through multiple processes, and may be cached arbitrarily - by the OS or elsewhere.</para> + <para>You must specify a session when retrieving or storing a secret. The session + controls how the secret is encoded during transfer. Since this is a D-Bus API, the + data in all method calls and other accesses in this API will go through multiple + processes, and may be cached arbitrarilyby the OS or elsewhere.</para> <para>The Secrets API has provision to encrypt secrets while in transit between - the service and the client application.</para> - - <para>The encryption is not envisioned to withstand man in the middle attacks, or - other active attacks. It is envisioned to minimize storage of plain text secrets - in memory and prevent storage plain text storage of secrets in a swap file or other - caching mechanism.</para> + the service and the client application. The encryption is not envisioned to withstand + man in the middle attacks, or other active attacks. It is envisioned to minimize + storage of plain text secrets in memory and prevent storage plain text storage of + secrets in a swap file or other caching mechanism.</para> <para>Many client applications may choose not to make use of the provisions to encrypt secrets in transit. In fact for applications unable to prevent their own memory from being paged to disk (eg: Java, C# or Python apps), transfering encrypted secrets would be an excersize of questionable value.</para> - <para>This API was desigened by GNOME and KDE developers with the goal of having - a common way to store secrets. Its predecessors are the desktop specific APIs - used by GNOME Keyring and KWallet.</para> - <section> <title>Negotiation of Algorithms</title> |