Commit Graph

16 Commits

Author SHA1 Message Date
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
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
Dhanuka Warusadura
00e948e3ad Add --allow-root flag to tpm2-abrmd CI script 2021-07-08 15:15:53 +05:30
Dhanuka Warusadura
af55275eca Enable TPM emulator in CI 2021-07-07 09:45:21 +00:00
Dhanuka
da9637edee Enable static analyzer in CI
These changes enable clang-analyzer and cppcheck static analyzers.

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/51
2021-03-10 15:40:40 +00:00
Daiki Ueno
01930d5123 .gitlab-ci.yml: install diffutils 2020-03-10 14:05:44 +01:00
Daiki Ueno
225554076a .gitlab-ci.yml: include meson-logs in artifacts 2020-03-10 13:53:44 +01:00
Daiki Ueno
31685e0608 gitlab-ci: Allow pages target to fail 2019-06-09 10:16:50 +02:00
Daiki Ueno
9085c8a6c1 gitlab-ci: Fix the previous change
Don't error out on deploy, if coverage report is not successfully
generated.
2019-06-09 09:08:26 +02:00
Daiki Ueno
5f5e560f0b gitlab-ci: Work around lcov incompatibility with gcc-9 2019-06-09 08:27:23 +02:00
Daiki Ueno
339c19e7ed gitlab-ci: Use meson instead of autotools 2019-06-05 13:57:52 +00:00
Daiki Ueno
b4c909b8bf gitlab-ci: Switch to fedora:28 to fedora:latest 2019-06-05 13:57:52 +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
c23f8134e9 gitlab-ci: Really run "make check" with ASan 2018-06-11 10:03:49 +02:00
Daiki Ueno
79ca2bd319 build: Enable gitlab-ci 2018-06-07 10:07:11 +02:00