[BUG] Unable to connect to github repo with generated ssh-key pair
Jimmy2027 opened this issue · 6 comments
Describe the bug
I have the android password store "latest" from last week and am unable to pull my passwords from my private github repository.
When opening the app the first time, I generated a ssh-key pais and added the public key to my github profile.
After doing these steps, I'm unable to pull from the remote. I'm getting the error pop-up: An error occurrec during a Git operation\n Socket closed after unlocking the key with the finger print reader.
This is the log:
log_.txt
Steps to reproduce
Steps to reproduce the behavior:
- Get the latest app version from github
- Generate a new ssh-key pair
- Add the key to the github account
- Pull from remote
Expected behavior
Expecting to be able to pull from remote.
Screenshots
No response
Device information
- Device: Samsung Galaxy S10
- OS: Android 12
Additional context
No response
I wasn't able to reproduce the issue with the following steps:
- Download the latest snapshot from today
- When opening the app, add the ssh clone url
- generate a new ssh-key pair (using the
ed25519algorighm instead of thesha2) - immediately add the public key to the github account, before pulling
- pull
I ran into this same issue with snapshot from today, from revision 88facd7.
I was able to workaround by unchecking the option to protect the generated ssh key using the phone lock.
This is an issue with a small subset of devices where a hardware-encrypted key goes "bad" and can neither be used to decrypt data by the app nor allowed to be cleared. Reinstallation is one workaround, the other one is not protecting the key with device encryption in the first place as mentioned by qfire. There isn't a lot we can do here.
Reinstallation is one workaround
What do you mean with reinstallation here? Reinstalling the app or factory resetting the whole device?
Reinstallation is one workaround
What do you mean with reinstallation here? Reinstalling the app or factory resetting the whole device?
The app.
I can confirm. I had this problem on a fresh install on a pixel 8. I generated an ssh key in the app, uploaded it to gitlab, and cloned, and got "socket closed". I reinstalled APS and went through the same steps again, and it succeeded 🤷