diff options
-rw-r--r-- | usr.bin/file/magdir/ssh | 15 | ||||
-rw-r--r-- | usr.bin/file/magdir/ssl | 10 |
2 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/ssh b/usr.bin/file/magdir/ssh new file mode 100644 index 00000000000..4ab71186837 --- /dev/null +++ b/usr.bin/file/magdir/ssh @@ -0,0 +1,15 @@ +# $OpenBSD: ssh,v 1.1 2015/10/06 08:13:03 nicm Exp $ + +# Type: OpenSSH key files +# From: Nicolas Collignon <tsointsoin@gmail.com> + +0 string SSH\ PRIVATE\ KEY OpenSSH RSA1 private key, +>28 string >\0 version %s +0 string -----BEGIN\ OPENSSH\ PRIVATE\ KEY----- OpenSSH private key + +0 string ssh-dss\ OpenSSH DSA public key +0 string ssh-rsa\ OpenSSH RSA public key +0 string ecdsa-sha2-nistp256 OpenSSH ECDSA public key +0 string ecdsa-sha2-nistp384 OpenSSH ECDSA public key +0 string ecdsa-sha2-nistp521 OpenSSH ECDSA public key +0 string ssh-ed25519 OpenSSH ED25519 public key diff --git a/usr.bin/file/magdir/ssl b/usr.bin/file/magdir/ssl new file mode 100644 index 00000000000..22b32a9f40b --- /dev/null +++ b/usr.bin/file/magdir/ssl @@ -0,0 +1,10 @@ +# $OpenBSD: ssl,v 1.1 2015/10/06 08:13:03 nicm Exp $ + +# Type: OpenSSL certificates/key files +# From: Nicolas Collignon <tsointsoin@gmail.com> + +0 string -----BEGIN\ CERTIFICATE----- PEM certificate +0 string -----BEGIN\ CERTIFICATE\ REQ PEM certificate request +0 string -----BEGIN\ RSA\ PRIVATE PEM RSA private key +0 string -----BEGIN\ DSA\ PRIVATE PEM DSA private key +0 string -----BEGIN\ EC\ PRIVATE PEM EC private key |