Previously it was Cloak 0.6.2. I upgraded to cloak_ecto 1.0
previously
config :cloak, Cloak.AES.CTR,
tag: “AES”,
default: true,
keys: [
%{tag: <<1>>, key: :base64.decode(<cloak_key_1>), default: true}
]
After update
config :m
y_future_now, MyFutureNow.Vault,
ciphers: [
default: {
Cloak.AES.CTR,
tag: "AES",
key: Base.decode64!(cloak_key_1),
# In AES.GCM, it is important to specify 12-byte IV length for
# interoperability with other encryption software. See this GitHub
# issue for more details:
# https://github.com/danielberkompas/cloak/issues/93
#
# In Cloak 2.0, this will be the default iv length for AES.GCM.
iv_length: 12
# }
# ]
I will try with key: :base64.decode(cloak_key_1) for now in upgraded


















