commit f4e4ed10da6319c1bdbaf4953b89347688f91b2b Author: Stef Walter Date: 2012-11-21 Release version 0.12 NEWS | 6 ++++++ configure.ac | 2 +- libsecret/tests/Makefile.am | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) commit fb5f66296f9e19250e470ca1272ee319e68d0849 Author: Stef Walter Date: 2012-11-14 Don't print messages when creating default collection * This is expected behavior, so don't complain. https://bugzilla.gnome.org/show_bug.cgi?id=688165 libsecret/secret-methods.c | 4 +--- libsecret/secret-paths.c | 7 +++++++ libsecret/secret-private.h | 3 +++ 3 files changed, 11 insertions(+), 3 deletions(-) commit a23ee598c7634a7bc1c6d2090856dd465d46835f Author: Stef Walter Date: 2012-11-14 Rework how we strip remote DBus errors * This is necessary because sometimes we don't want to complain, for expected errors, when running nested operations. * The fact that we have to do this is silly, and soon there will be a solution in glib itself. https://bugzilla.gnome.org/show_bug.cgi?id=688165 libsecret/secret-collection.c | 12 ++++++------ libsecret/secret-item.c | 18 +++++++----------- libsecret/secret-methods.c | 12 ++++++------ libsecret/secret-paths.c | 22 ++++++++-------------- libsecret/secret-private.h | 3 +++ libsecret/secret-prompt.c | 4 +--- libsecret/secret-service.c | 8 ++++---- libsecret/secret-session.c | 4 +--- libsecret/secret-util.c | 17 +++++++++++++---- 9 files changed, 49 insertions(+), 51 deletions(-) commit 430b217e3e17a4623894750bcb996489353aa6b3 Author: Stef Walter Date: 2012-11-14 Translated label for automatically created default keyrings https://bugzilla.gnome.org/show_bug.cgi?id=688165 libsecret/secret-methods.c | 4 +++- po/POTFILES.in | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) commit afc1d656791c938796894e7ef458a5d60875fc50 Author: Stef Walter Date: 2012-11-14 When storing a secret, create default keyring if necessary * If the default keyring does not exist when storing a secret try and create it. * We handle both secrets that correctly return NoSuchObject and ones that just return the silly DBus UnknownMethod error. https://bugzilla.gnome.org/show_bug.cgi?id=688165 libsecret/secret-collection.c | 8 ++--- libsecret/secret-methods.c | 63 ++++++++++++++++++++++++++++++++--- libsecret/secret-private.h | 4 +++ libsecret/tests/mock-service-empty.py | 17 ++++++++++ libsecret/tests/test-methods.c | 50 +++++++++++++++++++++++++++ 5 files changed, 134 insertions(+), 8 deletions(-) commit 4eb3c4577e16feb74870c023eaaa474bc7490a1a Author: Stef Walter Date: 2012-11-14 Fix collection creation bugs in mock service * Guarantee that collections have unique paths * Set the alias of new collections correctly https://bugzilla.gnome.org/show_bug.cgi?id=688165 libsecret/tests/mock/service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 446648da529d8aeedae8539eceba5052f421bdac Author: Stef Walter Date: 2012-11-07 egg-hex: Bring over changes from gnome-keyring and gcr egg/egg-hex.c | 37 ++++++++++++++++++++++--------------- egg/egg-hex.h | 12 ++++++------ egg/tests/test-hex.c | 11 +++++++---- 3 files changed, 35 insertions(+), 25 deletions(-) commit e666db528e50b81f63005499fd56c6d8aa5f7252 Author: Stef Walter Date: 2012-11-06 Remove some unused test code egg/tests/test-secmem.c | 2 -- 1 file changed, 2 deletions(-) commit 21f2ccea31e32298a79a3e793b6dd20550c70bbe Author: Stef Walter Date: 2012-10-27 Share the memory pool with the gcr or libgnome-keyring library. libsecret/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7cea18071bd33d70834cc05b8bcdcaee05194270 Author: Stef Walter Date: 2012-10-27 Bring over a new version of the secure memory code from gcr * This allows libraries to share the pool if they have the same version of the secure memory code. egg/egg-secure-memory.c | 453 +++++++++++++++++++++++---------------------- egg/egg-secure-memory.h | 110 +++++------ egg/tests/test-dh.c | 2 +- egg/tests/test-hkdf.c | 2 +- egg/tests/test-secmem.c | 20 +- libsecret/secret-service.c | 2 +- 6 files changed, 300 insertions(+), 289 deletions(-) commit 275d314d5706e412c346fe85027b888cf7d99f76 Author: Xi Wang Date: 2012-10-22 Fix incorrect loop condition in egg_hkdf_perform() This does not cause a change in behavior (as evidenced by tests, at least on linux when built with gcc) but is more correct code, and less likely to be miscompiled. The condition (i < 256) in the following loop is always false since i is of type guchar, which is at most 255. guchar i; ... for (i = 1; i < 256; ++i) { ... } This patch changes i to a larger type gint. Also in the loop we have: gcry_md_write (md2, &i, 1); change it to use gcry_md_putc(). egg/egg-hkdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 24cc1e118f34c8d90e05e9a6a9762de5c0415328 Author: Stef Walter Date: 2012-10-22 Fix for glib deprecations * g_type_init() was deprecated in glib 2.35.0 docs/reference/libsecret/Makefile.am | 4 +++- libsecret/tests/test-attributes.c | 2 ++ libsecret/tests/test-collection.c | 2 ++ libsecret/tests/test-item.c | 2 ++ libsecret/tests/test-methods.c | 2 ++ libsecret/tests/test-password.c | 2 ++ libsecret/tests/test-paths.c | 2 ++ libsecret/tests/test-prompt.c | 2 ++ libsecret/tests/test-service.c | 2 ++ libsecret/tests/test-session.c | 2 ++ libsecret/tests/test-value.c | 3 +++ tool/secret-tool.c | 2 ++ 12 files changed, 26 insertions(+), 1 deletion(-)