[ 
https://issues.apache.org/jira/browse/SSHD-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568346#comment-15568346
 ] 

Goldstein Lyor commented on SSHD-703:
-------------------------------------

An ED25519 key
{noformat}
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACB0Tsaj0scs8fYKMlnz2Mncky545NoICP9eGMGIpo5G3QAAAJjCVtyJwlbc
iQAAAAtzc2gtZWQyNTUxOQAAACB0Tsaj0scs8fYKMlnz2Mncky545NoICP9eGMGIpo5G3Q
AAAEDjQpuV2OWHZVy7R09w6bw2DnBa1UdZrsAmQ7dPyxasx3ROxqPSxyzx9goyWfPYydyT
Lnjk2ggI/14YwYimjkbdAAAADnJvb3RAdWJ1bnR1LTE1AQIDBAUGBw==
-----END OPENSSH PRIVATE KEY-----
{noformat}

Contents:
{noformat}
OpenSSH [chunk #1](16/250) 6f:70:65:6e:73:73:68:2d:6b:65:79:2d:76:31:00:00    
openssh-key-v1..
OpenSSH [chunk #2](32/250) 00:00:04:6e:6f:6e:65:00:00:00:04:6e:6f:6e:65:00    
...none....none.
OpenSSH [chunk #3](48/250) 00:00:00:00:00:00:01:00:00:00:33:00:00:00:0b:73    
..........3....s
OpenSSH [chunk #4](64/250) 73:68:2d:65:64:32:35:35:31:39:00:00:00:20:74:4e    
sh-ed25519....tN
OpenSSH [chunk #5](80/250) c6:a3:d2:c7:2c:f1:f6:0a:32:59:f3:d8:c9:dc:93:2e    
....,...2Y......
OpenSSH [chunk #6](96/250) 78:e4:da:08:08:ff:5e:18:c1:88:a6:8e:46:dd:00:00    
x.....^.....F...
OpenSSH [chunk #7](112/250) 00:98:c2:56:dc:89:c2:56:dc:89:00:00:00:0b:73:73    
...V...V......ss
OpenSSH [chunk #8](128/250) 68:2d:65:64:32:35:35:31:39:00:00:00:20:74:4e:c6    
h-ed25519....tN.
OpenSSH [chunk #9](144/250) a3:d2:c7:2c:f1:f6:0a:32:59:f3:d8:c9:dc:93:2e:78    
...,...2Y......x
OpenSSH [chunk #10](160/250) e4:da:08:08:ff:5e:18:c1:88:a6:8e:46:dd:00:00:00    
.....^.....F....
OpenSSH [chunk #11](176/250) 40:e3:42:9b:95:d8:e5:87:65:5c:bb:47:4f:70:e9:bc    
@.B.....e\.GOp..
OpenSSH [chunk #12](192/250) 36:0e:70:5a:d5:47:59:ae:c0:26:43:b7:4f:cb:16:ac    
6.pZ.GY..&C.O...
OpenSSH [chunk #13](208/250) c7:74:4e:c6:a3:d2:c7:2c:f1:f6:0a:32:59:f3:d8:c9    
.tN....,...2Y...
OpenSSH [chunk #14](224/250) dc:93:2e:78:e4:da:08:08:ff:5e:18:c1:88:a6:8e:46    
...x.....^.....F
OpenSSH [chunk #15](240/250) dd:00:00:00:0e:72:6f:6f:74:40:75:62:75:6e:74:75    
.....root@ubuntu
OpenSSH [chunk #16](250/250) 2d:31:35:01:02:03:04:05:06:07                      
-15.......
{noformat}

> Add support for reading an ED25519 private key from a file
> ----------------------------------------------------------
>
>                 Key: SSHD-703
>                 URL: https://issues.apache.org/jira/browse/SSHD-703
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>              Labels: features
>
> Example:
> {noformat}
> -----BEGIN OPENSSH PRIVATE KEY-----
> b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
> QyNTUxOQAAACB0Tsaj0scs8fYKMlnz2Mncky545NoICP9eGMGIpo5G3QAAAJjCVtyJwlbc
> iQAAAAtzc2gtZWQyNTUxOQAAACB0Tsaj0scs8fYKMlnz2Mncky545NoICP9eGMGIpo5G3Q
> AAAEDjQpuV2OWHZVy7R09w6bw2DnBa1UdZrsAmQ7dPyxasx3ROxqPSxyzx9goyWfPYydyT
> Lnjk2ggI/14YwYimjkbdAAAADnJvb3RAdWJ1bnR1LTE1AQIDBAUGBw==
> -----END OPENSSH PRIVATE KEY-----
> {noformat}
> When decoded as BASE64:
> {noformat}
> openssh-key-v1[0][0][0][0][4]none[0][0][0][4]none[0][0][0][0][0][0][0][1][0][0][0]3[0][0][0][11]ssh-ed25519[0][0][0]
>  
> tN[198][163][210][199],[241][246][10]2Y[243][216][201][220][147].x[228][218][8][8][255]^[24][193][136][166][142]F[221][0][0][0][152][194]V[220][137][194]V[220][137][0][0][0][11]ssh-ed25519[0][0][0]
>  
> tN[198][163][210][199],[241][246][10]2Y[243][216][201][220][147].x[228][218][8][8][255]^[24][193][136][166][142]F[221][0][0][0]@[227]B[155][149][216][229][135]e\[187]GOp[233][188]6[14]pZ[213]GY[174][192]&C[183]O[203][22][172][199]tN[198][163][210][199],[241][246][10]2Y[243][216][201][220][147].x[228][218][8][8][255]^[24][193][136][166][142]F[221][0][0][0][14]root@ubuntu-15[1][2][3][4][5][6][7]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to