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

This commit is contained in:
swrup 2026-02-26 17:52:30 +01:00
parent 30d500fe7d
commit bba5484da2
4 changed files with 66 additions and 46 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