Aker.PublicKeys (Aker v0.1.0)

Copy Markdown View Source

Ed25519 public keys as a host's config lists them: raw 32-byte keys, base64. A host decodes its root key list through decode/1 at boot and stops on an error, which names the entry's place in the list and never its value.

Summary

Functions

entries as raw keys, or {:error, place} with the 1-based place of the first entry that is not a base64 32-byte key.

Functions

decode(entries)

@spec decode(term()) :: {:ok, [<<_::256>>]} | {:error, pos_integer()}

entries as raw keys, or {:error, place} with the 1-based place of the first entry that is not a base64 32-byte key.