diff options
author | Werner Koch <[email protected]> | 2022-02-27 11:03:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-02-27 11:26:38 +0000 |
commit | 7c8c6060616ab91f5490e91a0fb9efc9aee9f58e (patch) | |
tree | 668b52ae34cf03c609fbd90ae086e99f693de110 /sm/gpgsm.h | |
parent | dimngr: Do not check the self-signature of a root CA cert. (diff) | |
download | gnupg-7c8c6060616ab91f5490e91a0fb9efc9aee9f58e.tar.gz gnupg-7c8c6060616ab91f5490e91a0fb9efc9aee9f58e.zip |
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.
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ }; |