2020-09-18 18:01:16 -04:00
|
|
|
#############################################################################
|
|
|
|
SSHSecure - a program to harden OpenSSH from defaults
|
|
|
|
Copyright (C) 2020 Brent Saner
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
#############################################################################
|
|
|
|
|
2020-09-11 23:06:51 -04:00
|
|
|
The following is a plaintext pubkey (no passphrase provided).
|
|
|
|
|
|
|
|
Keys in the "PEM" (.pub) format are prefixed with the key type string and suffixed with the comment string.
|
|
|
|
|
|
|
|
All length ints are uint32, network-byte order.
|
|
|
|
|
|
|
|
PEM:
|
|
|
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQ4i8lzaE3WaFcTESK/8hLJg7umsWLE6XzRH3PDnZew This is a test key
|
|
|
|
|
|
|
|
HEX (only base64 string above):
|
|
|
|
00000000: 0000 000b 7373 682d 6564 3235 3531 3900 ....ssh-ed25519.
|
|
|
|
00000010: 0000 2044 388b c973 684d d668 5713 1122 .. D8..shM.hW.."
|
|
|
|
00000020: bff2 12c9 83bb a6b1 62c4 e97c d11f 73c3 ........b..|..s.
|
|
|
|
00000030: 9d97 b0 ...
|
|
|
|
|
|
|
|
ANNOTATED HEX:
|
|
|
|
0 0000000b (11)
|
|
|
|
0.0 7373682d65643235353139 ("ssh-ed25519")
|
|
|
|
1 00000020 (32)
|
|
|
|
1.1 44388bc973684dd66857131122bff212c983bba6b162c4e97cd11f73c39d97b0 (bytes)
|