Commit Graph

202 Commits

Author SHA1 Message Date
Matej Urbančič
5de3341e25 Added Slovenian translation 2012-12-05 11:06:54 +01:00
Daniel Mustieles
4b3935e9f9 Updated Spanish translation 2012-12-04 12:06:28 +01:00
Piotr Drąg
596dff27d4 Updated Polish translation 2012-12-04 00:43:33 +01:00
Stef Walter
f4e4ed10da Release version 0.12 2012-11-21 17:54:08 +01:00
Stef Walter
fb5f66296f 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
2012-11-14 11:11:23 +01:00
Stef Walter
a23ee598c7 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
2012-11-14 11:11:23 +01:00
Stef Walter
430b217e3e Translated label for automatically created default keyrings
https://bugzilla.gnome.org/show_bug.cgi?id=688165
2012-11-14 11:11:23 +01:00
Stef Walter
afc1d65679 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
2012-11-14 11:11:23 +01:00
Stef Walter
4eb3c4577e 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
2012-11-14 11:11:23 +01:00
Stef Walter
446648da52 egg-hex: Bring over changes from gnome-keyring and gcr 2012-11-07 23:15:44 +01:00
Stef Walter
e666db528e Remove some unused test code 2012-11-06 13:37:01 +01:00
Stef Walter
21f2ccea31 Share the memory pool with the gcr or libgnome-keyring library. 2012-10-27 12:46:59 +02:00
Stef Walter
7cea18071b 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.
2012-10-27 12:23:39 +02:00
Xi Wang
275d314d57 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().
2012-10-23 21:41:38 +02:00
Stef Walter
24cc1e118f Fix for glib deprecations
* g_type_init() was deprecated in glib 2.35.0
2012-10-22 20:50:48 +02:00
Stef Walter
791b0c0b4d Release version 0.11 2012-10-15 14:31:36 +02:00
Stef Walter
7e02a594a7 Better critical preconditions for invalid attributes
* When passing NULL for a string vararg attribute print
   a critical warning.
 * Make all attribute warnings critical
 * Add tests for the various critical warnings

https://bugzilla.gnome.org/show_bug.cgi?id=686015
2012-10-12 18:28:14 +02:00
Stef Walter
bcf1093ff3 Release version 0.10 2012-09-18 12:44:25 +02:00
Piotr Drąg
9e7eb50bfe Updated Polish translation 2012-09-04 18:58:07 +02:00
Takeshi AIHANA
ba3e19150e Added Japanese translation. 2012-09-01 23:42:08 +09:00
Piotr Drąg
8341d3c676 Updated Polish translation 2012-08-23 03:57:45 +02:00
Stef Walter
590c4c1dec Release version 0.9 2012-08-20 16:00:17 +02:00
Stef Walter
131f2b209d Fix gcc warning about uninitialized warning 2012-08-20 15:58:26 +02:00
Stef Walter
ea8c4e247d Display vala enabled status when configuring 2012-08-16 11:43:42 +02:00
Evan Nemerson
8f3387cacc vala: use nodist sources for vala test cases
https://bugzilla.gnome.org/show_bug.cgi?id=681330
2012-08-16 11:30:14 +02:00
Stef Walter
152371b3e4 secret-tool: Add a manual page
https://bugzilla.gnome.org/show_bug.cgi?id=681434
2012-08-16 11:13:10 +02:00
Stef Walter
053ecbd8f7 build: Fix build without libgcrypt
* Needed to use m4_ifdef on the libgcrypt autoconf macro

https://bugzilla.gnome.org/show_bug.cgi?id=681330
2012-08-08 07:57:09 +02:00
Stef Walter
95f05f0e05 Bump version number 2012-08-06 22:14:59 +02:00
Stef Walter
6d4cf7c435 Require valac in order to 'make distcheck'
* Otherwise problems with vala files not being distributed

https://bugzilla.gnome.org/show_bug.cgi?id=681330
2012-08-06 22:13:07 +02:00
Stef Walter
4001cdf871 Don't link to secure memory code twice
* This leads to problems with the tests not being able to free
   non-pageable memory returned from libsecret-testable.so
2012-08-06 16:08:13 +02:00
Stef Walter
18e125d462 More licensing tweaks
* Actually include in the tarball the other licenses for test code
 * Refer to COPYING.TESTS not COPYING.GPL

https://bugzilla.gnome.org/show_bug.cgi?id=681302
2012-08-06 16:08:13 +02:00
Stef Walter
1c400704de Release version 0.8 2012-08-06 15:14:04 +02:00
Matthias Clasen
9011932730 Actually export SECRET_SCHEMA_NOTE
The regex for exported symbols was keeping the predefined
schemas from being available to outside users of the library.
This was showing up as a link error for seahorse, which is
trying to use SECRET_SCHEMA_NOTE.

https://bugzilla.gnome.org/show_bug.cgi?id=681255
2012-08-06 08:31:14 -04:00
Stef Walter
e43cba8174 Fix up libsecret licensing
* License libsecret under LGPL2.1+. We can do this because the
   files that make up the library are either LGPL2.0+ or LGPL2.1+
 * Correctly include a file which contains the full texts of the
   various licenses used in the tests.
 * Include license headers in some files that contained no license
   headers.

https://bugzilla.gnome.org/show_bug.cgi?id=680781
2012-08-06 11:25:08 +02:00
Stef Walter
66a7a81216 Fix introspection tests
* Regressed due to hiding of internal symbols in libsecret.so and
   creation of a separate libsecret-testable.so library
2012-07-31 14:56:52 +02:00
Stef Walter
6becc33e8c Support building with automake 1.12.x
https://bugzilla.gnome.org/show_bug.cgi?id=680839
2012-07-30 17:03:12 +02:00
Stef Walter
9544b683f1 secret-tool: Use the correct call to wipe password in memory
* Fixes crash
2012-07-30 11:44:15 +02:00
Stef Walter
e34381276e Set correct module flags on libsecret
* Pointed out by Robert Ancell

https://bugzilla.gnome.org/show_bug.cgi?id=680207
2012-07-24 06:24:05 +02:00
Stef Walter
54b73f5cb6 Initialize gettext in secret-tool
https://bugzilla.gnome.org/show_bug.cgi?id=680072
2012-07-18 07:40:01 +02:00
Stef Walter
9bf240ef4d Release version 0.7 2012-07-16 12:54:59 +02:00
Stef Walter
45e01e6600 Match schema names for notes and network passwords
* These are old item types from libgnome-keyring, and
   gnome-keyring-daemon has special code to generate the
   schema for these types of items.
2012-07-14 13:25:39 +02:00
Stef Walter
ebc65dba98 Remove multiple definitions of SecretCollection
https://bugzilla.gnome.org/show_bug.cgi?id=679913
2012-07-14 13:23:16 +02:00
Stef Walter
ce03e082a2 Remove empty secret-unstable.h file 2012-07-14 12:11:02 +02:00
Stef Walter
f4d8fc4751 Add flags argument to secret_collection_for_alias()
* Can control whether items are loaded or not.
2012-07-14 12:09:38 +02:00
Stef Walter
56ece9eff0 Correct flags for SecretCollection
* The SECRET_COLLECTION_LOAD_ITEMS flag was always set
2012-07-14 12:09:10 +02:00
Stef Walter
49cdaf5df8 Release version 0.6 2012-07-14 09:07:20 +02:00
Stef Walter
e0ba10ee09 Rename secret_password_remove() to secret_password_clear()
* It's clearer what happens here: we try to remove as many matching
   passwords as possible.
 * Also rename secret_service_remove() to secret_service_clear()
 * Rename secret_password_clear() which used to wipe password memory
   to secret_password_wipe().
2012-07-14 08:20:32 +02:00
Colin Walters
7efb4d5073 build: Disable parallelism in tests 2012-07-13 17:54:25 -04:00
Colin Walters
19eb104158 build: Fix parallel make issue
SecretUnstable.gir depends on Secret.gir, which in turn depends
on the stuff that was previously listed.
2012-07-13 17:50:22 -04:00
Stef Walter
69fd67ae19 Properly refer to the fact that multiple passwords may be removed. 2012-07-13 16:08:36 +02:00