# Generate automatically. Do not edit. commit 68f2242d80eaf4f57eb606d17c34ba359a893113 Author: Stef Walter Date: 2012-03-25 Release version 0.1 NEWS | 34 ++-------------------------------- library/tests/Makefile.am | 22 ++++++++++++---------- po/POTFILES.in | 1 + 3 files changed, 15 insertions(+), 42 deletions(-) commit 7f7f048b1566f0dee608323e961ff07491295dd0 Author: Stef Walter Date: 2012-03-25 Add local upload target for uploading documentation Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9e49677afa2171a5f628d33cc8a1343d7432bc4d Author: Stef Walter Date: 2012-03-25 Initialise libgcrypt properly * This prevents blocking on entropy library/secret-session.c | 2 ++ 1 file changed, 2 insertions(+) commit 441f8554e33658f81939652505c1849798ca07b8 Author: Stef Walter Date: 2012-03-25 Fix C example code docs/reference/libsecret/libsecret-examples.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3a8b4a36d89f8721b5f59547a5bbfaf7dac6bb90 Author: Stef Walter Date: 2012-03-25 Add secret-tool command * See usage for details on how to use it .gitignore | 1 + Makefile.am | 2 +- configure.ac | 1 + tool/Makefile.am | 15 +++ tool/secret-tool.c | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 374 insertions(+), 1 deletion(-) commit 37e6765b8d5b5a876e95195281d8d8ab7c48c212 Author: Stef Walter Date: 2012-03-25 Use the correct D-Bus service name library/secret-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3aa77c6918d5670d894fc5f14240901073128952 Author: Stef Walter Date: 2012-03-25 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 library/secret-password.c | 18 ++++-------------- library/secret-value.c | 17 +++++++++++++++-- library/tests/test-value.c | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) commit 11cc25f4e8336e7d3ca9e20b8cd2efeea97a3b1e Author: Stef Walter Date: 2012-03-25 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' library/secret-methods.c | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) commit de403fd9274b9dfb9082415f36cd131f99c2a23f Author: Stef Walter Date: 2012-03-25 Add secret_password_clear() function * Useful for clearing passwords in memory docs/reference/libsecret/libsecret-sections.txt | 2 +- library/secret-password.c | 15 +++++++++++++++ library/secret-password.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) commit dd83ac0db310f2c33480118d1397453e0dfb6bc0 Author: Stef Walter Date: 2012-03-25 Only copy the correct amount of bytes from SecretValue * When transferring to a null-terminated password egg/egg-secure-memory.c | 22 ++++++++++++++++++++++ egg/egg-secure-memory.h | 5 +++++ library/secret-value.c | 8 ++++---- 3 files changed, 31 insertions(+), 4 deletions(-) commit add0a1a55ddab6f31059296df314dedf355caee1 Author: Stef Walter Date: 2012-03-24 More documentation clarifications * Document how the 'paths' variants of functions work * Add more about aliases * Document @properties arguments docs/reference/libsecret/libsecret-docs.sgml | 1 - library/secret-collection.c | 18 +- library/secret-item.c | 6 +- library/secret-methods.c | 248 +++++++++++++++++++------- library/secret-password.c | 22 +-- library/secret-service.c | 10 +- 6 files changed, 215 insertions(+), 90 deletions(-) commit ebb280694664dae9a773babe3fd5e869e1a8e203 Author: Stef Walter Date: 2012-03-24 Add documentation of which parts of the API are unstable * Use secret-unstable.h header for unstable bits * Add stability tag to SECTION headers docs/reference/libsecret/libsecret-docs.sgml | 3 +- docs/reference/libsecret/libsecret-sections.txt | 8 +++++ library/Makefile.am | 1 + library/secret-collection.c | 2 ++ library/secret-collection.h | 2 +- library/secret-item.c | 2 ++ library/secret-item.h | 2 +- library/secret-password.c | 2 ++ library/secret-password.h | 2 +- library/secret-prompt.c | 2 ++ library/secret-prompt.h | 2 +- library/secret-schema.c | 6 +++- library/secret-schema.h | 2 +- library/secret-schemas.h | 2 +- library/secret-service.c | 2 ++ library/secret-service.h | 2 +- library/secret-types.h | 2 +- library/secret-unstable.h | 36 +++++++++++++++++++++++ library/secret-util.c | 12 ++++++++ library/secret-value.c | 2 ++ library/secret-value.h | 2 +- library/secret.h | 12 +------- 22 files changed, 86 insertions(+), 22 deletions(-) commit 8417d8c98bc4362b6ab6f6ac1e31f03892bbed8f Author: Stef Walter Date: 2012-03-18 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 docs/reference/libsecret/libsecret-sections.txt | 8 +- library/Makefile.am | 2 + library/org.freedesktop.Secrets.xml | 2 - library/secret-item.c | 71 ++------------- library/secret-item.h | 4 - library/secret-methods.c | 46 +++++++--- library/secret-password.c | 15 ++-- library/secret-private.h | 9 +- library/secret-schema.c | 69 +++++++++++---- library/secret-schema.h | 8 +- library/secret-schemas.c | 2 +- library/secret-util.c | 37 ++++---- library/secret.h | 1 + library/tests/mock/service.py | 41 ++++++--- library/tests/test-item.c | 25 ++---- library/tests/test-lookup-password.js | 2 +- library/tests/test-lookup-password.py | 2 +- library/tests/test-methods.c | 105 ++++++++++++++++++----- library/tests/test-password.c | 89 ++++++++++++++++--- library/tests/test-remove-password.js | 2 +- library/tests/test-remove-password.py | 2 +- library/tests/test-store-password.js | 2 +- library/tests/test-store-password.py | 2 +- 23 files changed, 342 insertions(+), 204 deletions(-) commit 65969cf82ef3082bff5d721a90cf60f61a3a36e3 Author: Stef Walter Date: 2012-03-18 WIP schemas library/secret-schema.c | 36 ------------------------------------ library/secret-schema.h | 11 +---------- library/secret-schemas.c | 31 +++++++++++++++++++++++++++++++ library/secret-schemas.h | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 46 deletions(-) commit 966c1da87b150cc3935d878255c0e978ad3bee6c Author: Stef Walter Date: 2012-03-18 Complete the example documentation docs/reference/libsecret/Makefile.am | 2 +- docs/reference/libsecret/libsecret-docs.sgml | 2 + docs/reference/libsecret/libsecret-examples.sgml | 617 ++++++++++++++++++++++ 3 files changed, 620 insertions(+), 1 deletion(-) commit 432f5617fe4451021e15ec500b13058433761513 Author: Stef Walter Date: 2012-03-17 Round up the documentation .gitignore | 1 + docs/reference/libsecret/libsecret-docs.sgml | 1 + docs/reference/libsecret/libsecret-sections.txt | 23 ++++++++++++++---- library/secret-collection.c | 2 +- library/secret-item.c | 2 +- library/secret-prompt.c | 2 +- library/secret-schema.c | 29 ++++++++++++++++++----- library/secret-service.c | 11 ++++----- 8 files changed, 52 insertions(+), 19 deletions(-) commit ad9936e3f527e3bdb6fe02db85091d2e8bec9fe3 Author: Stef Walter Date: 2012-03-17 Add python tests .gitignore | 1 + library/tests/Makefile.am | 12 +++++- library/tests/test-javascript.js | 14 ------- library/tests/test-lookup-password.py | 61 ++++++++++++++++++++++++++++ library/tests/test-remove-password.py | 71 +++++++++++++++++++++++++++++++++ library/tests/test-store-password.py | 61 ++++++++++++++++++++++++++++ 6 files changed, 205 insertions(+), 15 deletions(-) commit 605e0b1f9bd6853a97f338350cd4c5c81079e432 Author: Stef Walter Date: 2012-02-19 Add support for old style Secret Service signals * As used by ksecretservice library/secret-collection.c | 82 +++++++++++++++++++++++++++++++++++++++++ library/secret-private.h | 11 +++++- library/secret-service.c | 86 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+), 1 deletion(-) commit 2bc2140d4323cfb6a828d8d28313025b867e0f4c Author: Stef Walter Date: 2012-03-11 Complete javascript testing of password functionality * And fix bugs, nullable collection_path .gitignore | 2 + library/secret-methods.c | 47 ++++++++++++++++------- library/secret-password.c | 27 +++++++++---- library/secret-types.h | 4 ++ library/tests/Makefile.am | 20 +++++++--- library/tests/test-javascript.js | 14 +++++++ library/tests/test-lookup-password.js | 52 +++++++++++++++++++++++++ library/tests/test-remove-password.js | 68 +++++++++++++++++++++++++++++++++ library/tests/test-store-password.js | 58 ++++++++++++++++++++++++++++ 9 files changed, 266 insertions(+), 26 deletions(-) commit e202ac9d1968961ca9ad7729fd6b4f93dee8ad5c Author: Stef Walter Date: 2012-03-11 Fix critical assertion when secret_password_lookup_xx() returns null. library/secret-password.c | 6 ++++++ 1 file changed, 6 insertions(+) commit fda4704c56ffa3570dd43347deb0ba07b034fb78 Author: Stef Walter Date: 2012-03-11 Reference nonstatic schemas when we put them in a closure library/secret-password.c | 9 +++-- library/secret-private.h | 88 +++++++++++++++++++++++---------------------- library/secret-schema.c | 16 +++++++++ 3 files changed, 68 insertions(+), 45 deletions(-) commit 60f6e8e770045160d39d8c469e7e05d88ba50780 Author: Stef Walter Date: 2012-03-11 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 docs/reference/libsecret/libsecret-sections.txt | 18 +- library/Makefile.am | 2 + library/secret-item.c | 8 +- library/secret-methods.c | 46 +++- library/secret-password.c | 270 ++++++++++++++++------ library/secret-password.h | 14 ++ library/secret-private.h | 7 + library/secret-schema.c | 276 +++++++++++++++++++++++ library/secret-schema.h | 80 +++++++ library/secret-service.h | 1 + library/secret-types.h | 26 --- library/secret-util.c | 102 ++++++++- library/secret-value.c | 32 +++ library/secret.h | 1 + library/tests/Makefile.am | 36 +++ library/tests/test-methods.c | 14 +- library/tests/test-password.c | 31 +-- 17 files changed, 828 insertions(+), 136 deletions(-) commit 4f323b2e6785b188651b2a42d9200fa057a64276 Author: Stef Walter Date: 2012-03-01 Change argument of secret_password_free() to gchar * library/secret-password.c | 4 ++-- library/secret-password.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit d1bc425af92f66380511799d093cbd929379f833 Author: Stef Walter Date: 2012-02-17 Add DOAP file for project libsecret.doap | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 2b7c1d8cdf90ea34deb97241c4faf191bd8e0d1e Author: Stef Walter Date: 2012-02-17 Remove the gtkdoc interfaces file from git docs/reference/libsecret/libsecret.interfaces | 6 ------ 1 file changed, 6 deletions(-) commit 3edec363509ffe8b36bfbfc5de5b031aa2e7c1e6 Author: Stef Walter Date: 2012-02-02 Reference documentation .gitignore | 26 ++- Makefile.am | 2 +- autogen.sh | 2 + configure.ac | 6 + docs/Makefile.am | 2 + docs/reference/COPYING | 30 +++ docs/reference/Makefile.am | 2 + docs/reference/libsecret/Makefile.am | 102 +++++++++ docs/reference/libsecret/libsecret-docs.sgml | 34 +++ docs/reference/libsecret/libsecret-overrides.txt | 2 + docs/reference/libsecret/libsecret-sections.txt | 252 ++++++++++++++++++++++ docs/reference/libsecret/libsecret.interfaces | 6 + docs/reference/libsecret/libsecret.types | 7 + docs/reference/libsecret/version.xml.in | 1 + library/Makefile.am | 2 +- library/secret-collection.c | 73 +++++++ library/secret-collection.h | 4 + library/secret-item.c | 90 ++++++++ library/secret-item.h | 4 + library/secret-methods.c | 12 +- library/secret-password.c | 54 +++++ library/secret-prompt.c | 32 ++- library/secret-prompt.h | 4 + library/secret-service.c | 93 +++++++- library/secret-service.h | 3 + library/secret-types.h | 10 +- library/secret-util.c | 9 + library/secret-value.c | 24 +++ 28 files changed, 870 insertions(+), 18 deletions(-) commit 06e8436557795490d65d46ec2b313035ff928274 Author: Stef Walter Date: 2012-02-02 Build fixes for 'make distcheck' .gitignore | 1 + Makefile.am | 4 ++- build/Makefile.am | 12 ++++++--- configure.ac | 60 ++++++++++++++++++++++++--------------------- library/Makefile.am | 14 ++++++++++- library/tests/Makefile.am | 10 ++++++++ 6 files changed, 67 insertions(+), 34 deletions(-) commit 9c20c4d65ea0e95ee589f50fe66bb4fb13bc5b03 Author: Stef Walter Date: 2012-02-02 Initial gobject-introspection support .gitignore | 3 + build/Makefile.am | 11 +- configure.ac | 27 + library/Makefile.am | 85 ++- library/libsecret.pc.in | 14 + library/secret-collection.c | 183 +++--- library/secret-collection.h | 80 +-- library/secret-item.c | 598 ++++++++++++++---- library/secret-item.h | 154 ++--- library/secret-methods.c | 1449 +++++++++++++++++++++++++++++++++++-------- library/secret-password.c | 471 +++++++++++--- library/secret-password.h | 124 ++-- library/secret-private.h | 90 +-- library/secret-prompt.c | 117 +++- library/secret-prompt.h | 35 +- library/secret-service.c | 439 ++++++++++--- library/secret-service.h | 508 +++++++-------- library/secret-session.c | 10 +- library/secret-types.h | 4 + library/secret-util.c | 46 +- library/secret-value.c | 88 ++- library/secret-value.h | 30 +- library/secret.h | 34 + library/tests/Makefile.am | 5 +- library/tests/test-prompt.c | 24 +- 25 files changed, 3416 insertions(+), 1213 deletions(-) commit 46137f865bfcd131c82c4b2742e79f43e25a6c84 Author: Stef Walter Date: 2012-02-01 Rename gsecret to libsecret * Fixes the namespacing capitalization issues run into with gobject-introspection and glib code tools .gitignore | 6 +- ChangeLog | 2 +- autogen.sh | 4 +- configure.ac | 6 +- library/Makefile.am | 64 +- library/gsecret-collection.c | 1227 ----------------- library/gsecret-collection.h | 116 -- library/gsecret-enum-types.c.template | 43 - library/gsecret-enum-types.h.template | 28 - library/gsecret-item.c | 1205 ----------------- library/gsecret-item.h | 169 --- library/gsecret-methods.c | 2357 --------------------------------- library/gsecret-password.c | 613 --------- library/gsecret-password.h | 109 -- library/gsecret-private.h | 146 -- library/gsecret-prompt.c | 467 ------- library/gsecret-prompt.h | 72 - library/gsecret-service.c | 1121 ---------------- library/gsecret-service.h | 451 ------- library/gsecret-session.c | 663 ---------- library/gsecret-types.h | 60 - library/gsecret-util.c | 490 ------- library/gsecret-value.c | 156 --- library/gsecret-value.h | 46 - library/secret-collection.c | 1227 +++++++++++++++++ library/secret-collection.h | 116 ++ library/secret-enum-types.c.template | 43 + library/secret-enum-types.h.template | 28 + library/secret-item.c | 1205 +++++++++++++++++ library/secret-item.h | 169 +++ library/secret-methods.c | 2357 +++++++++++++++++++++++++++++++++ library/secret-password.c | 613 +++++++++ library/secret-password.h | 109 ++ library/secret-private.h | 146 ++ library/secret-prompt.c | 467 +++++++ library/secret-prompt.h | 72 + library/secret-service.c | 1121 ++++++++++++++++ library/secret-service.h | 451 +++++++ library/secret-session.c | 663 ++++++++++ library/secret-types.h | 60 + library/secret-util.c | 490 +++++++ library/secret-value.c | 156 +++ library/secret-value.h | 46 + library/tests/Makefile.am | 4 +- library/tests/mock-service.c | 6 +- library/tests/mock-service.h | 2 +- library/tests/test-collection.c | 132 +- library/tests/test-item.c | 220 +-- library/tests/test-methods.c | 300 ++--- library/tests/test-password.c | 108 +- library/tests/test-prompt.c | 102 +- library/tests/test-service.c | 238 ++-- library/tests/test-session.c | 80 +- library/tests/test-value.c | 102 +- po/POTFILES.in | 4 +- 55 files changed, 10229 insertions(+), 10229 deletions(-) commit 797b63f8e3e9144a86f943621aebc6ebcfeba683 Author: Stef Walter Date: 2012-01-31 Some more documentation of the collection library/gsecret-collection.c | 82 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 4 deletions(-) commit 3a6cfa697f6baedd68c552a507938945d247083d Author: Stef Walter Date: 2012-01-31 Update the mock service to more closely mirror real secret service library/gsecret-collection.c | 136 ++++++++++++++++++++++++++ library/gsecret-item.c | 7 +- library/gsecret-prompt.c | 2 + library/gsecret-session.c | 2 +- library/org.freedesktop.Secrets.xml | 2 +- library/tests/mock-service-delete.py | 4 +- library/tests/mock-service-lock.py | 4 +- library/tests/mock-service-prompt.py | 2 +- library/tests/mock/aes.py | 4 +- library/tests/mock/dh.py | 8 +- library/tests/mock/hkdf.py | 170 ++++++++++++++++---------------- library/tests/mock/service.py | 177 +++++++++++++++++++++++++++------- library/tests/test-collection.c | 12 +-- library/tests/test-item.c | 36 +++---- library/tests/test-methods.c | 88 +++++++++-------- library/tests/test-prompt.c | 7 +- 16 files changed, 453 insertions(+), 208 deletions(-) commit 075ca76cc023cf52fa4ba250810addd4775d1b21 Author: Stef Walter Date: 2012-01-30 Tests for password functionality library/gsecret-password.c | 3 +- library/tests/test-password.c | 130 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 128 insertions(+), 5 deletions(-) commit d797ef2ba358a98a48d7965b6ac6047fdeb2c6fb Author: Stef Walter Date: 2012-01-30 Testing item stuff, and fixing bugs egg/egg-testing.c | 28 +++++--- egg/egg-testing.h | 3 + library/gsecret-item.c | 1 + library/org.freedesktop.Secrets.xml | 2 + library/tests/mock/service.py | 32 ++++++--- library/tests/test-collection.c | 72 +++++++++++++++---- library/tests/test-item.c | 133 ++++++++++++++++++++++++++++++++++- 7 files changed, 237 insertions(+), 34 deletions(-) commit dea9a3a043b866076fec215e9787c31626a64883 Author: Stef Walter Date: 2012-01-30 Test creating items and collections egg/egg-testing.c | 21 ++++ library/gsecret-methods.c | 9 +- library/tests/mock-service-prompt.py | 4 +- library/tests/mock/service.py | 33 +++++-- library/tests/test-methods.c | 176 +++++++++++++++++++++++++++++++--- 5 files changed, 214 insertions(+), 29 deletions(-) commit f1bd681e8a6a8fc9a92e5645495e1b32003f32f3 Author: Stef Walter Date: 2012-01-30 Split out tests for service and service methods library/tests/Makefile.am | 1 + library/tests/test-methods.c | 1197 ++++++++++++++++++++++++++++++++++++++++++ library/tests/test-service.c | 1125 --------------------------------------- 3 files changed, 1198 insertions(+), 1125 deletions(-) commit 1a86e7152d220c9e38e6266ba948b7f74375e3a9 Author: Stef Walter Date: 2012-01-30 Test storing passwords and fix bugs library/gsecret-collection.c | 2 +- library/gsecret-item.c | 6 +- library/gsecret-methods.c | 149 ++++++++------------------------------ library/gsecret-session.c | 2 - library/tests/mock/service.py | 54 ++++++++++++-- library/tests/test-service.c | 160 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 242 insertions(+), 131 deletions(-) commit 45705b781b0a88307fa585f26709c0f974709a10 Author: Stef Walter Date: 2012-01-26 Implement CreateCollection and CreateItem and related library/gsecret-collection.c | 156 +++++++++++++++++ library/gsecret-collection.h | 16 ++ library/gsecret-item.c | 370 ++++++++++++++++++++++++++++++++++++++- library/gsecret-item.h | 39 +++++ library/gsecret-methods.c | 396 ++++++++++++++++++++++++++++++++++++++++++ library/gsecret-private.h | 4 +- library/gsecret-service.h | 38 ++++ library/gsecret-util.c | 20 ++- 8 files changed, 1033 insertions(+), 6 deletions(-) commit 97dca3072820a5ad86214242f5b51b81e68c3f80 Author: Stef Walter Date: 2012-01-26 Split up the gsecret-service.c file library/Makefile.am | 1 + library/gsecret-methods.c | 2055 ++++++++++++++++++++++++++++++++++++++++++++ library/gsecret-service.c | 2084 +-------------------------------------------- 3 files changed, 2078 insertions(+), 2062 deletions(-) commit 4c80765ef814cf1f1d55d14f65403250b01b3258 Author: Stef Walter Date: 2012-01-26 More testing, and more bug fixes library/gsecret-collection.c | 5 +- library/gsecret-item.c | 4 +- library/gsecret-private.h | 21 +- library/gsecret-service.c | 179 ++++-- library/gsecret-service.h | 4 +- library/gsecret-util.c | 1 - library/tests/mock-service-lock.py | 17 + library/tests/mock/service.py | 98 +++- library/tests/test-collection.c | 209 ++++++- library/tests/test-item.c | 82 ++- library/tests/test-service.c | 1066 +++++++++++++++++++++++++++++++++--- 11 files changed, 1468 insertions(+), 218 deletions(-) commit c6c6afa2cc95aff8344bcc264b89f98fbb63e931 Author: Stef Walter Date: 2012-01-25 Rework how the initialization work for various proxy objects * Fix bugs and tests .gitignore | 1 + configure.ac | 2 + library/Makefile.am | 24 +- library/gsecret-collection.c | 442 +++++++++++------ library/gsecret-enum-types.c.template | 43 ++ library/gsecret-enum-types.h.template | 28 ++ library/gsecret-item.c | 157 ++++-- library/gsecret-password.c | 19 +- library/gsecret-private.h | 4 +- library/gsecret-service.c | 873 ++++++++++++++++++++------------- library/gsecret-service.h | 28 +- library/gsecret-session.c | 12 +- library/tests/test-collection.c | 11 +- library/tests/test-item.c | 17 +- library/tests/test-prompt.c | 11 +- library/tests/test-service.c | 46 +- library/tests/test-session.c | 12 +- po/POTFILES.in | 2 +- 18 files changed, 1091 insertions(+), 641 deletions(-) commit f44aae6efa58c388bebd5778a169a62c6ddf3525 Author: Stef Walter Date: 2012-01-23 Tests for GSecretItem and GSecretValue * And fix bugs found in the process library/Makefile.am | 1 + library/gsecret-collection.c | 121 +++++-- library/gsecret-collection.h | 2 +- library/gsecret-item.c | 243 +++++++------ library/gsecret-item.h | 5 +- library/gsecret-private.h | 36 +- library/gsecret-service.c | 740 +++++---------------------------------- library/gsecret-service.h | 18 +- library/gsecret-session.c | 671 +++++++++++++++++++++++++++++++++++ library/gsecret-util.c | 60 +++- library/gsecret-value.h | 2 +- library/tests/Makefile.am | 3 + library/tests/mock/service.py | 101 +++++- library/tests/test-collection.c | 339 ++++++++++++++++++ library/tests/test-item.c | 534 ++++++++++++++++++++++++++++ library/tests/test-value.c | 210 +++++++++++ 16 files changed, 2268 insertions(+), 818 deletions(-) commit 116447c59e89c5bdbf7a043061c6ab5733b4bb7a Author: Stef Walter Date: 2012-01-23 Split out starting/stopping mock service into library * Later this will be introspectable so we can start it from python or javascript based tests library/tests/Makefile.am | 15 +++++++ library/tests/mock-service.c | 92 +++++++++++++++++++++++++++++++++++++++++ library/tests/mock-service.h | 27 ++++++++++++ library/tests/mock/service.py | 14 +++++-- library/tests/test-password.c | 19 ++------- library/tests/test-prompt.c | 22 ++-------- library/tests/test-service.c | 17 ++------ library/tests/test-session.c | 19 ++------- 8 files changed, 161 insertions(+), 64 deletions(-) commit 31d8f1508e1aea796a9e1fc7bab70c33ac640f7a Author: Stef Walter Date: 2012-01-20 Complete most of implementation, thread safety Not tested or run yet library/Makefile.am | 3 +- library/gsecret-collection.c | 677 ++++++++++++++++ library/gsecret-collection.h | 100 ++- library/gsecret-item.c | 396 +++++++++- library/gsecret-item.h | 31 +- library/gsecret-password.c | 146 ++-- library/gsecret-password.h | 10 +- library/gsecret-private.h | 36 +- library/gsecret-prompt.c | 43 +- library/gsecret-prompt.h | 11 +- library/gsecret-service.c | 1722 +++++++++++++++++++++++++++++++---------- library/gsecret-service.h | 628 +++++++-------- library/gsecret-util.c | 192 ++++- library/tests/test-password.c | 6 +- library/tests/test-prompt.c | 7 +- library/tests/test-service.c | 42 +- 16 files changed, 3095 insertions(+), 955 deletions(-) commit 805355e78e960e05b89d4759f60f8fe1d64d001f Author: Stef Walter Date: 2012-01-16 Complete the gsecret_item_xxx() functions library/gsecret-item.c | 200 ++++++++++++++++++++++++++++++++++++++------- library/gsecret-item.h | 14 ++-- library/gsecret-private.h | 2 + 3 files changed, 177 insertions(+), 39 deletions(-) commit 72dc330a0401e31b21160110ce98cbbb37cdfb81 Author: Stef Walter Date: 2012-01-16 Complete the gsecret_password_xxx() API. library/gsecret-password.c | 357 +++++++++++++++++++------ library/gsecret-password.h | 34 ++- library/gsecret-private.h | 23 ++ library/gsecret-prompt.c | 19 +- library/gsecret-prompt.h | 3 +- library/gsecret-service.c | 602 ++++++++++++++++++++++++++++++++++++++++++- library/gsecret-service.h | 46 +++- library/gsecret-util.c | 119 +++++++++ library/gsecret-value.c | 35 ++- library/gsecret-value.h | 6 +- library/tests/test-prompt.c | 8 +- 11 files changed, 1142 insertions(+), 110 deletions(-) commit f2e275f25eebd5456967d431580668fcbbcf0601 Author: Stef Walter Date: 2012-01-11 Prompting and item deletion build/glib.supp | 8 + build/unknown.supp | 25 ++ egg/egg-testing.c | 11 + egg/egg-testing.h | 2 + library/Makefile.am | 2 + library/gsecret-collection.h | 1 - library/gsecret-item.c | 75 +--- library/gsecret-item.h | 2 +- library/gsecret-password.c | 440 +++++++++++++++++++++ library/gsecret-password.h | 87 +++++ library/gsecret-private.h | 24 +- library/gsecret-prompt.c | 433 +++++++++++++++++++++ library/gsecret-prompt.h | 35 +- library/gsecret-service.c | 710 +++++++++++++++++++++++++++++++++- library/gsecret-service.h | 145 ++++++- library/gsecret-types.h | 30 ++ library/gsecret-util.c | 75 ++++ library/gsecret-value.h | 4 +- library/org.freedesktop.Secrets.xml | 142 +++---- library/tests/Makefile.am | 2 + library/tests/mock-service-delete.py | 17 + library/tests/mock-service-prompt.py | 42 ++ library/tests/mock/service.py | 72 +++- library/tests/test-password.c | 137 +++++++ library/tests/test-prompt.c | 429 ++++++++++++++++++++ library/tests/test-service.c | 214 +++++++++- library/tests/test-session.c | 4 +- 27 files changed, 2982 insertions(+), 186 deletions(-) commit b36268afc1f5c2b1bcae605d39da8afc4be49bab Author: Stef Walter Date: 2012-01-11 Hide glib deprecation warnings in generated code library/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59467128109d1812e59f20404c8cf453fd44a5f5 Author: Stef Walter Date: 2011-11-19 Some build fixes Makefile.decl | 2 +- build/unknown.supp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) commit a075105bf43b3f70548df1ceb0d1bc75e88010ed Author: Stef Walter Date: 2011-11-19 Fix problem when compiling without valgrind egg/egg-secure-memory.c | 2 ++ 1 file changed, 2 insertions(+) commit 17fade31736bed8509827e4790a96f5933fbd29d Author: Stef Walter Date: 2011-11-12 Implement gsecret_service_get_secrets_for_paths() and friends * Lots of testing, fine tuning and other bits too. .gitignore | 7 +- Makefile.am | 14 -- Makefile.decl | 21 +- build/Makefile.am | 4 +- build/glib.supp | 16 ++ build/unknown.supp | 9 + egg/Makefile.am | 6 +- egg/egg-hex.c | 150 ++++++++++++++ egg/egg-hex.h | 46 +++++ egg/egg-testing.c | 11 +- egg/tests/Makefile.am | 1 + egg/tests/test-hex.c | 121 +++++++++++ library/Makefile.am | 3 + library/gsecret-private.h | 11 + library/gsecret-service.c | 320 ++++++++++++++++++++++++++++-- library/gsecret-service.h | 68 +++++-- library/gsecret-util.c | 26 +++ library/gsecret-value.c | 7 +- library/tests/mock-service-normal.py | 12 +- library/tests/mock-service-only-plain.py | 1 + library/tests/mock/dh.py | 19 +- library/tests/mock/service.py | 97 ++++++++- library/tests/test-service.c | 211 +++++++++++++++++--- library/tests/test-session.c | 5 +- 24 files changed, 1055 insertions(+), 131 deletions(-) commit 09a9d856d2ad87b1a222301537b76c2416d65e0b Author: Stef Walter Date: 2011-11-06 Add more coverage testing for search paths .gitignore | 2 +- Makefile.am | 6 +- library/tests/Makefile.am | 2 +- library/tests/mock/service.py | 3 +- library/tests/test-service.c | 125 +++++++++++++++++++++++++++++++++++++++++ library/tests/test-session.c | 3 +- 6 files changed, 134 insertions(+), 7 deletions(-) commit 9a319cb767b94dc640470a638066e8d8ca9e080d Author: Stef Walter Date: 2011-11-06 Remove built file po/gsecret.pot | 29 ----------------------------- 1 file changed, 29 deletions(-) commit 4893c73c5b2a4102a40fddb38fd693ac1f6d04d3 Author: Stef Walter Date: 2011-11-06 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 .gitignore | 8 +- Makefile.am | 18 +- Makefile.decl | 10 + build/Makefile.am | 19 + build/gcrypt.supp | 12 + build/glib.supp | 303 +++ build/pthread.supp | 7 + build/unknown.supp | 346 +++ build/valgrind/memcheck.h | 283 +++ build/valgrind/valgrind.h | 5344 ++++++++++++++++++++++++++++++++++++++++++ configure.ac | 3 +- egg/Makefile.am | 4 +- egg/egg-dh.c | 2 +- egg/egg-hkdf.c | 1 + egg/egg-secure-memory.c | 115 +- egg/egg-testing.c | 19 + egg/egg-testing.h | 10 + egg/tests/Makefile.am | 3 + egg/tests/test-secmem.c | 3 + library/tests/Makefile.am | 6 +- library/tests/test-service.c | 8 +- library/tests/test-session.c | 7 +- po/gsecret.pot | 6 +- 23 files changed, 6479 insertions(+), 58 deletions(-) commit e670fe5645eb43fb48c67e566ac7c0fb85dd37f8 Author: Stef Walter Date: 2011-11-06 Fix for deprecations in glib 2.31.0 .gitignore | 1 + configure.ac | 4 +- egg/egg-libgcrypt.c | 6 +- egg/egg-testing.c | 122 +- egg/egg-testing.h | 4 +- library/gsecret-dbus-generated.c | 3125 -------------------------------------- library/gsecret-dbus-generated.h | 444 ------ library/tests/test-service.c | 2 +- library/tests/test-session.c | 2 +- 9 files changed, 75 insertions(+), 3635 deletions(-) commit 38031d943e6cc2b7c12dc36d5792830713f140f4 Author: Stef Walter Date: 2011-11-06 Add test for async negotiation of encrypted session library/tests/test-session.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) commit a05725fd1828656ec91c2c1908663595bf99b067 Author: Stef Walter Date: 2011-11-06 Set the session correctly on the service library/gsecret-service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76ae17b24f365488c3e1846033ec229e42e4d92c Author: Stef Walter Date: 2011-11-06 Add test for GSecretService singleton, and make it work library/gsecret-service.c | 12 +++++++++++- library/tests/test-service.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) commit 7ac228b62fdf375039e6e42126cbc3e50d020c67 Author: Stef Walter Date: 2011-11-05 Simple test for gsecret_service_search_paths() .gitignore | 3 +- library/gsecret-private.h | 2 + library/gsecret-service.c | 24 ++------ library/gsecret-util.c | 20 +++++++ library/tests/Makefile.am | 1 + library/tests/mock-service-normal.py | 11 ++++ library/tests/mock/service.py | 54 ++++++++++++++++- library/tests/test-service.c | 109 ++++++++++++++++++++++++++++++++++ library/tests/test-session.c | 2 +- po/gsecret.pot | 2 +- 10 files changed, 204 insertions(+), 24 deletions(-) commit 737e3a1ca301c1a6eeceae1b134d66239bf89e8c Author: Stef Walter Date: 2011-11-05 Implement the Service.SearchPath() method configure.ac | 5 +- library/Makefile.am | 17 +- library/gsecret-dbus-generated.c | 3125 +++++++++++++++++++++++++++++++++++ library/gsecret-dbus-generated.h | 444 +++++ library/gsecret-service.c | 134 +- library/gsecret-service.h | 8 +- library/org.freedesktop.Secrets.xml | 176 ++ po/gsecret.pot | 6 +- 8 files changed, 3906 insertions(+), 9 deletions(-) commit 6b4d7b648415df0f9b86bd6b752cf4c080ab783f Author: Stef Walter Date: 2011-09-25 Testing of gsecret_service_ensure and friends Makefile.am | 5 +- library/gsecret-service.c | 53 ++++++++++-- library/gsecret-service.h | 4 + library/tests/mock-service-only-plain.py | 7 ++ library/tests/mock/service.py | 19 ++-- library/tests/test-session.c | 138 ++++++++++++++++++++++++++++-- po/gsecret.pot | 6 +- 7 files changed, 204 insertions(+), 28 deletions(-) commit 51896081f02116ce6cb72eebd816c5333c6faace Author: Stef Walter Date: 2011-09-25 Add --enable-debug and --enable-coverage, egg tests etc .gitignore | 8 ++ Makefile.am | 33 +++++ configure.ac | 99 ++++++++++++-- egg/Makefile.am | 4 + egg/egg-testing.c | 157 +++++++++++++++++++++ egg/egg-testing.h | 52 +++++++ egg/tests/Makefile.am | 27 ++++ egg/tests/test-dh.c | 209 ++++++++++++++++++++++++++++ egg/tests/test-hkdf.c | 345 +++++++++++++++++++++++++++++++++++++++++++++++ egg/tests/test-secmem.c | 267 ++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 2 + po/gsecret.pot | 29 ++++ 12 files changed, 1218 insertions(+), 14 deletions(-) commit 41e7cb387ee01090410e8c7db8ce949fd7780c24 Author: Stef Walter Date: 2011-09-25 Complete Service instantiation, add mock service, and initial test * Not yet tested, but compiles .gitignore | 3 + library/gsecret-item.c | 9 +- library/gsecret-private.h | 19 +- library/gsecret-service.c | 111 +++++- library/gsecret-util.c | 15 + library/tests/Makefile.am | 3 +- library/tests/mock-service-normal.py | 6 + library/tests/mock.py | 71 ---- library/tests/mock/__init__.py | 1 + library/tests/mock/aes.py | 656 ++++++++++++++++++++++++++++++++++ library/tests/mock/dh.py | 80 +++++ library/tests/mock/hkdf.py | 86 +++++ library/tests/mock/service.py | 126 +++++++ library/tests/test-initial.c | 39 -- library/tests/test-session.c | 89 +++++ 15 files changed, 1190 insertions(+), 124 deletions(-) commit 8a6ba782dbff995718adf825e8decf922c50bb06 Author: Stef Walter Date: 2011-09-25 Beginnings of a mock python secret service library/tests/mock.py | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit ef85c4ff453c95ad76159e5d748f60d22ce3232e Author: Stef Walter Date: 2011-09-25 Add dependency on libgcrypt * This can be disabled using --disable-libgcrypt, which then disables encryption of secrets in transit to the secret service configure.ac | 74 ++++++++++++++++++++++++---- egg/Makefile.am | 13 +++-- egg/egg-libgcrypt.c | 120 +++++++++++++++++++++++++++++++++++++++++++++ egg/egg-libgcrypt.h | 28 +++++++++++ library/Makefile.am | 4 ++ library/gsecret-service.c | 54 +++++++++++++++++--- 6 files changed, 273 insertions(+), 20 deletions(-) commit b1b54f525d4c3f2db6bff59952323d2424850597 Author: Stef Walter Date: 2011-09-25 More Implementation of GSecretService session related code. .gitignore | 3 + Makefile.decl | 1 + autogen.sh | 2 +- configure.ac | 16 +- egg/Makefile.am | 2 + egg/egg-dh.c | 353 +++++++++++++++++++++ egg/egg-dh.h | 50 +++ egg/egg-hkdf.c | 109 +++++++ egg/egg-hkdf.h | 39 +++ egg/egg-secure-memory.c | 313 ++++++++++++------- egg/egg-secure-memory.h | 31 +- library/Makefile.am | 8 +- library/gsecret-collection.h | 67 ++++ library/gsecret-data.c | 118 -------- library/gsecret-data.h | 46 --- library/gsecret-item.c | 297 ++++++++++++++++++ library/gsecret-item.h | 120 ++++++++ library/gsecret-private.h | 42 +++ library/gsecret-prompt.h | 57 ++++ library/gsecret-service.c | 691 ++++++++++++++++++++++++++++++++++++++++++ library/gsecret-service.h | 192 ++++++++++++ library/gsecret-types.h | 30 ++ library/gsecret-util.c | 32 ++ library/gsecret-value.c | 122 ++++++++ library/gsecret-value.h | 46 +++ library/tests/Makefile.am | 27 ++ library/tests/test-initial.c | 39 +++ 27 files changed, 2554 insertions(+), 299 deletions(-) commit 3dfd7aa70f64f4ec13c2684a80771b07a2b5843d Author: Stef Walter Date: 2011-06-12 Initial module setup. Implement GSecretData .gitignore | 26 + AUTHORS | 1 + COPYING | 482 ++++++++++++++++++ ChangeLog | 32 ++ Makefile.am | 6 + NEWS | 33 ++ README | 2 + autogen.sh | 105 ++++ configure.ac | 79 +++ egg/Makefile.am | 10 + egg/egg-secure-memory.c | 1235 +++++++++++++++++++++++++++++++++++++++++++++++ egg/egg-secure-memory.h | 101 ++++ library/Makefile.am | 19 + library/gsecret-data.c | 118 +++++ library/gsecret-data.h | 46 ++ 15 files changed, 2295 insertions(+)