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

Can the PinQR Helper webpage be included in this repo too? #16

Open
3rdIteration opened this issue Mar 22, 2023 · 13 comments
Open

Can the PinQR Helper webpage be included in this repo too? #16

3rdIteration opened this issue Mar 22, 2023 · 13 comments

Comments

@3rdIteration
Copy link

3rdIteration commented Mar 22, 2023

I am playing around with self-hosted PIN servers and noticed that if you follow the currently available documentation and set it up without HTTPS, then you can't use the PinQR helper page hosted by blockstream.

Simply downloading the helper and running it locally over http works just fine. (Though none of the source includes any license information, so I'm loathed to simply add that and bring it via a PR)

I'll likely also just include the settings needed to run the PIN server via HTTPS in a video that I will be making on this matter. Basically this would be helpful for those who want to have a fully self-hosted local setup and still log in via PinQR.

@m-schmoock
Copy link

Yes, that would be helpful. Not necessarily the Blockstream style page, but maybe a simple page without style, just showing the QRs would be sufficient.

@petre-c
Copy link

petre-c commented Oct 8, 2023

@3rdIteration , have you managed to fix this / make the video?
I'm unable to show the QR code and was wondering how to fix this..

@3rdIteration
Copy link
Author

They (blockstream) are doing some work on the pinserver for something like Umbrel and this will likely include a docco refresh, so I am basically waiting to see what they end up releasing with that.

Are you asking about how to self host the PinQR helper or how to use the pinserver generally?

@petre-c
Copy link

petre-c commented Oct 8, 2023

They (blockstream) are doing some work on the pinserver for something like Umbrel and this will likely include a docco refresh, so I am basically waiting to see what they end up releasing with that.

Are you asking about how to self host the PinQR helper or how to use the pinserver generally?

I followed the official guides on the support article on Blockstream's help portal as well as on this repo and on that for Jade and managed to set up and launch the pinserver, albeit with many hickups along the way.

Also changed the pinserver url in the Jade hardware wallet and set

--set-url https://127.0.0.1:8069

instead of the url address without the scheme (python script didn't accept it without it).

pinserver is started at http://127.0.0.1:8069 but the index.html is returning an empty body - I don't know if I should expecting a similar browser-based workflow as the one officially supported through their website.

This repo doesn't seem to have been created with being built on Windows in mind, due to a number of issues I had to overcome to be able to get to the end 🙂

@3rdIteration
Copy link
Author

3rdIteration commented Oct 8, 2023

Basically, unless you are self-hosting the PinQR helper (Which isn't readily available, that is what this issue I opened is about), it needs to be running on the pinserver with enabled HTTPS with a valid certificate, an SSL cert from Letsencrypt works fine, or a self-signed cert that your browser trusts. (If you self host the PinQR helper then you can get away with running everything over http)

@petre-c
Copy link

petre-c commented Oct 8, 2023

I will start by selfhosting the PinQR helper and will likely end there, I'm just trying to set up the PinQR for a fully offline infrastructure and workflow for myself.

@petre-c
Copy link

petre-c commented Oct 8, 2023

Simply downloading the helper and running it locally over http works just fine

Where does one get the PinQR helper from?

@3rdIteration
Copy link
Author

The simple answer is that you don't, that is what this issue is asking for. (I have a working copy, but it isn't licenced in a such a way as to allow it to be shared)

That said, it is possible to download it manually from the PinQR website if you know how. (And if you don't, the best solution is to get HTTPS working properly on your blind pinserver)

@petre-c
Copy link

petre-c commented Oct 8, 2023

Okay, thank you!

@petre-c
Copy link

petre-c commented Oct 27, 2023

@JamieDriver
@greenaddress
@nitramiz

please answer

@JamieDriver
Copy link
Collaborator

@bitcoinhelp

@bitcoinhelp
Copy link

https://github.com/Blockstream/esp32_bc-ur/tree/emscripten

https://github.com/Blockstream/esp32_bc-ur/blob/emscripten/EMSCRIPTEN.md (small typo it looks like, http://127.0.0.1:9990 should of course be http://127.0.0.1:9999)

@petre-c
Copy link

petre-c commented Dec 2, 2024

You may want to look at an alternative implementation of the blind oracle / pinserver here that DOES allow QR Pin Unlock, unlike the current official implementation by Blockstream -> Filiprogrammer/SimpleJadePinServer#9

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

5 participants