Commit Graph

18 Commits

Author SHA1 Message Date
Stef Walter
9bf4efd762 WIP split stable/unstable packages/gir/vapis 2012-07-13 09:04:55 +02:00
Stef Walter
c85cadce76 Validate that we have attributes when looking up
* When matching items, make sure we have attributes if
   no schema name was included in the match
 * This is particularly important because we don't want to
   remove all the items.
2012-07-10 21:37:47 +02:00
Stef Walter
30d1337a7c Register secret service errors as DBus errors
* and strip remote error codes from error->message so that
   they don't clutter things.
2012-07-09 11:23:36 +02:00
Stef Walter
b535ed1bbf Use collection aliases with secret_password_store() and friends
* Make SECRET_COLLECTION_DEFAULT and SECRET_COLLECTION_SESSION
   be the simple aliases for those collections.
 * Accept either an alias or a path in secret_password_store()
   and secret_service_store() and friends.
2012-07-06 09:42:08 +02:00
Stef Walter
7098b856b7 Rename the functions that operate on a dbus item path
* They all contain '_dbus_path' in their name
 * Move secret_service_get_session_path() to the paths functionality
 * Move the secret_collection_new() and secret_item_new() functionality
   to the path based section.
2012-07-06 09:27:05 +02:00
Stef Walter
9c44ab0fa2 Update the "Locked" property of items/collections on lock/unlock
* Make sure this property is kept in sync so it can be used
   immediately in the logic to retrieve secrets or other stuff.
 * We don't wait for a PropertiesChanged, which may come later
2012-07-05 23:33:07 +02:00
Stef Walter
f962662b09 Separate path based functionality
* Move the dbus object path based functionality into its
   own file and own section of the documentation.
2012-07-05 23:33:07 +02:00
Stef Walter
49dd623e6e Keep a cached SecretValue on each SecretItem
* This item can be retrieved immediately and loaded asynchronously
 * It can also be loaded during initialization of the SecretItem
   object
2012-07-05 23:33:07 +02:00
Stef Walter
89550876ff Remove varargs SecretService methods
* The SecretService methods aren't used as frequently as the
   password methods, and it's not really necessary to have a whole
   bunch of extra varargs functions.
 * Add varargs functions for building a GHashTable of attributes
2012-06-28 13:15:06 +02:00
Stef Walter
79aab9d941 Add secret_service_read_alias() and secret_service_set_alias()
* Wrappers for Secret Service ReadAlias() and SetAlias() methods
   in various permutations.
2012-06-23 14:47:13 +02:00
Stef Walter
125289ae45 Fix license header issues
* Update to LGPL 2.1
 * Fix typos in license comments
 * Update FSF address

https://bugzilla.gnome.org/show_bug.cgi?id=673194
2012-03-31 15:33:25 +02:00
Stef Walter
37e6765b8d Use the correct D-Bus service name 2012-03-25 12:24:34 +02:00
Stef Walter
8417d8c98b Fine tune how schemas work
* Handled entirely on the client side.
 * Schema names are stored in an xdg:schema attribute
 * Add option to turn of matching on schema names. So that we can
   lookup items stored by libgnome-keyring and others
 * Change schema 'identifier' to 'name'
 * Fix up tests
2012-03-18 21:58:02 +01:00
Stef Walter
605e0b1f9b Add support for old style Secret Service signals
* As used by ksecretservice
2012-03-18 15:34:48 +01:00
Stef Walter
fda4704c56 Reference nonstatic schemas when we put them in a closure 2012-03-11 09:41:13 +01:00
Stef Walter
60f6e8e770 Tons of fixes for introspectable usage
* Schemas can also be created dynamically
 * Correct introspection types for hash tables passed as args
 * Validate argument hash tables
 * Add some predefined schemas
 * Allow allocation of pageable passwords from lookup functions
2012-03-11 09:08:49 +01:00
Stef Walter
9c20c4d65e Initial gobject-introspection support 2012-02-03 20:44:47 +01:00
Stef Walter
46137f865b Rename gsecret to libsecret
* Fixes the namespacing capitalization issues run into with
   gobject-introspection and glib code tools
2012-02-03 20:44:46 +01:00