| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add an option 'introspection' for meson which could control whether
build GIR files or not.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #37.
|
| |
|
| |
|
|
|
|
|
| |
Meson has native support for the libgcrypt-config program if pkgconfig
file is not provided.
|
|
|
|
|
|
|
|
| |
Now with meson build system libsecret FTBFS without valgrind installed.
Two issues: (1) egg-testing.c depends on valgrind/valgrind.h unnecessarily;
(2) we forgot to add "build" directory as a header directory for meson.
This commit resolves both of them.
|
| |
|
| |
|
|
|
|
|
| |
This switches to using relative paths as much as possible, and the "/"
shorthand for join_paths.
|
|
|
|
|
|
|
| |
To suppress the warning:
WARNING: Project targetting '>= 0.48' but tried to use feature
introduced in '0.50.0': install arg in configure_file
|
|
|
|
|
|
| |
The meson build does not check for `mlock()` and define `HAVE_MLOCK`.
Fixes https://gitlab.gnome.org/GNOME/libsecret/issues/23
|
|
|
|
|
|
|
|
|
|
| |
Some distributions patch libgcrypt to provide a pkg-config file, and
disable libgcrypt-config. One of these distributions is Yocto, which we
use as the basis for the GNOME Continuous build environment.
We should check if there's a pkg-config file available for gcrypt, and
use it, falling back to libgcrypt-config if the pkg-config file is not
found.
|
| |
|
|
To build with meson, use the following commands:
```
$ meson build
$ ninja -C build
# in case you want to install
$ ninja -C build install
```
|