Skip to content

Add support for core lightning watchtower TEoS (The Eye of Satoshi) - server and client - #2

Closed
seberm wants to merge 20 commits into
masterfrom
feature/add-rust-teos
Closed

seberm wants to merge 20 commits into
masterfrom
feature/add-rust-teos

Conversation

@seberm

@seberm seberm commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Here is a mirror of the changes I submitted to fort-nix/nix-bitcoin:

I've rebased them onto the latest master. I'm not insisting on merging this - let's reconsider these changes in the future.


This MR adds basic support for rust-teos - package, module and clightning watchtower plugin.

Fixes: #540

TODO(s):

@seberm seberm added type: feature New capability or service area: modules modules/ and pkgs/lib.nix area: docs docs/, README, examples/, SECURITY.md, book.toml, assets labels Oct 16, 2026
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Oct 25, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@seberm seberm added the status: needs decision Waiting on a maintainer decision label Oct 27, 2026
@seberm seberm added the status: deferred Agreed, but postponed until the condition in the issue is met label Nov 9, 2026
@seberm

seberm commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR. I don't think we should add TEoS support: upstream (rust-teos) isn't really maintained anymore, and its last commit is from Oct 9, 2025. Shipping a security-relevant service with no active upstream goes against our policy of dropping unmaintained services.

If you'd like watchtower support in bitcoinix, please open a new issue and let's discuss the options there.

@seberm seberm closed this Nov 10, 2026
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Nov 19, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Nov 19, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Nov 26, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Assisted-by: Claude Code (claude-sonnet-5-5)
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Nov 26, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Assisted-by: Claude Code (claude-sonnet-5-5)
bobberb added a commit to bobberb/bitcoinix that referenced this pull request Nov 29, 2026
…id, admin-credential docs)

- Build the RPC cookie in a root-only mktemp -d and mv -fT it into place, so
  the service user cannot swap a symlink in /run/rbitcoin mid-write.
- Use utils.escapeSystemdExecArgs for ExecStart so % and $ in extraArgs survive.
- Move the rbitcoin netns id from 33 to 34 (also claimed by bitcoinix#141 and bitcoinix#2).
- Document that the RPC cookie is an administrative credential and that
  mempool holds it, in the rpc.enable and electrumServer descriptions and
  docs/services.md.
- Test that no cookie temp dir is left behind.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Assisted-by: Claude Code (claude-sonnet-5-5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs docs/, README, examples/, SECURITY.md, book.toml, assets area: modules modules/ and pkgs/lib.nix status: deferred Agreed, but postponed until the condition in the issue is met status: needs decision Waiting on a maintainer decision type: feature New capability or service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant