migueldeicaza/SwiftTermApp

Request: Face/Touch ID secured app

Opened this issue · 1 comments

I've been playing with SwiftTerm on my iPad Pro and there are two things I wish could be added.

Currently if someone comes across my iPad while it is unlocked (or gains access to it) they are able to freely connect to my saved hosts that use secure keys (current location and firewall rules allowing). Additionally in the same situation people are able to go to keys section and view my private key and if entered the saved passphrase.

Ideally I think it would be good to have an option in settings to prompt for Face/Touch ID on launch (and maybe when coming back from multi-tasking). A second setting (or could just be part of the first one) is to re-prompt when attempting to view a key to explicitly avoid the second issue, but that could possibly just be overkill.

If this were to be implemented an extra nice to have security feature on top of these would be to blank the screen when multi-tasking to also avoid any sensitive data being exposed which would require Face/Touch ID to access if SwiftTermApp got focus again.

Hi, @migueldeicaza would it be possible to contribute to this project by implementing feature described above?