agrahn / Android-Password-Store

Android application compatible with ZX2C4's Pass command line application
https://passwordstore.app
GNU General Public License v3.0
4 stars 0 forks source link

[BUG] can't clone via SSH #63

Open tennox opened 5 days ago

tennox commented 5 days ago

Describe the bug

Trying to clone my repo via SSH (key generated by app and added to gitlab)

Steps to reproduce

Steps to reproduce the behavior:

  1. Fresh install, latest apk from releases
  2. Enter infos to Clone repo
  3. Generate SSH key and add to gitlab
  4. See error:

IMG_20241126_144155_074

Expected behavior

Clone works

Screenshots

No response

Device information

Additional context

No response

agrahn commented 5 days ago

I tried with a private fork on Gitlab.com of this repo: https://github.com/android-password-store/pass-test , using an app-generated SSH key pair (default ECDSA, probably as you did). Cloning worked without a problem. My phone has Android v13, though. Perhaps this could be the reason for the failure. Is your repo pass(original CLI)-created? Would you please try with pass-test from above link?

Does the last snapshot build of the original APS work for you?

https://github.com/android-password-store/Android-Password-Store/releases/download/latest/APS-freeRelease-2.0.0-SNAPSHOT.apk

tennox commented 5 days ago

Same error, managed to find it in Logcat, hope that helps.

Screenshot_20241126-171734_MatLog Libre

Latest APK from original works fine (with pass-test) 🤔

agrahn commented 5 days ago

Thanks for providing this. I digged out a samsung tablet running Android 12 (updated somewhere in July) and this works for me too. Would you please download this fork's snapshot build once more and try again (it was rebuilt about 3 hours ago)? It could perhaps be useful to also delete the app data via the settings.

agrahn commented 5 days ago

Same error, managed to find it in Logcat, hope that helps.

...

Latest APK from original works fine (with pass-test) 🤔

It seems that the newer org.eclipse.jgit lib version is the culprit and your phone's system is choking on it.