This commit is contained in:
swrup 2025-10-13 02:00:42 +02:00
parent 0016410697
commit 54b3f1ad64

View file

@ -338,6 +338,42 @@ module type Offline_signing = sig
val secm_esign_pubkey : string option val secm_esign_pubkey : string option
end end
(* The following options must be in the section "[taler-exchange-secmod-{rsa|cs|eddsa}]". *)
module type Secmod = sig
(*
How long do we generate denomination and signing keys ahead of time?
*)
val lookahead_sign : duration
(*
How much should validity periods for coins overlap?
Should be long enough to avoid problems with
wallets picking one key and then due to network latency
another key being valid. The ``DURATION_WITHDRAW`` period
must be longer than this value.
*)
val overlap_duration : duration
(*
Where should the security module store its long-term private key?
*)
val sm_priv_key : file_path
(*
Where should the security module store the private keys it manages?
*)
val key_dir : dir_path
(*
On which path should the security module listen for signing requests?
*)
val unixpath : not_relevant
end
module type Secmod_rsa = Secmod
module type Secmod_cs = Secmod
module type Secmod_eddsa = Secmod
(* -- ********************************** -- *) (* -- ********************************** -- *)
let currency = `Eur let currency = `Eur
let currency_to_string = function `Eur -> "EUR" let currency_to_string = function `Eur -> "EUR"