summaryrefslogtreecommitdiffstats
path: root/secret-service
AgeCommit message (Collapse)AuthorFilesLines
2011-03-16Property names in CreateItem and CreateCollection have interface.Stef Walter1-10/+10
Specify properties to CreateItem and CreateCollection with a full interface name like so: org.freedesktop.Secret.Item.Label This allows future extensions to use different interfaces.
2011-03-09Merge branch 'with-hkdf'Stef Walter1-3/+58
2011-03-01Allow specifying an alias in the CreateCollection() method.Stef Walter2-0/+39
This creates the collection with the given alias, or returns an already existing collection in a race free manner.
2011-02-28Add a content type to the secret struct.Stef Walter1-6/+9
This is used to specify the type of the secret. For example: * text/plain; charset=utf8 * application/octet-stream * etc...
2011-02-27Fix some warnings during the build.Stef Walter2-4/+3
2011-02-27Add a 'make clean' target.Stef Walter1-0/+4
2011-02-27Specify the dh-ietf1024-sha256-aes128-cbc-pkcs7 algorithm suite.Stef Walter1-3/+54
This uses HKDF-SHA256 to digest the DH key into something usable by AES. The previous algorithm suite that this replaces just truncated the DH key which is cryptographically broken.
2010-12-04Remove aliases by passing '/' as collection argument to SetAlias.Michael Leupold1-1/+3
2010-12-04Have a try at a better explanation of the terms Property and Attribute in ↵Michael Leupold1-1/+44
the context of CreateCollection and CreateItem.
2010-12-04Fix typo securily -> securely.Michael Leupold1-1/+1
2010-12-04Allow docbook inside tp:docstring. This is useful for examples, eg.:Michael Leupold1-3/+6
<tp:docstring xmlns:docbook="http://docbook.org/ns/docbook"> <para> This is the method TestMethod. <example> <title>Example for TestMethod</title> <programlisting> <![CDATA[ int x = TestMethod(a, b, c); ]]> </programlisting> </example> </para> </tp:docstring>
2010-12-04Support for collection aliases.Stef Walter2-13/+24
The collection aliases are present under: /org/freedesktop/secrets/aliases/xxxx So the default and network collections would be usable via the object path, in addition to their normal object paths: /org/freedesktop/secrets/aliases/default /org/freedesktop/secrets/aliases/network To manage the aliases, two new methods are added to the Service interface: ReadAlias() and SetAlias(). BTW, These are not properties on Collection because a collection can be have multiple aliases pointing to it.
2010-12-04Error code changes.Stef Walter2-18/+6
* Remove AlreadyExists. No longer needed. * Remove NotSupported in favor of the one defined in DBus itself: org.freedesktop.DBus.Error.NotSupported * There's no real NoSuchObject error code defined in DBus itself, so defined our own.
2010-12-04Properly added parameters for xhtml generation.Michael Leupold2-3/+5
2010-12-04Move dismissed argument in Prompt.Completed signal.Stef Walter1-4/+3
Move dismissed argument first, so it's easier to parse the result variant (or ignore it).
2010-12-04Use the OpenSession function for algorithm Negotiation.Stef Walter2-46/+45
This has several benefits: * Removes gray area of whether a single session could renegotiate a different key exchange. * Removes strange state that a session is in before negotiation of an algorithm. * Less API. * OpenSession() could be called multiple times for algorithms that require more than one back and forth negotiation. We have none of these presently.
2010-12-04Rename API to 'Secret Service API'Stef Walter3-69/+59
This was discussed on the mailing list a while back. Interfaces: org.freedesktop.Secret.Xxxx Service: org.freedesktop.Secrets Object Paths: /org/freedesktop/secrets/xxxx
2010-12-04Fix whitespace issueStef Walter1-1/+1
2010-12-04Move the GetSecret, SetSecret and GetSecrets methods.Stef Walter2-51/+54
Move to more relevant interfaces, and add secret parameter to CreateItem.
2010-12-04Implement concept of prompt objects.Stef Walter2-153/+246
* Items that could require prompting, return an optional prompt object. * Prompt objects must then be acted upon. * Prompts can be dismissed. * Operation completes with the prompt, and signal is emitted. * When no prompt is needed, returns '/'
2010-12-04Tag functions referenced in text with <function> tag.Stef Walter1-7/+7
2010-12-04Changes to allow multiple sessions per application, discussed on mailing list.Stef Walter2-64/+88
2010-12-04Clearly note that this is a draft specificationStef Walter1-2/+2
2010-12-04Make objects paths be lower case, as discussed on the mailing list.Stef Walter1-5/+5
2010-12-04Add a Makefile to help with the buildingStef Walter2-0/+13
2010-12-04Add a README so others can figure out how to generate the docs as well.Michael Leupold1-0/+20
2010-12-04Adapt style, hide "Name" of reference pages.Michael Leupold3-61/+142
2010-12-04Make a list of funcsynopses instead of single synopses for each funcdef. Add ↵Michael Leupold2-4/+108
a style to prettify.
2010-12-04Add links to the funcsynopsis listing in the top section of each interface. ↵Michael Leupold1-1/+2
Unfortunately xmlto doesn't generate links for them yet.
2010-12-04-> Docbook 5.0Michael Leupold3-132/+226
2010-12-04Add params to control toc generation.Michael Leupold3-38/+97
2010-12-04Enable building the whole spec with XInclude.Michael Leupold2-83/+64
2010-12-04Minor cleanups. Add copyright (Telepathy D-Bus doesn't know authors).Michael Leupold2-121/+29
2010-12-04@direction => uppercase.Michael Leupold1-3/+19
2010-12-04Remove superfluous <para>Michael Leupold1-17/+15
2010-12-04sect[1234] -> sectionMichael Leupold1-38/+38
2010-12-04Add spec-to-docbook.xsl for converting a telepathy spec to DocBook XML. ↵Michael Leupold4-93/+1305
Improve spec-to-introspect.xsl - no more extra spaces in type declarations.
2010-12-04Add the current docbook part of the spec and the D-Bus introspection part ↵Michael Leupold3-0/+1040
converted to the Telepathy D-Bus Introspection spec. tools/spec-to-introspect.xsl converts the Telepathy format to the EggDBus format used by keyring.