mix openfeed.jwks (OpenFeed v0.1.0)

Copy Markdown View Source

Print the public half of your OpenFeed key, as a JWKS.

Register the output at your app registration (https://app.openfeed.au/registered-apps) so OpenFeed can verify your private_key_jwt client assertions and your DPoP proofs. Until you do, every call fails.

Usage

mix openfeed.jwks --path priv/openfeed.jwk
mix openfeed.jwks --var OPENFEED_PRIVATE_JWK
mix openfeed.jwks --var OPENFEED_PRIVATE_JWK --base64

Options

  • --path PATH — read the private JWK from this file.
  • --var NAME — read it from this environment variable instead.
  • --base64 — with --var, the variable holds base64 rather than raw JSON.
  • --pretty — pretty-print the JSON.

Output contains only public key components; it is safe to paste into a web form. The task fails loudly if a private component ever appears, rather than risk printing a private key to a terminal.