diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-08-17 17:28:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-09-08 16:34:27 +0200 |
commit | 6a0779cbf9b4d45a64e6beb0fb3892835f4f2905 (patch) | |
tree | 082958b2e28f9626c935f91bbcb6d7397a1dfa6c /src/creds | |
parent | d9b5841d40996d42a05b7d6f1adf7a7517966262 (diff) | |
download | systemd-6a0779cbf9b4d45a64e6beb0fb3892835f4f2905.tar.gz |
creds-util: hook up new signed PCR policies
Diffstat (limited to 'src/creds')
-rw-r--r-- | src/creds/creds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/creds/creds.c b/src/creds/creds.c index c067c886db..03422d31ff 100644 --- a/src/creds/creds.c +++ b/src/creds/creds.c @@ -418,6 +418,7 @@ static int verb_cat(int argc, char **argv, void *userdata) { *cn, timestamp, arg_tpm2_device, + /* tpm2_signature_path= */ NULL, data, size, &plaintext, &plaintext_size); if (r < 0) @@ -490,6 +491,8 @@ static int verb_encrypt(int argc, char **argv, void *userdata) { arg_not_after, arg_tpm2_device, arg_tpm2_pcr_mask, + /* tpm2_pubkey_path= */ NULL, + /* tpm2_pubkey_pcr_mask= */ 0, plaintext, plaintext_size, &output, &output_size); if (r < 0) @@ -577,6 +580,7 @@ static int verb_decrypt(int argc, char **argv, void *userdata) { name, timestamp, arg_tpm2_device, + /* tpm2_signature_path= */ NULL, input, input_size, &plaintext, &plaintext_size); if (r < 0) |