Commit Graph

814 Commits

Author SHA1 Message Date
Daiki Ueno
79ca2bd319 build: Enable gitlab-ci 2018-06-07 10:07:11 +02:00
Daiki Ueno
98d12ea220 tap-driver: Handle --enable-hard-errors 2018-06-06 18:57:58 +02:00
Daiki Ueno
a3753c1b2b build: Remove unused constants 2018-06-06 15:14:32 +02:00
Daiki Ueno
0ec60173bc doap: add myself as maintainer 2018-05-25 12:44:15 +02:00
Daiki Ueno
a7f2efc450 build: Make DBus code generation more portable
The $'...' quoting syntax is a Bash extension and might not be
available in other Bourne Shell compatible shells:
https://www.gnu.org/software/bash/manual/html_node/Major-Differences-From-The-Bourne-Shell.html#Major-Differences-From-The-Bourne-Shell

https://bugzilla.gnome.org/show_bug.cgi?id=734630
2018-03-31 09:27:23 +02:00
Daiki Ueno
b01e54991a Bump version number 2018-03-29 11:31:31 +02:00
Daiki Ueno
a89385fd60 build: Use xz-compressed archive tarball 2018-03-29 11:31:31 +02:00
Daiki Ueno
ea62c2dcda egg: Fix null termination behavior of egg_secure_strndup()
Even if the given string is shorter than n, the result should be null
terminated.  This matches the behavior of strndup().
2018-03-29 11:31:31 +02:00
Ryan Schmidt
6a99758928 build: Fix bootstrapping with automake 1.16
https://bugzilla.gnome.org/show_bug.cgi?id=794610
2018-03-23 13:35:05 +01:00
Philip Withnall
b738c9f787 lib/schemas: Add secret_get_schema() accessor for SECRET_SCHEMA_*s
The SECRET_SCHEMA_* extern structs are not introspectable; add a new
accessor function which takes an enum and returns a struct, which is
introspectable.

Mark the old extern structs as (skip), but don’t deprecate them because
they’re still useful from C (if unconventional).

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=697681
2018-03-22 17:46:22 +00:00
Dmitry Shachnev
d3ac1c1834 mock: Pad the common secret with zero bytes to make it exactly 128 bytes long
This is what the C code does, see egg/egg-dh.c:340.

https://bugzilla.gnome.org/show_bug.cgi?id=768112
2017-11-07 15:22:40 +01:00
Ville Skyttä
3e5c18bcc2 tool: Man page spelling fix 2017-10-15 00:41:58 +03:00
Ville Skyttä
261c0cd969 tool: s/--details/--unlock/ in search usage message 2017-10-15 00:32:33 +03:00
Ville Skyttä
2624ed771b Spelling fixes 2017-10-15 00:28:01 +03:00
Xavi Ivars
1e1d16e020
[l10n] Updated Catalan (Valencian) translation 2017-10-05 14:33:14 +02:00
Alexander Shopov
009488556f Add bg to LINGUAS 2017-10-02 07:12:16 +02:00
Alexander Shopov
92ab0070ec Updated Bulgarian translation 2017-09-14 22:25:51 +02:00
Michael Catanzaro
f76e333d09 secret-methods: Don't unref NULL when search fails
If the gnome-keyring D-Bus service is not responding, we wind up freeing
the SearchClosure in an error path without ever creating a SecretService
object. Guard against this.

https://bugzilla.gnome.org/show_bug.cgi?id=787391
2017-09-06 20:48:24 -05:00
Pawan Chitrakar
e7961fee3a Add Nepali translation 2017-08-17 08:05:58 +00:00
Debarshi Ray
b9151faaf0 secret-value: Don't annotate secret_value_unref as (allow-none)
https://bugzilla.gnome.org/show_bug.cgi?id=785034
2017-07-17 19:41:33 +02:00
Philip Chimento
4d7b190b67 build: Use $-quoted string to escape newline
BSD sed doesn't like escaping a literal newline character with a
backslash. Instead, use a $-quoted string to escape the newline as \n.

https://bugzilla.gnome.org/show_bug.cgi?id=734630
2017-05-22 11:25:20 +02:00
Bastien Nocera
99a2e6ad3e tool: Fix typos in error messages
s/specfy/specify/

https://bugzilla.gnome.org/show_bug.cgi?id=782206
2017-05-08 13:05:57 +02:00
gogo
d47a5f6249 Add Croatian translation 2017-04-11 16:53:58 +00:00
Tomasz Miąsko
998065599c DH: Ensure that generated secret occupies the same number of bytes as prime.
https://bugzilla.gnome.org/show_bug.cgi?id=778357
2017-02-28 12:40:30 +01:00
David King
455b70968a Build Vala tests with -fPIC
Fixes a build failure in the tests in the Fedora package.

https://bugzilla.gnome.org/show_bug.cgi?id=777826
https://bugzilla.redhat.com/show_bug.cgi?id=1416818
2017-02-01 12:39:02 +01:00
Garima Gaur
b9fbfbdb00 Remove double check on collection_path in secret-collection.c
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Most of the lines of change seem to be reindentation

https://bugzilla.gnome.org/show_bug.cgi?id=775747
2016-12-12 13:22:27 +01:00
Stef Walter
780ae410ce Makefile.am: Start signing releases 2016-12-12 13:20:25 +01:00
Piotr Drąg
2933a1afa4 Adjust translations for the Unicode apostrophe
https://bugzilla.gnome.org/show_bug.cgi?id=772528
2016-10-18 11:32:04 +02:00
Piotr Drąg
3c1faf4f99 Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772528
2016-10-18 11:31:57 +02:00
David King
2ab34b2b5d Add British English translation 2016-09-18 10:32:33 +02:00
Piotr Drąg
54c644e1ef Updated Polish translation 2016-08-22 21:43:12 +02:00
Cédric Valmary
6c60c5b54f Updated Occitan translation 2016-05-30 19:45:37 +00:00
Robert Ancell
f59f2b6a82 Makefile.am: Compile vala unstable tests with SECRET_WITH_UNSTABLE=1.
Without this the generated C code compiles without the correct header (warnings
are disabled so this is not obvious). This was causing the test to crash on
Ubuntu (exact cause not diagnosed).

https://bugzilla.gnome.org/show_bug.cgi?id=767002
2016-05-30 09:41:20 +02:00
Cédric Valmary
3d4ed965fd Updated Occitan translation 2016-05-05 20:20:49 +00:00
Dmitry Shachnev
d50dbae41e build: Port to Python 3
https://bugzilla.gnome.org/show_bug.cgi?id=687637
2016-04-07 10:09:09 +02:00
Dmitry Shachnev
ae5761cd65 libsecret: Get rid of PyGI warnings about unspecified versions
https://bugzilla.gnome.org/show_bug.cgi?id=687637
2016-04-07 10:08:54 +02:00
Marvin Schmidt
cdf7b1cf2b configure: use PKG_PROG_PKG_CONFIG
Since it enables cross-compilation by looking for a host triplet
prefixed pkg-config binary, e.g. i686-pc-linux-gnu-pkg-config when
passing --host=i686-pc-linux-gnu to cross-compile for x86

https://bugzilla.gnome.org/show_bug.cgi?id=748111
2016-03-25 11:11:13 +01:00
Stef Walter
0c468b56b0 Bump version number 2016-03-25 09:18:37 +01:00
Fabio Tomat
5048a4f152 Updated Friulian translation 2016-03-23 15:08:08 +00:00
Antonio Murdaca
43cac02864 Fix typos
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Fix one spelling of 'succeeded'

https://bugzilla.gnome.org/show_bug.cgi?id=763143
2016-03-08 13:32:07 +01:00
Dmitry Shachnev
7da8c2b70e mock: Remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=761834
2016-02-14 17:55:09 +01:00
Dmitry Shachnev
847dd055e4 mock: Port to Python 3
https://bugzilla.gnome.org/show_bug.cgi?id=761834
2016-02-14 17:55:09 +01:00
Dmitry Shachnev
be5f98bbdb mock: Port to modern pygobject API
https://bugzilla.gnome.org/show_bug.cgi?id=761834
2016-02-14 17:55:08 +01:00
Stef Walter
a3a6f5c9d8 build: Add redirect Makefile for when $srcdir != $builddir 2016-02-13 12:27:18 +01:00
Stef Walter
ba2c57d842 Bump version number 2016-01-19 09:24:39 +01:00
Michael Catanzaro
0660951db3 Fix typos 2015-11-13 14:35:52 -08:00
Cédric Valmary
7a48052848 Updated Occitan translation 2015-11-10 14:05:22 +00:00
Christophe Fergeau
1b55291feb Fix secret_schema_unref detection of 0 refcount
g_atomic_int_add (&schema->refs, -1); will return the value of 'refs'
_before_ adding -1 to it, so checking this value for 0 to see if the
refcount dropped to 0 after adding -1 is not going to work and will
cause a leak.
Using g_atomic_int_dec_and_test() fixes this problem as this will return
TRUE when the value drops to 0 after being decremented.

https://bugzilla.gnome.org/show_bug.cgi?id=756766
2015-10-19 12:11:19 +02:00
Christophe Fergeau
20f35bfd92 build-sys: Update valgrind headers
libsecret ships headers from valgrind, but they seem to come from an old
version. Update to the headers from valgrind-3.11.0-1.fc23.x86_64
in order to get VG_DO_ADDED_LEAK_CHECK definition.

https://bugzilla.gnome.org/show_bug.cgi?id=756766
2015-10-19 12:11:19 +02:00
Christophe Fergeau
b8bd3d0de8 secret-sync: Fix SecretSync leak
The memory allocated for the SecretSync instance itself was not freed. This fixes:
==7106== 24 bytes in 1 blocks are definitely lost in loss record 855 of 1,629
==7106==    at 0x4C2A9C7: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7106==    by 0x600303F: g_malloc0 (gmem.c:124)
==7106==    by 0x6003322: g_malloc0_n (gmem.c:354)
==7106==    by 0x4E6979D: _secret_sync_new (secret-util.c:441)
==7106==    by 0x4E65D11: secret_service_read_alias_dbus_path_sync (secret-paths.c:2334)
==7106==    by 0x4E4E09E: secret_collection_for_alias_sync (secret-collection.c:2221)
==7106==    by 0x40270E: test_for_alias_sync (test-collection.c:187)
==7106==    by 0x60258FA: test_case_run (gtestutils.c:2158)
==7106==    by 0x6025CBB: g_test_run_suite_internal (gtestutils.c:2241)
==7106==    by 0x6025D64: g_test_run_suite_internal (gtestutils.c:2253)
==7106==    by 0x6025F7B: g_test_run_suite (gtestutils.c:2328)
==7106==    by 0x6024C1C: g_test_run (gtestutils.c:1596)
==7106==    by 0x4E7CA3B: egg_tests_run_with_loop (egg-testing.c:167)
==7106==    by 0x406948: main (test-collection.c:1033)

https://bugzilla.gnome.org/show_bug.cgi?id=756766
2015-10-19 12:09:50 +02:00