Commit Graph

632 Commits

Author SHA1 Message Date
Andre Klapper
3b44251650 Replace Bugzilla by Gitlab URL in DOAP file 2018-12-14 12:03:19 +01:00
Daiki Ueno
a112dffa0b Merge branch 'revert-0838b331' into 'master'
Revert "Merge branch 'wip/dueno/search' into 'master'"

See merge request GNOME/libsecret!10
2018-12-07 14:54:08 +00:00
Daiki Ueno
9c3381b483 Revert "Merge branch 'wip/dueno/search' into 'master'"
This reverts merge request !7
2018-12-07 14:28:20 +00:00
Charles Monzat
3b84f68cc1 Update French translation 2018-12-05 08:25:27 +00:00
Tomasz Miąsko
5a217c5cae Secret item schema name is optional
Initialize the schema_name so that NULL is returned when the schema name
is absent, instead of an uninitialized memory. Mark return value as
nullable to indicate this for introspection and documentation.
2018-10-19 13:10:15 +02:00
Daiki Ueno
0838b3316b Merge branch 'wip/dueno/search' into 'master'
password: Add secret_password_search* functions

Closes #16

See merge request GNOME/libsecret!7
2018-10-19 10:49:58 +00:00
Daiki Ueno
7716449b1d password: Add secret_password_search* functions
Previously there were no functions in the simple API that return the
matched attributes other than the secret value, while there were needs
for augumenting user input with additional information (such as
completing web forms).

This adds a set of functions which wrap secret_service_search*.  Note
that the return value is a list of GHashTable not of SecretItem,
because SecretItem is a subclass of GDBusProxy, which we don't want to
expose from the simple API.

Fixes #16
2018-10-19 12:00:45 +02:00
Daiki Ueno
5ce2540785 Merge branch 'tap-python3' into 'master'
build: update tap scripts

See merge request GNOME/libsecret!4
2018-08-28 09:43:30 +00:00
Jan Tojnar
d31352679d
build: update tap scripts
This replaces tap-driver and tap-gtester with fresh versions from Cockpit.

https://github.com/cockpit-project/cockpit/pull/9500
https://wiki.gnome.org/Initiatives/GnomeGoals/Python3Porting

Also included are the following commits that are not included in Cockpit:

* 918ab836fd
* 7e75a62e84
* 7120f44cee
* 98d12ea220

Basically a copy of https://gitlab.gnome.org/GNOME/gnome-keyring/merge_requests/4
2018-08-28 11:27:27 +02:00
Daiki Ueno
9bde303840 Merge branch 'wip/dueno/gitlab-ci' into 'master'
gitlab-ci: Switch to fedora:latest from fedora:rawhide

See merge request GNOME/libsecret!3
2018-07-26 20:29:28 +00:00
Daiki Ueno
2f29930738 gitlab-ci: Run "dnf upgrade" before installing packages 2018-07-24 16:14:03 +02:00
Daiki Ueno
f150c7a3a0 gitlab-ci: Switch to fedora:28 from fedora:rawhide 2018-07-24 15:18:53 +02:00
Daiki Ueno
9ca8f323a9 secret-session: Avoid double-free in service_encode_plain_secret()
As g_variant_builder_add_value() takes ownership of a floating
GVariant, we don't need to unref it afterwards.
2018-07-20 11:01:08 +02:00
Daiki Ueno
83774b8b93 build: Add .dir-locals.el for Emacs 2018-07-20 10:54:30 +02:00
Daiki Ueno
c23f8134e9 gitlab-ci: Really run "make check" with ASan 2018-06-11 10:03:49 +02:00
Daiki Ueno
5298bf77ac Merge branch 'wip/nielsdg/intltool2gettxt' into 'master'
Migrate from intltool to gettext.

See merge request GNOME/libsecret!2
2018-06-09 06:07:53 +00:00
Niels De Graef
f25420d5aa Migrate from intltool to gettext. 2018-06-09 05:52:31 +00:00
Daiki Ueno
d5788bd015 Merge branch 'wip/dueno/gitlab-ci' into 'master'
build: Enable gitlab-ci

See merge request GNOME/libsecret!1
2018-06-09 04:51:58 +00:00
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