Skip to content

v0.14.1

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 22:59
· 26 commits to main since this release
v0.14.1
2785206

Highlights

A relay outage at startup no longer stops the service (#1222). keep-web checked every relay's certificate before starting the co-signer, and one relay that was down, failed to resolve or timed out stopped the whole service, admin UI included. A relay that cannot be reached is now skipped and checked again in the background, so it gets its first-use pin from a verified check once it is back, and a relay whose certificate does not match its pin is refused and audited on its own. The service still refuses to start on a corrupt pin file, on strict pinning finding a cleartext or unpinned relay, or when no relay of a set can be used.

A removed certificate pin holds its relay instead of trusting the next key (#1217, #1219, #1220). On mobile, removing a relay's last pin holds that relay until the user supplies a pin or explicitly releases it, and a release lapses after ten minutes. Whatever the hold stopped restarts on its own once it is lifted, and new calls let the app replace a pin in one step and show which relays are waiting.

The kill switch covers every signing path (#1198, #1199, #1200, #1201, #1203). Engaging it stops the mobile NIP-46 bunker, refuses ECDH, withholds a NIP-55 result being served, and is read from the core rather than the app. An engagement that has not saved yet counts as engaged.

NIP-46 approvals are tied to their request (#1191, #1192, #1193, #1194, #1207). One approval prompt opens at a time, timed out prompts are cleared, requests from different apps are served concurrently, and remembered refusals are pruned and capped.

Settings changes take effect on the live connections (#1180, #1181, #1182, #1214, #1215, #1221). The node and bunker follow the stored proxy and restart when it changes, the approver restarts itself after a proxy, strict pinning or pin change, and an unreadable proxy setting refuses rather than connecting directly.

Security

  • Relay URLs are judged by the URL parser and checked before dialing (#1187, #1195, #1196, #1202, #1204). Hex, octal and short IPv4 hosts are caught, resolved addresses are screened in the agent client, and NIP-55 relay hosts accept only a host and port.
  • Fresh authentication for wallet, nutzap info, deletion, vanish and Blossom co-signs (#1186, #1197).
  • A bunker FROST co-signature is checked again after its round and refusals are audited (#1205).
  • A signed policy whose rules carry an unknown key is refused (#1208), and a NIP-98 event with more than one u or method tag is refused (#1183).
  • The keep-web admin UI sends a content security policy and hardening headers (#1209).
  • Grant and refusal expiry read a clock that fails closed (#1207, #1218), and an unreadable signing limit state is rewritten as full instead of refusing forever (#1216).
  • Share and group names refuse hidden and control characters (#1188), and the CI toolchain action is pinned to a commit (#1206).

Upgrading

  • No vault migration. A vault opened by v0.14.0 opens unchanged.
  • Mobile bindings change, so regenerate them with the library:
    • evaluate_nip55_request is replaced by Nip55Handler::evaluate_request, and Nip55DecisionInputs loses signing_killed.
    • New calls: certificate_pin_holds, release_certificate_pin_hold, replace_certificate_pins, held_relays and pin_removal_would_hold.
    • save_proxy_config returns whether the setting changed, and clear_cooling_off returns whether every removal was saved.
    • SignRequest gains needs_fresh_auth, which defaults to true.
  • SigningHooks gains approve_ecdh. Its default answers as nodes did before.

Verifying this release

Download SHA256SUMS and the files you want into one folder:

sha256sum --ignore-missing -c SHA256SUMS

Look for OK for each file. Binaries are built reproducibly from the tagged commit, and the tag is signed with key A47D99B6DB0D715D40C59A2023AE8A8EA7E24E38, so git verify-tag v0.14.1 checks the source they were built from.

Full Changelog: v0.14.0...v0.14.1