From 7c8c6060616ab91f5490e91a0fb9efc9aee9f58e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 27 Feb 2022 12:03:20 +0100 Subject: agent: New flag "qual" for the trustlist.txt. * agent/trustlist.c (struct trustitem_s): Add flag "qual". (read_one_trustfile): Rename arg "allow_include" to "systrust" and change callers. Parse new flag "qual". (istrusted_internal): Print all flags. * sm/call-agent.c (istrusted_status_cb): Detect the "qual" flag. * sm/gpgsm.h (struct rootca_flags_s): Add flag "qualified". * sm/certchain.c (do_validate_chain): Take care of the qualified flag. --- sm/gpgsm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sm/gpgsm.h') diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 6dc5927b7..acb9332ba 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -268,6 +268,7 @@ struct rootca_flags_s information. */ unsigned int relax:1; /* Relax checking of root certificates. */ unsigned int chain_model:1; /* Root requires the use of the chain model. */ + unsigned int qualified:1; /* Root CA used for qualfied signatures. */ }; -- cgit v1.2.3