ipadecrypt
ipadecrypt copied to clipboard
On-device fallback method fails if device is setup with SSH key authentication
Describe the bug
When utilizing the old "on-device" method (using the --on-device flag), it appears that SSH key authentication is not supported. This appears to be the case both during the bootstrap setup (VerifyHelper is failing) and also when attempting to actually perform a decryption task. Switching back to password authentication allows it to function again.
To Reproduce Steps to reproduce the behavior:
- Setup a device with SSH key authentication
- Run
ipadecrypt bootstraporipadecrypt decrypt --on-device <app> - Bootstraping or decryption will fail respectively since the tool will not be able to SSH into the device
Expected behavior SSH succeeds by using SSH key
Environment
- Dopamine 3.0.12 (rootless)
- iOS 16.4.1
- iPhone X
- ipadecrypt v0.9.0-rc.2
Additional context Additionally, it would be awesome if we could:
- Utilize entries in the SSH config file (~/.ssh/config) to connect to a device (I haven't actually tried testing this, maybe it's already supported?)
- Have the ability to set up more than one device. If there are multiple devices configured, the tool could prompt for user input to select which device should be used to perform the on-device decryption.