Enable TPM Support

GnuPG has TPM support to store the keys since 2.3, but we haven't
enabled it by default.

Note that for it to work properly, the user needs to be part of the tss
group.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
Maxime Ripard 2023-05-30 13:47:26 +00:00 committed by Jakub Jelen
parent ee704fdf3d
commit 91d0fc8712

View File

@ -54,6 +54,7 @@ BuildRequires: gnutls-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: fuse BuildRequires: fuse
BuildRequires: make BuildRequires: make
BuildRequires: tpm2-tss-devel
# for tests # for tests
BuildRequires: openssh-clients BuildRequires: openssh-clients
@ -133,6 +134,7 @@ sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/scdaemon.c
--disable-rpath \ --disable-rpath \
--enable-g13 \ --enable-g13 \
--disable-ccid-driver \ --disable-ccid-driver \
--with-tss=intel \
--enable-large-secmem --enable-large-secmem
# need scratch gpg database for tests # need scratch gpg database for tests