diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-09 00:55:49 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-09 00:55:49 +0000 |
| commit | 6d770c4c8c79569871edc20253f29f9ea00539e6 (patch) | |
| tree | ee21cd67d784084cef98c0dfb3b8c4319dc1935f /src/lib/config.h | |
| parent | 67ff21a970b9c680e243eec9e7129a256898e156 (diff) | |
Check for signer chains containing UTF8-marked strings and offer
to fix them on startup (#1218).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 90ebb0b33..2fca9699c 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -330,6 +330,7 @@ public: NAG_DKDM_CONFIG, NAG_ENCRYPTED_METADATA, NAG_REMAKE_DECRYPTION_CHAIN, + NAG_BAD_SIGNER_CHAIN, NAG_COUNT }; @@ -696,6 +697,10 @@ public: static boost::signals2::signal<void ()> FailedToLoad; /** Emitted if read() issued a warning which the user might want to know about */ static boost::signals2::signal<void (std::string)> Warning; + /** Emitted if there is a bad certificate in the signer chain. Handler can call + * true to ask Config to re-create the chain. + */ + static boost::signals2::signal<bool (void)> BadSignerChain; void write () const; void write_config () const; |
