github bestinslot-xyz/brc20-programmable-module v0.17.0

4 hours ago

Server mode requires HTTP basic auth for the indexer methods (brc20_* and debug_getBlockTrace*). Library mode keeps them off the network and needs no credentials. See Authorization.

Breaking Changes

  • The server refuses to start, before opening the database, without BRC20_PROG_RPC_SERVER_USER and a strong BRC20_PROG_RPC_SERVER_PASSWORD (at least 32 characters, not a sample value, not the username, not one repeated character).
  • BRC20_PROG_RPC_SERVER_ENABLE_AUTH is retired: it defaults to true, and false is a startup error.
  • A listener that serves the indexer methods sends no CORS headers and serves HTTP only (no WebSocket). Browser apps that call eth_* from another origin need a split setup with BRC20_PROG_ADMIN_RPC_SERVER_URL.

Security

  • The Authorization header is compared in constant time.
  • Public listeners (start_public_rpc_server, and the public side of a split setup) do not register the indexer methods, and answer calls to them with a 401 error.
  • Brc20ProgConfig implements Debug, with both passwords redacted.
  • env.sample ships empty credentials.

Commit Statistics

  • 6 commits contributed to the release.
  • 5 days passed between releases.
  • 0 commits were understood as conventional.
  • 1 unique issue was worked on: #33

Commit Details

view details
  • #33
    • Require HTTP basic auth for the indexer methods in server mode (d4f50ca)
  • Uncategorized
    • Summarize the brc20-prog 0.17.0 release in the changelog (f2abc54)
    • Adjusting changelogs prior to release of brc20-prog v0.17.0 (7e9e65e)
    • Fix changelog (67307db)
    • Document brc20-prog 0.17.0 changes (759f216)
    • Adjusting changelogs prior to release of brc20-prog v0.17.0 (2af7102)

Don't miss a new brc20-programmable-module release

NewReleases is sending notifications on new releases.