Commit Graph

814 Commits

Author SHA1 Message Date
Daiki Ueno
34dac1e805 Merge branch 'wip/dueno/coverage-location' into 'master'
ci: Fix artifact location for coverage

See merge request GNOME/libsecret!92
2021-08-13 05:48:48 +00:00
Daiki Ueno
4017d2ec51 ci: Enable tpm2 in fedora:coverage, instead of fedora:Werror
This would give a better coverage report for the new TPM2 code.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-08-12 19:50:25 +02:00
Daiki Ueno
a804519e61 ci: Fix artifact location for coverage
Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-08-12 19:15:56 +02:00
Daiki Ueno
4e79431f4b Merge branch 'tpm-integration' into 'master'
Add TPM2 integration to secret file backend

See merge request GNOME/libsecret!90
2021-08-12 15:49:24 +00:00
Dhanuka Warusadura
ea57d26930 Add TPM2 integration to secret file backend
These changes add TPM2 derived encryption key to secret
file backend.
2021-08-12 21:14:26 +05:30
Daiki Ueno
2f0558fe57 Merge branch 'tpm-issue' into 'master'
TPM2: Fix primary key generation in decrypting

See merge request GNOME/libsecret!91
2021-08-12 15:00:19 +00:00
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