question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use browser's payment key

See original GitHub issue

Currently, blockstack-browser uses the payment key from Blockstack core’s wallet.json file.

There’s a few ways we could try to remedy this, but the most direct approach is to have browser call PUT /v1/wallet/keys/{keyname} to set the payment key after the keychain initialization. This can be passed the persistent: True option so that the payment key is restored when the core node restarts.

Unfortunately, core remains in the user’s trust domain, so it needs to still be protected by a password. This is fine in Linux and macOS, where we already have ways of dealing with the password, but in the Windows distribution, we don’t have a password management story yet (but it could just be the same as Linux, i.e., manage your own core password.)

The only way around this is to actually move core out of the trust domain. That means transactions would be signed in the browser (at first, probably still broadcasted by core) and a handful of other things (app session authentication). I think that’s a big-ish project (mostly due to testing, because it could change the registration process somewhat dramatically), and we likely want a short-term fix for this issue with payment keys before trying to get all transactions signed by the browser.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
larrysalibracommented, Oct 4, 2017

@larrysalibra @kantai, so this is the new process for using regtest?

Yes. Ping me if you need help!

0reactions
larrysalibracommented, Oct 4, 2017

oops - i was tagging gaia hub storage issues with this issue by mistake ^^

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use a security key for 2-Step Verification - Google Account Help
On your Android phone or tablet, open a Google app or a compatible browser like Chrome, Firefox, Edge, or Opera. Sign in to...
Read more >
Enabling JavaScript on Popular Browsers - KeyBank
Enabling JavaScript on Popular Browsers ; Microsoft Edge · On the menu bar, click Settings ; Firefox · On the menu bar click...
Read more >
Using the Payment Request API - MDN Web Docs
The Payment Request API provides a browser-based method of connecting users and their preferred payment systems and platforms to merchants ...
Read more >
Life of a payment transaction - web.dev
Learn how merchants integrate payment apps, how payment transactions work with the Payment Request API, and what's possible in Web Payments.
Read more >
Google Pay API PaymentRequest Tutorial
Important: Chrome is currently the only web browser supporting the Payment Request API with third-party payment methods, including Google ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found