867 Commits

Author SHA1 Message Date
Niels De Graef
068dc05742 Merge branch 'docs' into 'main'
secret-tool: man and help adjustments

See merge request GNOME/libsecret!164
2025-11-08 17:39:03 +00:00
Roberto Vidal
044554ecbd secret-tool: document --collection option
Fixes #31
2025-11-08 17:29:23 +00:00
Roberto Vidal
99a29712e9 secret-tool: align behavior for collection option 2025-11-08 17:29:23 +00:00
Antonio Marin
361abddbcb Update Romanian translation 2025-10-16 08:57:53 +00:00
Abduqadir Abliz
30d98bc4fe Add Uighur translation 2025-09-22 18:11:43 +00:00
Victoria
fc99b004f1 readme: replace translation project's wiki link with a welcome.g.o link
Since we have a Welcome page now, we can send people there instead of old wiki.
2025-07-24 13:27:50 +02:00
Baxrom Raxmatov
f0070c50a1 Add Uzbek (Latin) translation 2025-03-24 15:03:52 +00:00
Niels De Graef
0936f740c0 Release stable version 0.21.7 0.21.7 2025-03-18 23:16:57 +01:00
Niels De Graef
4afd50c370 ci: Disable container building
The freedesktop.org GitLab is undergoing extensive migration, so to
unblock our CI, disable container building using ci-templates for now.
2025-03-18 23:16:57 +01:00
Niels De Graef
3adaf31d97 Merge branch 'nielsdg/bash-completion-check' into 'main'
meson: Require minimal version for bash-completion

See merge request GNOME/libsecret!163
2025-02-13 02:09:52 +00:00
Niels De Graef
ce2759ab70 meson: Require minimal version for bash-completion
As the bash-completion maintainers have pointed out upstream
(https://github.com/scop/bash-completion/issues/1317#issuecomment-2619702773)
the script requires at least bash-completions 2.12. So let's check for
that also in our meson.build
2025-02-11 02:44:14 +01:00
Niels De Graef
ff037ab89f meson: use newlines for build options 2025-01-26 23:39:37 +01:00
Niels De Graef
37d3912f25 Merge branch 'nielsdg/update-bash-completion' into 'main'
Integrate external extended bash-completion script

Closes #103

See merge request GNOME/libsecret!161
2025-01-26 17:23:44 +00:00
Niels De Graef
6d6890a28a Integrate external extended bash-completion script
The [bash-completion] git repository has had an extended version for
dealing with bash-compleions of our `secret-tool` for a while now.

We've agreed it makes sense to ship their version upstream, i.e. in this
repo. I didn't author this, the real credits go to the authors mentioned
below.

[bash-completion]: https://github.com/scop/bash-completion

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/103
2025-01-26 15:03:59 +01:00
Niels De Graef
928307707e Merge branch 'rafaelff/man-section-number' into 'main'
Fix man section number in the secret-tool completion file

See merge request GNOME/libsecret!160
2025-01-26 13:53:54 +00:00
Rafael Fontenelle
7a0987ccfb Fix man section number in the secret-tool completion file 2025-01-16 03:34:09 +00:00
René Kilczan
ae00f7726c Update secret-value.c
Fix error in documentation

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/92
2025-01-16 00:05:03 +01:00
Niels De Graef
e59012225c Release stable version 0.21.6 0.21.6 2025-01-15 23:54:16 +01:00
Niels De Graef
fd61416a86 Merge branch 'nielsdg/bash-completion-fix' into 'main'
meson: Actually include bash-completion subdir

See merge request GNOME/libsecret!158
2025-01-15 22:52:01 +00:00
Niels De Graef
a01870a2ce meson: Actually include bash-completion subdir
While we're at it, change the `warning()` to a `message()`.
2025-01-15 23:37:14 +01:00
Niels De Graef
6603088bf1 Merge branch 'nielsdg/make-dbus-run-session-optional' into 'main'
meson: Make dbus-run-session optional

Closes #100

See merge request GNOME/libsecret!157
2025-01-15 21:39:26 +00:00
Niels De Graef
8ab88d18af meson: Make dbus-run-session optional
Although it most probably makes sense for anyone who wants to run the
tests, there's always a possibility someone wants to use a different
setup instead.

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/100
2025-01-15 22:33:57 +01:00
Niels De Graef
c9b3e4e98b Release stable version 0.21.5 0.21.5 2025-01-15 03:48:02 +01:00
Niels De Graef
48f09c5633 ci: Forgot to add our custom image to coverage job 2025-01-15 03:01:21 +01:00
Niels De Graef
13636affee Merge branch 'nielsdg/use-fdo-ci-template' into 'main'
ci: Use fdo-ci-templates for building Dockers

See merge request GNOME/libsecret!155
2025-01-15 01:58:21 +00:00
Niels De Graef
693fa19f72 ci: Use fdo-ci-templates for building Dockers 2025-01-15 02:49:43 +01:00
Niels De Graef
9ccf000a8c meson: Fix warnings for Vala tests
With the latest GCC, Vala is generating some code that triggers compiler
warnings. There's not much we can do about it, so let's just ignore
those.
2025-01-15 02:49:43 +01:00
Niels De Graef
666f0f82fe tests: Fix compiler warnings on Vala tests
`GLib.Test.add_data_func()` requires an extra argument that represents
the test data. Since we're not giving this, GCC is throwing a compiler
error. We should be using `GLib.Test.add_func()` instead.

Reported-by: Chao Yuan (@yuncang123)
Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/95
2025-01-15 02:29:16 +01:00
Niels De Graef
faa42d7cb5 ci: Start using GNOME Release Service
See https://handbook.gnome.org/maintainers/making-a-release.html
2025-01-13 19:37:23 +01:00
Niels De Graef
a773060332 Merge branch 'nielsdg/meson-dbus-test-setup' into 'main'
meson: Make default test setup with D-Bus

See merge request GNOME/libsecret!115
2025-01-13 09:41:25 +00:00
Niels De Graef
35381ee638 meson: Make default test setup with D-Bus
This makes sure that our tests run within their own D-Bus session (which
is a requirement most of the time)

As a result, we can get rid of a few workarounds in our CI to setup such
a session.
2025-01-13 10:31:46 +01:00
Niels De Graef
0eef4e6734 Merge branch 'nielsdg/gitlab-ci-junit' into 'master'
ci: Use meson JUnit integration in GitLab CI

See merge request GNOME/libsecret!154
2025-01-13 08:32:47 +00:00
Niels De Graef
e6f59a01c4 ci: Use meson JUnit integration in GitLab CI
This allows GitLab to show a nice UI for the test report.
2025-01-12 15:52:07 +01:00
Guilhem Saurel
b30d5e72c5 Fix typo in D-Bus XML
The `libsecret/org.freedesktop.Secrets.xml` is not a valid XML file
because of an extra character. This commit is a trivial fix.
2024-12-27 12:11:23 +01:00
Dhanuka Warusadura
f62f2b3ae8 Merge branch 'sed-portable' into 'master'
tool: "\|" used for sed in test-secret-tool.sh is not portable

Closes #98

See merge request GNOME/libsecret!150
2024-11-24 13:29:28 +00:00
Marcel Telka
d72c757992 tool: "\|" used for sed in test-secret-tool.sh is not portable 2024-11-23 22:58:35 +01:00
Dhanuka Warusadura
0be4d690e5 Merge branch 'master' into 'master'
secret-service: guard against NULL paths in secret_service_signal

See merge request GNOME/libsecret!148
2024-11-21 14:53:00 +00:00
Simon Pilkington
907e32bfa2 secret-service: guard against NULL paths in secret_service_signal 2024-11-21 15:46:17 +01:00
Dhanuka Warusadura
adf232eaed Merge branch 'header' into 'master'
Remove self-inclusion from `secret-item.h`

Closes #97

See merge request GNOME/libsecret!149
2024-11-21 13:15:38 +00:00
Dhanuka Warusadura
281fe5e62b Remove self-inclusion from secret-item.h
Fixes: #97

Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
2024-11-21 18:39:56 +05:30
Niels De Graef
e39b831776 Merge branch 'salim-b-master-patch-39579' into 'master'
docs: fix link in README

See merge request GNOME/libsecret!147
2024-09-25 22:41:54 +00:00
Salim B
42ce5d0397 docs: fix link in README 2024-09-25 22:26:48 +00:00
Niels De Graef
f41bb4e8f0 Merge branch 'nielsdg/fix-licenses' into 'master'
meson: Fix license field

See merge request GNOME/libsecret!139
2024-09-17 21:31:37 +00:00
Niels De Graef
2487f421dc meson: Fix license field
Before this commit, the field specified "GPL2+" as license which is
wrong on several levels:

- the `license` field should specify a SPDX license identifier (which
  "GPL2+" is not)
- throughout the whole repository multiple licenses are used (not just
  GPL2 and later)
- the main library code is licensed under the LGPL, version 2.1 and
  later

Fix this by providing a proper SPDX identifier:

- The main library code is licensed under the LGPL, version 2.1 and
  later
- The tests are licensed under either the Apache (v2) license or GPL
  (v2 or later)
2024-09-17 21:28:09 +00:00
Tobias Bengfort
54ee246e45 doc: mention file backend
see https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/6
2024-07-23 14:37:27 +02:00
Daiki Ueno
71a2e530a5 Merge branch 'wip/dueno/fips-secret-transport' into 'master'
session: Tolerate non-approved DH parameter usage in FIPS mode

See merge request GNOME/libsecret!145
2024-07-22 21:06:37 +00:00
Daiki Ueno
ed95b24c74 .gitlab-ci.yml: Exercise -Dcrypto=gnutls build in FIPS mode
Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2024-07-23 06:00:11 +09:00
Daiki Ueno
ac1367056d session: Tolerate non-approved DH parameter usage in FIPS mode
The SecretSession protocol uses a weak Diffie-Hellman parameters which
are not approved by FIPS. While this is not ideal, the protocol is not
designed as a general protection mechanism of data in transit, but
just as a safety net against when the dbus-daemon (or dbus-broker)
crashes and dumps a core, and thus bumping the protocol to use a
larger DH group would be overkill.

This patch temporarily disables the FIPS check around the GnuTLS DH
API calls to avoid errors.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2024-07-23 06:00:10 +09:00
Niels De Graef
337a0937fb Merge branch 'fix-python-docs' into 'master'
Improve Python examples

See merge request GNOME/libsecret!144
2024-06-20 06:17:12 +00:00
Daniel Kahn Gillmor
f7e2b7884a Python examples: use gi.require_version("Secret", "1")
This is the standard mechanism to initialize a GObject introspectable
interface.  If you don't do this, you get this PyGIWarning:

  Secret was imported without specifying a version first. Use
  gi.require_version('Secret', '1') before import to ensure that the
  right version gets loaded.
2024-06-19 18:58:48 -04:00