Stef Walter
1e697f6796
Add SECRET_SCHEMA_NOTE
...
* A real simple schema for stuff stored by the user.
* No attributes
2012-06-27 07:42:57 +02:00
Colin Walters
26326a7c8b
build: Fix srcdir != builddir
2012-06-25 18:21:33 -04:00
Stef Walter
e13b8c4680
Add methods to get services from collections, items
...
* Add secret_collection_get_service()
* Add secret_item_get_service()
2012-06-25 10:17:29 +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
279ea1cc10
Add methods which handle prompts for a DBus object path
...
* Various prompting methods return the prompt result as
a GVariant.
* Added new prompt_path methods to SecretService
2012-06-23 14:22:28 +02:00
Stef Walter
60be863e8e
Header path fix
2012-04-27 17:07:44 +02:00
Stef Walter
8e9284b4bc
Fix documentation problems
2012-04-27 16:57:36 +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
271c4556bd
More build fixes for openbsd
2012-03-30 14:59:04 +02:00
Stef Walter
46b6ece949
Add missing 'authtype' attribute to the 'network' schema
2012-03-30 13:56:20 +02:00
Stef Walter
1f5d6567cf
Add secret-schemas.h to the 'stable' API
2012-03-30 13:56:16 +02:00
Stef Walter
3fcfe9234e
Remove multiple typedef definitions
2012-03-30 13:53:44 +02:00
Kalev Lember
f327460ef5
Fix parallel make
...
Make doesn't know that 'libmock_service.la' is the same as
'$(top_builddir)/library/tests/libmock_service.la', and fails to
properly order builds when using -jX with parallel make. Fix this by
using 'libmock_service.la' everywhere.
make[4]: *** No rule to make target `../../library/tests/libmock_service.la', needed by `test-value'. Stop.
2012-03-29 13:58:01 +03:00
Stef Walter
0be598f82c
Release version 0.1
2012-03-25 13:54:04 +02:00
Stef Walter
9e49677afa
Initialise libgcrypt properly
...
* This prevents blocking on entropy
2012-03-25 12:36:20 +02:00
Stef Walter
37e6765b8d
Use the correct D-Bus service name
2012-03-25 12:24:34 +02:00
Stef Walter
3aa77c6918
Support content type application/octet-stream for passwords
...
* Older versions of gnome-keyring erroneously set this content type
for passwords even though they're textual.
* If we see this content type, then check if the password is textual
and allow usage as a null-terminated password
2012-03-25 12:23:29 +02:00
Stef Walter
11cc25f4e8
Allow NULL schema for certain service methods
...
* So that we can work without a schema from the secret-tool
* Users can handle the schema on their own if desired, using
the 'Complete API'
2012-03-25 12:22:10 +02:00
Stef Walter
de403fd927
Add secret_password_clear() function
...
* Useful for clearing passwords in memory
2012-03-25 12:18:24 +02:00
Stef Walter
dd83ac0db3
Only copy the correct amount of bytes from SecretValue
...
* When transferring to a null-terminated password
2012-03-25 12:17:03 +02:00
Stef Walter
add0a1a55d
More documentation clarifications
...
* Document how the 'paths' variants of functions work
* Add more about aliases
* Document @properties arguments
2012-03-24 13:34:07 +01:00
Stef Walter
ebb2806946
Add documentation of which parts of the API are unstable
...
* Use secret-unstable.h header for unstable bits
* Add stability tag to SECTION headers
2012-03-24 07:52:12 +01: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
65969cf82e
WIP schemas
2012-03-18 15:42:08 +01:00
Stef Walter
432f5617fe
Round up the documentation
2012-03-18 15:38:29 +01:00
Stef Walter
ad9936e3f5
Add python tests
2012-03-18 15:38:29 +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
2bc2140d43
Complete javascript testing of password functionality
...
* And fix bugs, nullable collection_path
2012-03-11 13:35:43 +01:00
Stef Walter
e202ac9d19
Fix critical assertion when secret_password_lookup_xx() returns null.
2012-03-11 12:40:52 +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
4f323b2e67
Change argument of secret_password_free() to gchar *
2012-03-01 10:54:47 +01:00
Stef Walter
3edec36350
Reference documentation
2012-02-03 20:44:47 +01:00
Stef Walter
06e8436557
Build fixes for 'make distcheck'
2012-02-03 20:44:47 +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
Stef Walter
797b63f8e3
Some more documentation of the collection
2012-02-03 20:44:46 +01:00
Stef Walter
3a6cfa697f
Update the mock service to more closely mirror real secret service
2012-02-03 20:44:46 +01:00
Stef Walter
075ca76cc0
Tests for password functionality
2012-02-03 20:44:45 +01:00
Stef Walter
d797ef2ba3
Testing item stuff, and fixing bugs
2012-02-03 20:44:45 +01:00
Stef Walter
dea9a3a043
Test creating items and collections
2012-02-03 20:44:45 +01:00
Stef Walter
f1bd681e8a
Split out tests for service and service methods
2012-02-03 20:44:45 +01:00
Stef Walter
1a86e7152d
Test storing passwords and fix bugs
2012-02-03 20:44:45 +01:00
Stef Walter
45705b781b
Implement CreateCollection and CreateItem and related
2012-02-03 20:44:44 +01:00
Stef Walter
97dca30728
Split up the gsecret-service.c file
2012-02-03 20:44:44 +01:00
Stef Walter
4c80765ef8
More testing, and more bug fixes
2012-02-03 20:44:44 +01:00
Stef Walter
c6c6afa2cc
Rework how the initialization work for various proxy objects
...
* Fix bugs and tests
2012-02-03 20:44:44 +01:00
Stef Walter
f44aae6efa
Tests for GSecretItem and GSecretValue
...
* And fix bugs found in the process
2012-02-03 20:44:37 +01:00
Stef Walter
116447c59e
Split out starting/stopping mock service into library
...
* Later this will be introspectable so we can start it from
python or javascript based tests
2012-01-23 09:36:36 +01:00
Stef Walter
31d8f1508e
Complete most of implementation, thread safety
...
Not tested or run yet
2012-01-20 17:53:02 +01:00
Stef Walter
805355e78e
Complete the gsecret_item_xxx() functions
2012-01-16 15:08:46 +01:00
Stef Walter
72dc330a04
Complete the gsecret_password_xxx() API.
2012-01-16 15:08:29 +01:00
Stef Walter
f2e275f25e
Prompting and item deletion
2012-01-13 14:45:55 +01:00
Stef Walter
b36268afc1
Hide glib deprecation warnings in generated code
2012-01-11 19:56:30 +01:00
Stef Walter
17fade3173
Implement gsecret_service_get_secrets_for_paths() and friends
...
* Lots of testing, fine tuning and other bits too.
2011-11-12 08:08:12 +01:00
Stef Walter
09a9d856d2
Add more coverage testing for search paths
2011-11-06 22:46:30 +01:00
Stef Walter
4893c73c5b
Valgrind integration, refactor build process
...
* Cleanup secure memory allocator for valgrind.
* Bring valgrind headers in.
* Add lots of suppressions for glib, gdbus, gcrypt
* Fix up a bunch of bugs where things weren't getting freed
* Add new 'make check-memory' target
2011-11-06 13:41:21 +01:00
Stef Walter
e670fe5645
Fix for deprecations in glib 2.31.0
2011-11-06 13:38:51 +01:00
Stef Walter
38031d943e
Add test for async negotiation of encrypted session
2011-11-06 09:00:06 +01:00
Stef Walter
a05725fd18
Set the session correctly on the service
2011-11-06 08:59:48 +01:00
Stef Walter
76ae17b24f
Add test for GSecretService singleton, and make it work
2011-11-06 08:59:20 +01:00
Stef Walter
7ac228b62f
Simple test for gsecret_service_search_paths()
2011-11-05 21:50:01 +01:00
Stef Walter
737e3a1ca3
Implement the Service.SearchPath() method
2011-11-05 20:59:00 +01:00
Stef Walter
6b4d7b6484
Testing of gsecret_service_ensure and friends
2011-09-25 22:59:43 +02:00
Stef Walter
41e7cb387e
Complete Service instantiation, add mock service, and initial test
...
* Not yet tested, but compiles
2011-09-25 18:39:03 +02:00
Stef Walter
8a6ba782db
Beginnings of a mock python secret service
2011-09-25 12:58:08 +02:00
Stef Walter
ef85c4ff45
Add dependency on libgcrypt
...
* This can be disabled using --disable-libgcrypt, which then disables
encryption of secrets in transit to the secret service
2011-09-25 10:03:48 +02:00
Stef Walter
b1b54f525d
More Implementation of GSecretService session related code.
2011-09-25 08:22:36 +02:00
Stef Walter
3dfd7aa70f
Initial module setup. Implement GSecretData
2011-08-08 17:43:47 +02:00