cmdmon: reload NTS server keys on rekey command

When ntsrotate is set to 0, allow the keys to be reloaded with the rekey
command of chronyc.
This commit is contained in:
Miroslav Lichvar
2020-04-15 11:52:49 +02:00
parent 85fa29c43d
commit 958d66f8a7
5 changed files with 23 additions and 1 deletions

View File

@@ -36,6 +36,9 @@ extern void NKS_Finalise(void);
/* Save the current server keys */
extern void NKS_DumpKeys(void);
/* Reload the keys */
extern void NKS_ReloadKeys(void);
/* Generate an NTS cookie with a given context */
extern int NKS_GenerateCookie(NKE_Context *context, NKE_Cookie *cookie);