diff options
Diffstat (limited to 'magic/Magdir/ssh')
| -rw-r--r-- | magic/Magdir/ssh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/magic/Magdir/ssh b/magic/Magdir/ssh index 56b28a8488ea..84d3817cbd33 100644 --- a/magic/Magdir/ssh +++ b/magic/Magdir/ssh @@ -1,19 +1,64 @@ # Type: OpenSSH key files # From: Nicolas Collignon <tsointsoin@gmail.com> +# Update: Joerg Jenderek +# URL: https://en.wikipedia.org/wiki/Secure_Shell_Protocol 0 string SSH\040PRIVATE\040KEY OpenSSH RSA1 private key, >28 string >\0 version %s 0 string -----BEGIN\040OPENSSH\040PRIVATE\040KEY----- OpenSSH private key +!:mime application/x-pem-file # https://www.rfc-editor.org/rfc/rfc5958 0 string -----BEGIN\040PRIVATE\040KEY----- OpenSSH private key (no password) +#!:mime text/plain +!:mime text/x-ssh-private-key +!:ext key 0 string -----BEGIN\040ENCRYPTED\040PRIVATE\040KEY----- OpenSSH private key (with password) +# https://download.qemu.org/qemu-9.0.0.tar.xz +# qemu-9.0.0/roms/skiboot/libstb/crypto/mbedtls/tests/data_files/format_gen.pub +0 string -----BEGIN\040PUBLIC\040KEY----- OpenSSH public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub +# Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pub-ssh-dss.trid.xml +# Note: called "SSH-DSS Public key" by TrID 0 string ssh-dss\040 OpenSSH DSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub +# Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pub-ssh-rsa.trid.xml +# Note: called "SSH-RSA Public key" by TrID 0 string ssh-rsa\040 OpenSSH RSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub 0 string ecdsa-sha2-nistp256 OpenSSH ECDSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub +# https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.u2f?annotate=HEAD +0 string sk-ecdsa-sha2-nistp256@openssh.com OpenSSH U2F ECDSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub 0 string ecdsa-sha2-nistp384 OpenSSH ECDSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub 0 string ecdsa-sha2-nistp521 OpenSSH ECDSA public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub 0 string ssh-ed25519 OpenSSH ED25519 public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub +0 string sk-ssh-ed25519@openssh.com OpenSSH U2F ED25519 public key +#!:mime text/plain +!:mime text/x-ssh-public-key +!:ext pub + + 0 string SSHKRL\n\0 >8 ubelong 1 OpenSSH key/certificate revocation list, format %u |
