stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
422 stars 106 forks source link

Multi-Factor Authentication #1439

Open SatsAllDay opened 2 hours ago

SatsAllDay commented 2 hours ago

Is your feature request related to a problem? Please describe. Not a problem, but accounts would be more secure if they could opt-in to multi factor authentication. This is especially useful for stackers who either:

  1. have a large balance
  2. have attached wallets with large balances
  3. own territories
  4. have a well-known reputation

Describe the solution you'd like I'd like to be able to configure MFA in the form of (at least) TOTP on my account. I think this could be used in the following ways:

  1. Required on login after first factor is complete
  2. Required when performing "high risk" actions like transferring a territory, or transacting over a certain (configurable?) threshold

I said ideally TOTP because MFA over SMS is bad, and email is only slightly better. It would be best to be able to use an open source authenticator app.

Describe alternatives you've considered There's no real alternative that I can think of for things like territory ownership, but for balance concerns, you can link to an external wallet with budgets to help minimize risk.

Additional context Discussed here

ekzyis commented 2 hours ago

TOTPs would be great! I also like passkeys.