Open daguej opened 1 year ago
Additionally:
$ termux-keystore list
[
{
"alias": "josh",
"algorithm": "RSA",
"size": 2048,
"inside_secure_hardware": true,
"user_authentication": {
"required": false,
"enforced_by_secure_hardware": false,
"validity_duration_seconds": 0
}
}
]
It appears this only happens with RSA keys.
I deleted the RSA key and generated a new EC key, and that works. Not sure if there's something wrong in the code or if I just passed a bad arg to termux-api Keystore -e command generate
. (Is the README incorrect? It's unclear what you're supposed to use for ALGORITHM
.)
This started happening after upgrading to Android 14.
Might be related to https://github.com/termux/termux-api/issues/661 since the fingerprint confirmation does not show.
This started happening after upgrading to Android 14.
Might be related to https://github.com/termux/termux-api/issues/661 since the fingerprint confirmation does not show.
I believe it is, because tergent was how I first noticed the issue, as well (author of referenced issue).
While both issues result in failed ssh connections, I don't think the error in this issue is related to https://github.com/termux/termux-api/issues/661, termux-fingerprint
on Android 14.
I'm also now seeing the fingerprint problem on Android 14. However, super hacky workaround: I opened Google Wallet and clicked the "Verify it's you" button, triggering the system fingerprint prompt. I then immediately switched back to Termux and initiated a ssh connection, which worked. This did the trick since it doesn't really matter what app triggers fingerprint auth; the secure enclave only cares that auth has happened recently.
Setting up a new device (Yoga Tab 11) and am unable to successfully connect to my server.
Key generation seemed to work fine and
ssh-keygen
reports the key is available:...and I added the public key to my server. However, connecting fails with a cryptic error:
Any idea what's happening or how I can get more information about the error in libcrypto?