ED25519 and ECDSA private key support

FTP client for Android handsets.

ED25519 and ECDSA private key support

Postby news2requ » Sun Sep 09, 2018 9:05 am

How can I get AndFTP to recognize ED25519 (preferred) or ECDSA (less preferred) private key files? Right now with version 4.5 it just gives an error:

java.io.IOException: Invalid PEM structure '-----BEGIN...' missing [can't see the rest of the error]


Here's what the key file looks like:
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtz
c2gtZWQyNTUxOQAAACCVOhS7uP2rEVhQQFc7YB69hz+xTxUlzCPdJSZjJh0KUwAA
AKDm4qSF5uKkhQAAAAtzc2gtZWQyNTUxOQAAACCVOhS7uP2rEVhQQFc7YB69hz+x
TxUlzCPdJSZjJh0KUwAAAEAAEigP8+DIwKS91Sw4AeSFhj9olwsXg4MHk2Psq4Fl
RpU6FLu4/asRWFBAVztgHr2HP7FPFSXMI90lJmMmHQpTAAAAFGVkMjU1MTkta2V5
LTIwMTgwOTA5AQIDBAUGBwgJ
-----END OPENSSH PRIVATE KEY-----

(That's a throwaway example I generated, not the actual key I'm using, lest anybody get worried.)
news2requ
 
Posts: 4
Joined: Tue May 01, 2012 7:29 am

Return to AndFTP



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.