Home | History | Annotate | Line # | Download | only in magdir
      1      1.1  christos # Type:	OpenSSH key files
      2      1.1  christos # From:	Nicolas Collignon <tsointsoin (a] gmail.com>
      3  1.1.1.7  christos # Update:	Joerg Jenderek
      4  1.1.1.7  christos # URL:		https://en.wikipedia.org/wiki/Secure_Shell_Protocol
      5      1.1  christos 
      6  1.1.1.6  christos 0	string	SSH\040PRIVATE\040KEY	OpenSSH RSA1 private key,
      7      1.1  christos >28	string	>\0			version %s
      8  1.1.1.6  christos 0	string	-----BEGIN\040OPENSSH\040PRIVATE\040KEY-----	OpenSSH private key
      9  1.1.1.7  christos !:mime	application/x-pem-file
     10  1.1.1.6  christos # https://www.rfc-editor.org/rfc/rfc5958
     11  1.1.1.6  christos 0	string	-----BEGIN\040PRIVATE\040KEY-----	OpenSSH private key (no password)
     12  1.1.1.7  christos #!:mime		text/plain
     13  1.1.1.7  christos !:mime		text/x-ssh-private-key
     14  1.1.1.7  christos !:ext		key
     15  1.1.1.6  christos 0	string	-----BEGIN\040ENCRYPTED\040PRIVATE\040KEY-----	OpenSSH private key (with password)
     16  1.1.1.7  christos # https://download.qemu.org/qemu-9.0.0.tar.xz
     17  1.1.1.7  christos # qemu-9.0.0/roms/skiboot/libstb/crypto/mbedtls/tests/data_files/format_gen.pub
     18  1.1.1.7  christos 0	string	-----BEGIN\040PUBLIC\040KEY-----		OpenSSH public key
     19  1.1.1.7  christos #!:mime		text/plain
     20  1.1.1.7  christos !:mime		text/x-ssh-public-key
     21  1.1.1.7  christos !:ext		pub
     22      1.1  christos 
     23  1.1.1.7  christos # Reference:	http://mark0.net/download/triddefs_xml.7z/defs/p/pub-ssh-dss.trid.xml
     24  1.1.1.7  christos # Note:		called "SSH-DSS Public key" by TrID
     25  1.1.1.6  christos 0	string	ssh-dss\040		OpenSSH DSA public key
     26  1.1.1.7  christos #!:mime		text/plain
     27  1.1.1.7  christos !:mime		text/x-ssh-public-key
     28  1.1.1.7  christos !:ext		pub
     29  1.1.1.7  christos # Reference:	http://mark0.net/download/triddefs_xml.7z/defs/p/pub-ssh-rsa.trid.xml
     30  1.1.1.7  christos # Note:		called "SSH-RSA Public key" by TrID
     31  1.1.1.6  christos 0	string	ssh-rsa\040		OpenSSH RSA public key
     32  1.1.1.7  christos #!:mime		text/plain
     33  1.1.1.7  christos !:mime		text/x-ssh-public-key
     34  1.1.1.7  christos !:ext		pub
     35  1.1.1.2  christos 0	string	ecdsa-sha2-nistp256	OpenSSH ECDSA public key
     36  1.1.1.7  christos #!:mime		text/plain
     37  1.1.1.7  christos !:mime		text/x-ssh-public-key
     38  1.1.1.7  christos !:ext		pub
     39  1.1.1.7  christos # https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.u2f?annotate=HEAD
     40  1.1.1.7  christos 0	string	sk-ecdsa-sha2-nistp256 (a] openssh.com	OpenSSH U2F ECDSA public key
     41  1.1.1.7  christos #!:mime		text/plain
     42  1.1.1.7  christos !:mime		text/x-ssh-public-key
     43  1.1.1.7  christos !:ext		pub
     44  1.1.1.2  christos 0	string	ecdsa-sha2-nistp384	OpenSSH ECDSA public key
     45  1.1.1.7  christos #!:mime		text/plain
     46  1.1.1.7  christos !:mime		text/x-ssh-public-key
     47  1.1.1.7  christos !:ext		pub
     48  1.1.1.2  christos 0	string	ecdsa-sha2-nistp521	OpenSSH ECDSA public key
     49  1.1.1.7  christos #!:mime		text/plain
     50  1.1.1.7  christos !:mime		text/x-ssh-public-key
     51  1.1.1.7  christos !:ext		pub
     52  1.1.1.3  christos 0	string	ssh-ed25519		OpenSSH ED25519 public key
     53  1.1.1.7  christos #!:mime		text/plain
     54  1.1.1.7  christos !:mime		text/x-ssh-public-key
     55  1.1.1.7  christos !:ext		pub
     56  1.1.1.7  christos 0	string	sk-ssh-ed25519 (a] openssh.com	OpenSSH U2F ED25519 public key
     57  1.1.1.7  christos #!:mime		text/plain
     58  1.1.1.7  christos !:mime		text/x-ssh-public-key
     59  1.1.1.7  christos !:ext		pub
     60  1.1.1.7  christos 
     61  1.1.1.7  christos 
     62  1.1.1.4  christos 
     63  1.1.1.4  christos 0	string	SSHKRL\n\0
     64  1.1.1.4  christos >8	ubelong	1		OpenSSH key/certificate revocation list, format %u
     65  1.1.1.4  christos >>12	ubequad	x		\b, version %llx
     66  1.1.1.4  christos >>>20	beqdate	x		\b, generated %s
     67  1.1.1.4  christos 
     68  1.1.1.5  christos # From:		Joerg Jenderek
     69  1.1.1.5  christos # URL:		https://en.wikipedia.org/wiki/PuTTY
     70  1.1.1.5  christos # Reference:	https://the.earth.li/~sgtatham/putty/latest/putty-0.73.tar.gz
     71  1.1.1.5  christos #		/sshpubk.c
     72  1.1.1.5  christos 0	string		PuTTY-User-Key-File-	PuTTY Private Key File
     73  1.1.1.5  christos #!:mime	text/plain
     74  1.1.1.5  christos # https://github.com/github/putty/blob/master/windows/installer.wxs
     75  1.1.1.5  christos !:mime	application/x-putty-private-key
     76  1.1.1.5  christos !:ext	ppk
     77  1.1.1.5  christos # version 1 or 2
     78  1.1.1.5  christos >20	string		x			\b, version %.1s
     79  1.1.1.5  christos # name of the algorithm like: ssh-dss ssh-rsa ecdsa-sha2-nistp256 ssh-ed25519
     80  1.1.1.5  christos >23	string		x			\b, algorithm %s
     81  1.1.1.5  christos # next line says "Encryption: " plus an encryption type like aes256-cbc or none
     82  1.1.1.5  christos >32	search/13	Encryption:\040		\b, Encryption
     83  1.1.1.5  christos >>&0	string		x			%s
     84  1.1.1.5  christos # next line says "Comment: " plus the comment string
     85  1.1.1.5  christos >>>&0	search/3	Comment:\040
     86  1.1.1.5  christos >>>>&0	string		x			"%s"
     87  1.1.1.5  christos 
     88