Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Bitcoinexch on October 08, 2018, 09:35:42 PM



Title: How can I create a bitcoin QR code securely?
Post by: Bitcoinexch on October 08, 2018, 09:35:42 PM
There are a lot of bitcoin QR code creation tools but which of them are secure, and create a genuine qr code?

Thank you


Title: Re: How can I create a bitcoin QR code securely?
Post by: TryNinja on October 08, 2018, 10:11:55 PM
Just use Google's API:

Code:
https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=YOUR-BITCOIN-ADDRESS-HERE



Example: 1NinjabXd5znM5zgTcmxDVzH4w3nbaY16L
Code:
https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=1NinjabXd5znM5zgTcmxDVzH4w3nbaY16L

Result:
https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=1NinjabXd5znM5zgTcmxDVzH4w3nbaY16L


Title: Re: How can I create a bitcoin QR code securely?
Post by: OgNasty on October 08, 2018, 10:36:59 PM
Just use Google's API:

Yes, that would work great for public keys.  I would think any of the "a lot of bitcoin QR creation tools" mentioned by the OP could do that.  Him mentioning "secure" makes me think he's wanting to make a QR code for a private key.


Title: Re: How can I create a bitcoin QR code securely?
Post by: vit05 on October 09, 2018, 05:40:03 AM
I think you want one that you can use on an off-line computer. There are these two in github, just fork them.

https://github.com/soldair/node-qrcode

https://github.com/kazuhikoarase/qrcode-generator


Title: Re: How can I create a bitcoin QR code securely?
Post by: LoyceV on October 09, 2018, 05:46:56 AM
Him mentioning "secure" makes me think he's wanting to make a QR code for a private key.
Bitcoinpaperwallet.com (https://bitcoinpaperwallet.com/) can do this, running offline from a LIVE Linux DVD (download the site first). I'm not sure how well it works with SegWit though.


Title: Re: How can I create a bitcoin QR code securely?
Post by: Rahar02 on October 09, 2018, 06:51:29 AM
Just use Google's API:

Yes, that would work great for public keys.  I would think any of the "a lot of bitcoin QR creation tools" mentioned by the OP could do that.  Him mentioning "secure" makes me think he's wanting to make a QR code for a private key.

Yes, it makes me wonder whether it is safe to generate bitcoin QR code online since there are many sites offers this service. After googling, chose one site on top of the search (bitcoinqrcodegenerator.w**) and then try to generate my address (bc1qf7zhzckwr2nymljs5m7tdm0qx7nwslg5sde30p)

The result was surprised me because the QR code generated refers to address (3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT) I have tried it 3 times, still generated that address. and then I thought; maybe it is another address of mine, connected. Check it through blocktrail. But it totally different address.

Tried another site, bitcoin-qr-code.com/qr3 but the result is disappointing as well.

So, this is probably why OP ask it in the first place.



Title: Re: How can I create a bitcoin QR code securely?
Post by: LoyceV on October 09, 2018, 07:03:11 AM
Yes, it makes me wonder whether it is safe to generate bitcoin QR code online since there are many sites offers this service. After googling, chose one site on top of the search (https://bitcoinqrcodeSCAMgenerator.win/) and then try to generate my address (bc1qf7zhzckwr2nymljs5m7tdm0qx7nwslg5sde30p)

The result was surprised me because the QR code generated refers to address (3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT) I have tried it 3 times, still generated that address. and then I thought; maybe it is another address of mine, connected. Check it through blocktrail. But it totally different address.
So they do selective scamming? Address 3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT (https://www.blockchain.com/btc/address/3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT) has received over 4 Bitcoin.

This makes it very important to test your QR-codes before ever using them, but I wouldn't know  how te securely test a private key code other than with a phone that will never go online after that.


Title: Re: How can I create a bitcoin QR code securely?
Post by: Rahar02 on October 09, 2018, 07:51:03 AM
So they do selective scamming? Address 3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT (https://www.blockchain.com/btc/address/3Jqm9TynrExdKifkwdmVGfcYpz3nmQqnVT) has received over 4 Bitcoin.
Most likely yes, as I have tried another address but the result still that address. Whatever address we submit, the QR code generated refers to that address. Sadly if 4 bitcoin comes from innocent people who didn't aware of this matter.

Quote
This makes it very important to test your QR-codes before ever using them, but I wouldn't know  how te securely test a private key code other than with a phone that will never go online after that.

Yeah, double check before putting bitcoin on the line as there is no payback.