Giter VIP home page Giter VIP logo

photon-keyserver's People

Contributors

dependabot[bot] avatar tanx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

photon-keyserver's Issues

add google authenticator support

The user should be able to provide google authenticator as a fallback to their mobile phone number in case they lose their prepaid sim card and are unable to get a replacement from their mobile service provider.

This would be the most secure authentication option (compared to email and sms), but would likely be the most complex to implement in an easy-to-use fashion as backup codes are usually a best practice in case users lose their GA devices (which will likely be the same as their mobile phone, containing the SIM card).

provide SDK guidelines for prepaid SIMs

From threat model doc: "In the case of a prepaid SIM card this might not be possible. For this case the user should be able to provide a fallback 2FA method such as Email and/or Google Authenticator."

Wallet devs should be made aware of this so they can design their wallet and use the API accordingly.

add email address support

The user should be able to provide an email address as a fallback to their mobile phone number in case they lose their prepaid sim card and are unable to get a replacement from their mobile service provider.

add PIN support

  1. Add PIN support which requires client to supply a PIN as part of authentication to access data stored on keyserver

  2. Should be optional and determined by client

  3. PIN digit size could be configurable by client (perhaps 4 digit minimum? 6 digit default? Should there be a max (beyond max integer size)?

add FIDO U2F support

Users might want to use physical security keys like the YubiKey. Related to #7 as backup codes would be required. We might get around backup codes though if users setup multiple hardware keys or have many fallback methods (SMS, Email, and Google Authenticator).

support backup integrity event

Ideally clients would be notified in the case of a data integrity or data breach issues, so that the client could re-backup the private key from the phone or rotate keys.

Unclear to me if this is some kind of push notification model or a polling mechanism in which case the design guidelines for the client would be to check every time the client app is opened or runs on the CPU.

add time delay

Add a time delay that helps mitigate SIM jack and cloud account attacks by giving users time to respond.

Similar to Coinbase Vault 48 hour delay:
https://help.coinbase.com/en/coinbase/getting-started/other/vaults-faq.html

or Casa 7 day delay:
https://support.keys.casa/en/docs/201-the-recovery-key-in-keymaster

Allow client to optionally configure a time delay of N (hours, days, etc.) before the server provides the client with data upon successful authentication.

Successful authentication could mean different things:

  1. It could be verified SMS and PIN
  2. Or just verified SMS (a wallet design might want to require the user to either enter a PIN or wait, say, 7 days)

Send user multiple notifications during the N time window.

As the user could very well not be receiving SMS messages if they've been SIM jacked, consider also adding the ability to store an email which can receive notifications too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.