kryptco / krypton-android

DEPRECATED Krypton turns your Android device into a U2F Authenticator: strong, unphishable 2FA.
https://krypt.co
Other
202 stars 50 forks source link

Add separate password/touch id check for mobile apps #90

Open phahulin opened 6 years ago

phahulin commented 6 years ago

If someone stole or by some other means gained access to the phone and knows password to unlock it, [s]he can gain access to all servers even not knowing them beforehand, because [s]he can view list of known hosts with their IPs, pair with any new device, approve auth. Password used to unlock a phone is usually shorter than password used to encrypt an ssh key, also it is used more frequently.

Suggestions:

  1. require user to generate a separate password (not device password) for the mobile app. Add settings to ask password each time/once in a period of time when app is opened or auth is requested
  2. always ask this password when pairing with a new device or opening "known hosts"
  3. maybe send email alert when pairing with a new device
kcking commented 6 years ago

Thanks for your ideas on this. We already require re-authentication when pairing a new device exactly for this reason. We are also considering other solutions to this such as a team policy requiring another team member or admin to confirm the pairing of a new device.