diff --git a/include/gmc.hrl b/include/gmc.hrl index ad11244..4c715d3 100644 --- a/include/gmc.hrl +++ b/include/gmc.hrl @@ -13,7 +13,7 @@ -record(key, - {name = "" :: string(), - id = <<>> :: clutch:id(), - pair = #{} :: #{public := binary(), secret := binary()}, - type = {eddsa, 256} :: {Cipher :: atom, Bitsize :: pos_integer()}}). + {name = "" :: string(), + id = <<>> :: clutch:id(), + pair = #{} :: #{public := binary(), secret := binary()}, + type = {{eddsa, ed25519}, 256} :: {Cipher :: term(), Size :: pos_integer()}}).