mwarning / trigger

Android app to lock/unlock/ring doors. Supports generic HTTPS/SSH/Bluetooth/MQTT and Nuki Smartlock.
GNU General Public License v3.0
130 stars 22 forks source link

Support for ssh-keys mit passphrase support #45

Closed rdorsch closed 2 years ago

rdorsch commented 3 years ago

Supporting ssh-keys with passphrase support would be very handy to implement two factor authentification.

mwarning commented 3 years ago

SSH passphrase support is added in 3.1.1.: https://github.com/mwarning/trigger/commit/1e4985d4dfe7b1f8cd557a6534dbced00b9c3111

mwarning commented 3 years ago

I have not tested the feature yet.

mwarning commented 3 years ago

I had to undo the passphrase support for now. The problem is that the ssh lib needs the passphrase when loading the key from the database. This causes a lot of issues right now.