OpenFeed.KeyStore.File (OpenFeed v0.1.0)

Copy Markdown View Source

Reads the private JWK from a JSON file on disk.

Options

  • :path (required) — absolute path to the JWK JSON file.
  • :cache — see OpenFeed.KeyStore. Defaults to true.

Multi-node warning

This store is not multi-node safe unless the path is genuinely shared storage. Each node reads its own filesystem, so if the file differs — or was generated separately per node — proofs get signed with keys OpenFeed has never seen. Use OpenFeed.KeyStore.Env or AshOpenFeed.KeyStore.Ash for anything running more than one instance.

Written files are 0600, and the parent directory is created if needed.