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

Goldstein Lyor edited comment on SSHD-703 at 10/12/16 10:33 AM:
----------------------------------------------------------------

An ECDSA 521 bit key
{noformat}
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAArAAAABNlY2RzYS
1zaGEyLW5pc3RwNTIxAAAACG5pc3RwNTIxAAAAhQQAGRPv5eCmd3jFTCWrioWVHgQhHn/d
ir8nriiEonZDPP+hEjX1AiYyahfvFWoqKI4lKRzoEmF5Wk6ct+9LM0JFGcEAck7Z3J/NXt
CnHeEvnusHMoANjhKLExBURROOOTGziyHMuGBMBIgRFnf4rBhiTzduexJnaMglyqxIrDpG
hOxwhQAAAAEQxPcsaMT3LGgAAAATZWNkc2Etc2hhMi1uaXN0cDUyMQAAAAhuaXN0cDUyMQ
AAAIUEABkT7+Xgpnd4xUwlq4qFlR4EIR5/3Yq/J64ohKJ2Qzz/oRI19QImMmoX7xVqKiiO
JSkc6BJheVpOnLfvSzNCRRnBAHJO2dyfzV7Qpx3hL57rBzKADY4SixMQVEUTjjkxs4shzL
hgTASIERZ3+KwYYk83bnsSZ2jIJcqsSKw6RoTscIUAAAAAQQ+HCwVtvFlnRydGXZ+xpyKM
KxDp5h7YMg5/dpRFrp3qNonm5/RHoT2Hw9i5GZtrXT2xPiR69wLOzTb4pnIWlENfAAAADn
Jvb3RAdWJ1bnR1LTE1AQIDBAU=
-----END OPENSSH PRIVATE KEY-----
{noformat}

Contents:

{noformat}
OpenSSH [chunk #1](16/491) 6f:70:65:6e:73:73:68:2d:6b:65:79:2d:76:31:00:00    
openssh-key-v1..
OpenSSH [chunk #2](32/491) 00:00:04:6e:6f:6e:65:00:00:00:04:6e:6f:6e:65:00    
...none....none.
OpenSSH [chunk #3](48/491) 00:00:00:00:00:00:01:00:00:00:ac:00:00:00:13:65    
...............e
OpenSSH [chunk #4](64/491) 63:64:73:61:2d:73:68:61:32:2d:6e:69:73:74:70:35    
cdsa-sha2-nistp5
OpenSSH [chunk #5](80/491) 32:31:00:00:00:08:6e:69:73:74:70:35:32:31:00:00    
21....nistp521..
OpenSSH [chunk #6](96/491) 00:85:04:00:19:13:ef:e5:e0:a6:77:78:c5:4c:25:ab    
..........wx.L%.
OpenSSH [chunk #7](112/491) 8a:85:95:1e:04:21:1e:7f:dd:8a:bf:27:ae:28:84:a2    
.....!.....'.(..
OpenSSH [chunk #8](128/491) 76:43:3c:ff:a1:12:35:f5:02:26:32:6a:17:ef:15:6a    
vC<...5..&2j...j
OpenSSH [chunk #9](144/491) 2a:28:8e:25:29:1c:e8:12:61:79:5a:4e:9c:b7:ef:4b    
*(.%)...ayZN...K
OpenSSH [chunk #10](160/491) 33:42:45:19:c1:00:72:4e:d9:dc:9f:cd:5e:d0:a7:1d    
3BE...rN....^...
OpenSSH [chunk #11](176/491) e1:2f:9e:eb:07:32:80:0d:8e:12:8b:13:10:54:45:13    
./...2.......TE.
OpenSSH [chunk #12](192/491) 8e:39:31:b3:8b:21:cc:b8:60:4c:04:88:11:16:77:f8    
.91..!..`L....w.
OpenSSH [chunk #13](208/491) ac:18:62:4f:37:6e:7b:12:67:68:c8:25:ca:ac:48:ac    
..bO7n{.gh.%..H.
OpenSSH [chunk #14](224/491) 3a:46:84:ec:70:85:00:00:00:01:10:c4:f7:2c:68:c4    
:F..p........,h.
OpenSSH [chunk #15](240/491) f7:2c:68:00:00:00:13:65:63:64:73:61:2d:73:68:61    
.,h....ecdsa-sha
OpenSSH [chunk #16](256/491) 32:2d:6e:69:73:74:70:35:32:31:00:00:00:08:6e:69    
2-nistp521....ni
OpenSSH [chunk #17](272/491) 73:74:70:35:32:31:00:00:00:85:04:00:19:13:ef:e5    
stp521..........
OpenSSH [chunk #18](288/491) e0:a6:77:78:c5:4c:25:ab:8a:85:95:1e:04:21:1e:7f    
..wx.L%......!..
OpenSSH [chunk #19](304/491) dd:8a:bf:27:ae:28:84:a2:76:43:3c:ff:a1:12:35:f5    
...'.(..vC<...5.
OpenSSH [chunk #20](320/491) 02:26:32:6a:17:ef:15:6a:2a:28:8e:25:29:1c:e8:12    
.&2j...j*(.%)...
OpenSSH [chunk #21](336/491) 61:79:5a:4e:9c:b7:ef:4b:33:42:45:19:c1:00:72:4e    
ayZN...K3BE...rN
OpenSSH [chunk #22](352/491) d9:dc:9f:cd:5e:d0:a7:1d:e1:2f:9e:eb:07:32:80:0d    
....^..../...2..
OpenSSH [chunk #23](368/491) 8e:12:8b:13:10:54:45:13:8e:39:31:b3:8b:21:cc:b8    
.....TE..91..!..
OpenSSH [chunk #24](384/491) 60:4c:04:88:11:16:77:f8:ac:18:62:4f:37:6e:7b:12    
`L....w...bO7n{.
OpenSSH [chunk #25](400/491) 67:68:c8:25:ca:ac:48:ac:3a:46:84:ec:70:85:00:00    
gh.%..H.:F..p...
OpenSSH [chunk #26](416/491) 00:00:41:0f:87:0b:05:6d:bc:59:67:47:27:46:5d:9f    
..A....m.YgG'F].
OpenSSH [chunk #27](432/491) b1:a7:22:8c:2b:10:e9:e6:1e:d8:32:0e:7f:76:94:45    
..".+.....2..v.E
OpenSSH [chunk #28](448/491) ae:9d:ea:36:89:e6:e7:f4:47:a1:3d:87:c3:d8:b9:19    
...6....G.=.....
OpenSSH [chunk #29](464/491) 9b:6b:5d:3d:b1:3e:24:7a:f7:02:ce:cd:36:f8:a6:72    
.k]=.>$z....6..r
OpenSSH [chunk #30](480/491) 16:94:43:5f:00:00:00:0e:72:6f:6f:74:40:75:62:75    
..C_....root@ubu
OpenSSH [chunk #31](491/491) 6e:74:75:2d:31:35:01:02:03:04:05                   
ntu-15.....
{noformat}


was (Author: lgoldstein):
An ECDSA 521 bit key
{noformat}
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAArAAAABNlY2RzYS
1zaGEyLW5pc3RwNTIxAAAACG5pc3RwNTIxAAAAhQQAGRPv5eCmd3jFTCWrioWVHgQhHn/d
ir8nriiEonZDPP+hEjX1AiYyahfvFWoqKI4lKRzoEmF5Wk6ct+9LM0JFGcEAck7Z3J/NXt
CnHeEvnusHMoANjhKLExBURROOOTGziyHMuGBMBIgRFnf4rBhiTzduexJnaMglyqxIrDpG
hOxwhQAAAAEQxPcsaMT3LGgAAAATZWNkc2Etc2hhMi1uaXN0cDUyMQAAAAhuaXN0cDUyMQ
AAAIUEABkT7+Xgpnd4xUwlq4qFlR4EIR5/3Yq/J64ohKJ2Qzz/oRI19QImMmoX7xVqKiiO
JSkc6BJheVpOnLfvSzNCRRnBAHJO2dyfzV7Qpx3hL57rBzKADY4SixMQVEUTjjkxs4shzL
hgTASIERZ3+KwYYk83bnsSZ2jIJcqsSKw6RoTscIUAAAAAQQ+HCwVtvFlnRydGXZ+xpyKM
KxDp5h7YMg5/dpRFrp3qNonm5/RHoT2Hw9i5GZtrXT2xPiR69wLOzTb4pnIWlENfAAAADn
Jvb3RAdWJ1bnR1LTE1AQIDBAU=
-----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