Commit Graph

758 Commits

Author SHA1 Message Date
Dhanuka Warusadura
ebb18f7885 TPM2: Fix primary key generation in decrypting
These changes fix TPM2 primary key generation in decrypting
when there is no primary key is present.

Also, fixes a memory issue.
2021-08-12 20:24:40 +05:30
Marek Černocký
b3a7468f06 Updated Czech translation 2021-08-06 21:09:20 +02:00
Daiki Ueno
301e3ce617 Merge branch 'tss-dev' into 'master'
Add TPM2 API and its implementations to egg

See merge request GNOME/libsecret!83
2021-08-04 09:21:38 +00:00
Dhanuka Warusadura
63907d907e Add TPM2 API and its implementations to egg
These changes define the TPM2 API and add its implementations
to the incubation area (egg/).

Summary of the public API:
`egg_tpm2_initialize`: Start a TPM context.
`egg_tpm2_finalize`: End a TPM context.
`egg_tpm2_generate_master_password`: Generate and returns an
encrypted master password in `GBytes` format. TSS Marshaling,
GVariant serialization is used.
`egg_tpm2_decrypt_master_password`: Decrypts a master password
generated from `egg_tpm2_generate_master_password`. TSS
Unmarshaling, GVariant deserialization is used.

TPM2 API: TSS Enhanced System API (ESAPI)

Proposal: [extend file backend to use TPM2 derived encryption keys](https://gitlab.gnome.org/Teams/Engagement/gsoc-2021/-/issues/13)

Related MRs: [#86](https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/86)

Related Issues: [#63](https://gitlab.gnome.org/GNOME/libsecret/-/issues/63)
2021-08-04 14:42:55 +05:30
Daiki Ueno
10e5e7abe3 Merge branch 'wip/dueno/ci-fixes' into 'master'
ci: Make sure the necessary artifacts to be generated before testing

See merge request GNOME/libsecret!89
2021-08-04 08:49:22 +00:00
Daiki Ueno
8102cfacc7 ci: Make sure the necessary artifacts to be generated before testing
This fixes the CI failures that are caused by missing GIR typelibs and
executables.
2021-08-04 10:39:38 +02:00
Fabio Tomat
77487fc4dd Update Friulian translation 2021-07-26 16:09:41 +00:00
Daniel Mustieles
ef76a29ae4 Updated Spanish translation 2021-07-13 11:47:40 +02:00
Chao-Hsiung Liao
282614d1cf Update Chinese (Taiwan) translation 2021-07-10 09:44:32 +00:00
Daiki Ueno
c3d5297415 Merge branch 'doc_fix_typo' into 'master'
docs: Fix typos

See merge request GNOME/libsecret!88
2021-07-09 17:41:01 +00:00
Evangelos Ribeiro Tzaras
436200b0cb docs: Fix typos 2021-07-09 17:08:29 +02:00
Daiki Ueno
9a8d156075 Merge branch 'tpm' into 'master'
Add --allow-root flag to tpm2-abrmd CI script

See merge request GNOME/libsecret!87
2021-07-08 10:56:22 +00:00
Dhanuka Warusadura
00e948e3ad Add --allow-root flag to tpm2-abrmd CI script 2021-07-08 15:15:53 +05:30
Daiki Ueno
58be3764ac Merge branch 'tpm-emulator' into 'master'
Enable TPM emulator in CI

See merge request GNOME/libsecret!86
2021-07-07 09:45:21 +00:00
Dhanuka Warusadura
af55275eca Enable TPM emulator in CI 2021-07-07 09:45:21 +00:00
Daiki Ueno
f4f50936ef Merge branch 'autotools' into 'master'
Remove autotools config file

See merge request GNOME/libsecret!85
2021-07-05 09:16:30 +00:00
Dhanuka Warusadura
19ba24ddf9 Remove autotools config file
These changes remove egg/Makefile.am
Since, libsecret dropped autotools support this file should be
removed.
2021-07-05 10:29:10 +05:30
Daiki Ueno
42d41c971c Merge branch 'wip/dueno/egg-tests' into 'master'
meson: Run tests for libegg

See merge request GNOME/libsecret!84
2021-07-03 16:58:59 +00:00
Daiki Ueno
7407a261b7 meson: Run tests for libegg 2021-07-03 18:54:04 +02:00
Matej Urbančič
df94aca387 Update Slovenian translation 2021-06-30 16:12:03 +00:00
Daniel Șerbănescu
8bb29a5c49 Update Romanian translation 2021-06-30 14:38:19 +00:00
Daiki Ueno
459b056a7c Merge branch 'piotrdrag/remove-makevars' into 'master'
build: Remove po/Makevars

See merge request GNOME/libsecret!82
2021-06-30 07:59:30 +00:00
Piotr Drąg
9c866ee175 build: Remove po/Makevars
It’s an Autotools leftover.
2021-06-30 07:45:13 +00:00
Andika Triwidada
fd1d467a3f Update Indonesian translation 2021-06-29 07:43:12 +00:00
Alexey Rubtsov
2f4f32316e Update Russian translation 2021-06-28 13:44:22 +00:00
Aurimas Černius
a29b714488 Updated Lithuanian translation 2021-06-27 18:22:04 +03:00
Piotr Drąg
45d83e6fa8 Update Polish translation 2021-06-27 11:00:30 +02:00
Hugo Carvalho
918d313cf6 Update Portuguese translation 2021-06-25 17:25:01 +00:00
Enrico Nicoletto
f680fabf3b Update Brazilian Portuguese translation 2021-06-24 13:43:07 +00:00
Anders Jonsson
e7f1948a0c Update Swedish translation 2021-06-24 12:26:54 +00:00
Yuri Chornoivan
292b10a4f5 Update Ukrainian translation 2021-06-24 12:03:58 +00:00
Daiki Ueno
883119e618 Merge branch 'secret-tool-lock' into 'master'
secret-tool: Add locking capabilities to secret tool

Closes #28

See merge request GNOME/libsecret!75
2021-06-24 11:59:40 +00:00
Nick Montalbano
015ea1194b secret-tool: Add locking capabilities to secret tool
Context, secret tool currently does not have the capability to lock
keyring.

This capability was requested for specific use cases.

Updates have been made to the secret tool to lock keyrings.

Closes https://gitlab.gnome.org/GNOME/libsecret/-/issues/28
2021-06-23 21:27:32 -04:00
Daiki Ueno
72ced3e075 Merge branch 'tintou/no-double-close' into 'master'
secret-file-backend: Avoid closing the same file descriptor twice

See merge request GNOME/libsecret!78
2021-06-16 13:23:53 +00:00
Corentin Noël
0b2844da47 secret-file-backend: Avoid closing the same file descriptor twice
It is already closed a few lines above
2021-06-16 09:05:33 +02:00
Daiki Ueno
fbad80754a Merge branch 'wip/dueno/volatile' into 'master'
Drop "volatile" for g_once_init_enter locations

See merge request GNOME/libsecret!77
2021-06-12 11:52:12 +00:00
Daiki Ueno
86f5afbb10 Remove unnecessary "volatile"
The documentation of g_dbus_error_register_error_domain suggests that
the argument passed to it should not be volatile.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-06-12 13:29:36 +02:00
Niels De Graef
2c2b0abef7 Drop "volatile" for g_once_init_enter locations
This fixes a few (fatal in gcc 11) warnings, breaking the CI.

For the original discussion on why this change is needed, see
https://gitlab.gnome.org/GNOME/glib/-/issues/600
2021-06-12 13:23:00 +02:00
Daiki Ueno
dfcfd2e0a2 Merge branch 'wip/dueno/secret-tool-crash' into 'master'
secret-tool: Fix secret_password_clearv_sync return value check

See merge request GNOME/libsecret!74
2021-04-03 07:46:19 +00:00
Daiki Ueno
9472b0ab39 secret-tool: Fix secret_password_clearv_sync return value check
This was a regression introduced in the rewrite using the simple
API (commit 6886aebb04).

Reported by Chih-Hsuan Yen in:
https://gitlab.gnome.org/GNOME/libsecret/-/issues/56

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-04-03 07:23:51 +02:00
Daiki Ueno
78223a0471 Merge branch 'issue#59' into 'master'
Fix issues flagged by static analyzers

Closes #59

See merge request GNOME/libsecret!73
2021-03-31 11:04:27 +00:00
Dhanuka Warusadura
06931ac755 Fixes a typo
Argument to g_print should be part not path.
2021-03-31 10:59:04 +00:00
Dhanuka Warusadura
7e713cf65a Fix issues flagged by static analyzers
These changes specifically fix the issues flagged by clang-analyzer.
Fixes: #59
2021-03-31 10:59:04 +00:00
Daiki Ueno
127f326a2d Merge branch 'master' into 'master'
secret-enum-types.c/h.template: Fix reproducibility issue

See merge request GNOME/libsecret!68
2021-03-31 09:45:35 +00:00
Richard Purdie
b7d4f8cb36 secret-enum-types.c/h.template: Fix reproducibility issue
When full filenames are used in generated sources it makes the resulting
debug packages non-reproducible. Best practise is to use basename instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 09:38:47 +00:00
Daiki Ueno
d5b2f0426d Merge branch 'meson-option' into 'master'
Add meson option to override default bashcompdir

See merge request GNOME/libsecret!72
2021-03-21 17:58:44 +00:00
Dhanuka Warusadura
6b4a60b377 Add meson option to set default bash_completion installation
location

These changes introduce a new meson option to set the default
location for bash_completion. This will enable the installation
of completion files into the system location.
2021-03-21 17:51:24 +00:00
Dhanuka Warusadura
8b1936b46f Add meson option to override of default bashcompdir
These changes introduce a new meson option to disable
installation of completion files into the system location.
2021-03-21 17:51:24 +00:00
Daiki Ueno
7d6aacdc66 Merge branch 'trivial-fix' into 'master'
Trivial Fix: removes a comment

See merge request GNOME/libsecret!71
2021-03-18 19:50:09 +00:00
Dhanuka Warusadura
8503902759 Trivial Fix: removes a comment
Although it is a comment, it affects the reading and overall code
quality.

Related to: https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/70
2021-03-17 11:37:14 +05:30