mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: Add trustlist flag "de-vs".
* agent/trustlist.c (struct trustitem_s): Add field de_vs.
(read_one_trustfile): Parse it.
(istrusted_internal): Emit TRUSTLISTFLAG status line.
* sm/gpgsm.h (struct rootca_flags_s): Add field de_vs.
* sm/call-agent.c (istrusted_status_cb): Detect the flags.
* sm/sign.c (write_detached_signature): Remove unused vars.
--
Right now this flag has no effect; we first need to specify the exact
behaviour.
GnuPG-bug-id: 5079
(cherry picked from commit a5360ae4c7
)
This commit is contained in:
parent
7e320a89c2
commit
6d45fcdd3c
4 changed files with 15 additions and 1 deletions
|
@ -874,6 +874,8 @@ istrusted_status_cb (void *opaque, const char *line)
|
|||
flags->chain_model = 1;
|
||||
else if (has_leading_keyword (line, "qual"))
|
||||
flags->qualified = 1;
|
||||
else if (has_leading_keyword (line, "de-vs"))
|
||||
flags->de_vs = 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -262,6 +262,7 @@ struct rootca_flags_s
|
|||
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. */
|
||||
unsigned int de_vs:1; /* Root CA is de-vs compliant. */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue