From 6767c79ed850c1d600c51e1c2cb9dc7bde03c7c3 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 26 Dec 2020 11:07:09 +0100 Subject: [PATCH] Add hints on how to serialize ed25519 key Related to #260 --- lib/ssh/main_keygen.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ssh/main_keygen.dart b/lib/ssh/main_keygen.dart index 4883df16..5cd5f7b2 100644 --- a/lib/ssh/main_keygen.dart +++ b/lib/ssh/main_keygen.dart @@ -49,3 +49,9 @@ String privateKeyString() { var str = '-----BEGIN OPENSSH PRIVATE KEY-----\n'; return str; } + +// Either the openssl code or the openssh-portable code +// or some go code +// -> https://golang.org/src/crypto/x509/pkcs8.go + +// Key format is PKCS8 or OpenSSH.