fix check for replay attack + revoke 1sec in the future

This commit is contained in:
swrup 2026-02-26 17:52:30 +01:00 committed by Swrup
parent b7e48641a5
commit 35c0453267
5 changed files with 67 additions and 48 deletions

View file

@ -1,6 +1,11 @@
(* not done:
/management/aml-officers (for /aml)
/management/partners (for /wads) *)
(* TODO
don't trust any public keys
keep trusted exchange/secmod keys
either from config or TOFU (Trust On First Use)
not done:
/management/aml-officers (for /aml)
/management/partners (for /wads) *)
open Cmdliner
open Cmdliner.Term.Syntax
open Offline_impl