DripDrop.Vault (DripDrop v0.1.0)

Copy Markdown View Source

Cloak vault used for encrypted DripDrop credential fields.

Summary

Functions

Returns a specification to start this module under a supervisor.

Decodes DRIPDROP_ENCRYPTION_KEY from base64 into a 32-byte AES key.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

decode_env_key()

@spec decode_env_key() ::
  {:ok, binary()} | {:error, :missing | :invalid_base64 | :invalid_length}

Decodes DRIPDROP_ENCRYPTION_KEY from base64 into a 32-byte AES key.

start_link(config \\ [])