decredcommunity / issues

Decred community issue tracker
5 stars 0 forks source link

Explore public key based auth in Go #111

Open xaur opened 5 years ago

xaur commented 5 years ago

We have projects that use legacy email-based registration and authentication: dcrstakepool, Politeia and the upcoming contractor-mgmt. We might have new projects (#26, #38, DEX server) that will also continue the legacy tradition if nothing new is found.

Explore Go libraries that can be used to build browser authentication using PKI. They might implement standards like U2F (FIDO), SQRL, or something else. In short:

Email must die in fire (c).

Ok, not all email, but more specifically, mandatory email to register or authenticate. Very few people run their own email servers. Email was not designed as private comm protocol.

matthewjamesr commented 5 years ago

Hello, was directed here. I built a proof-of-work that does just this that I ask you to look at.

https://authparty.io

I would opt to port it to nodejs most likely.

xaur commented 5 years ago

@matthewjamesr the issue is to explore back-end libraries written in Go, and maybe front-end ones for JavaScript. They must do PKI-based signup and auth. The site you linked says

I don't see how it is relevant here.