Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: Bitkey Support #39

Open
1 task done
GoldenrodScript opened this issue Mar 17, 2024 · 3 comments
Open
1 task done

[feat]: Bitkey Support #39

GoldenrodScript opened this issue Mar 17, 2024 · 3 comments

Comments

@GoldenrodScript
Copy link

Prerequisites

  • I have searched for existing issues that already suggest this feature.

Describe the Feature Request

Hey! I tried connecting my electrs 0.10.3 server to bitkey and surprisingly its unable to connect, then I realized given how new bitkey is, maybe that connection hasn’t been built into electrs yet. Would be really great if that’s possible.

Describe the Use Case

Being able to connect to my own node and not trust Block would add a layer of privacy that’s greatly appreciated.

Describe Preferred Solution

No response

Describe Alternatives

No response

Anything else?

No response

@GoldenrodScript
Copy link
Author

Is there a way to configure electrs to communicate to bitkey via SSL? I spoke to bitkey and they mentioned:

"You need to configure your servers to [communicate to us via SSL]"(https://github.com/romanz/electrs/blob/master/doc/config.md#ssl-connection).

For security reasons, the App requires SSL connections to custom servers.

@gStart9
Copy link
Member

gStart9 commented Mar 20, 2024

What program is it that you use to connect to electrs? Does it support tor?

Currently we don't bother turning ssl on because in StartOS <v036 there's only onion access to electrs' json-rpc, which doesn't have an http interface, and we only have http(s) lan port forwarding to containers currently. We can turn on ssl on the onion but then whatever device the block wallet program is on needs to manually trust the server's self-generated ssl cert, and support .onion/tor access.

The easier thing to do will be to wait for StartOS v036 (which is coming soon™) whereupon our services will have general TCP support and not just HTTP support, where we can add a certificate to electrs and open up the tcp json rpc TLS interface on port 50002.

@GoldenrodScript
Copy link
Author

Apologies if I answer some of your Q’s wrong as I’m nowhere near the level of tech savy you guys are!

Regarding what program I’m using - I’m using StartOS to connect to electrs and yea, supports tor.

Sounds like waiting for the new StartOS is the move. I’ll forward what you said to the block team as well to see if they have any insight into supporting .onion / tor access.

Really appreciate your insight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants