This commit is contained in:
swrup 2026-02-05 15:31:49 +01:00
parent 5eba5f2265
commit 690ad41b20
16 changed files with 318 additions and 307 deletions

View file

@ -62,9 +62,7 @@ let get_active_signkeys =
WHERE expire_sign > $1 AND NOT EXISTS (SELECT esk_serial FROM \
signkey_revocations AS skr WHERE esk.esk_serial = skr.esk_serial)"
in
fun (module Conn : CONN) ->
let now = Ptime_clock.now () |> Option.some in
Conn.collect_list get_active_signkeys now
fun (module Conn : CONN) ~now -> Conn.collect_list get_active_signkeys now
(* note: does not update revocation *)
let insert_signkey =