From aabd81f6289ab9e1ddfed536b3d32dd7a1565ef9 Mon Sep 17 00:00:00 2001 From: swrup Date: Mon, 6 Oct 2025 19:51:56 +0200 Subject: [PATCH] + Rsa_denomination_key --- src/types.ml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/types.ml b/src/types.ml index e85ce833..347a0485 100644 --- a/src/types.ml +++ b/src/types.ml @@ -130,19 +130,17 @@ module Eddsa = struct let pub_to_string pub = pub |> Mirage_crypto_ec.Ed25519.pub_to_octets |> Base_32.encode - (*type priv = string*) (* EdDSA signatures are transmitted as 64-bytes base32 binary-encoded objects with just the R and S values (base32_ binary-only). *) (*type signature = string*) end module Rsa = struct + (* TODO + GNUNET_CRYPTO custom encode/decode *) (* RSA public key converted to Crockford Base32. *) type pub = Mirage_crypto_pk.Rsa.pub - (* TODO - how to read/write pub rsa key - what format is used? *) let pub_of_string _s = assert false let pub_to_string _pub = assert false end