Page 1 of 1

AndFTP & Android 12: ssh key auth broken after update

Posted: Thu Aug 18, 2022 6:55 pm
by jiivee
Today I noticed that my nightly AndFTP transfers had failed in my Android 12 phone. Error is:

Code: Select all

pemPrivateKey argument is null
My configuration uses RSA keys and SSH provider is default (Under Advanced -> Expert/specific FTP settings).

I created also ed25519 key and wire-transferred it to phone from computer. To use it I changed SSH provider to Secure.

No matter what I do with the id_ed25519 private key file I get error:

Code: Select all

open failed: EACCESS (permission denied) android.system.Errno.Exception: open failed: EACCESS (permission denied)
Then I tried to revert back to id_rsa key. I get same EACCESS error as with id_ed25519 key when connecting to remote server.

Finally I checked Google Play Store and it said AndFTP had been updated 2022-08-17 :!:

If I click "AndFTP (your FTP client)" in Play store, I get error:

Code: Select all

Something went wrong
Try again
For any other apps app's info page opens correctly.

What is going on with AndFTP :?: :?:

Re: AndFTP & Android 12: ssh key auth broken after update

Posted: Fri Aug 19, 2022 7:39 pm
by support
Hi, you have to relocate the private.key to a folder accessible under Android 11+. If your file is under Documents/ or Download/ then click "External" to setup this folder and then you will see the file.