Ankusa.Crypto.Envelope.Keyring (ankusa v0.7.0)

Copy Markdown View Source

The keys resolved from a secrets section (Ankusa.Crypto.Envelope.keyring/1): the current key and the id it is named by, and every key that may decrypt. inspect/1 shows the current key's id only, so a crash report that prints a store's state never prints a key.

Summary

Types

t()

@type t() :: %Ankusa.Crypto.Envelope.Keyring{
  current: binary() | nil,
  current_id: String.t() | nil,
  keys: %{required(String.t()) => binary()}
}