]> granicus.if.org Git - file/commitdiff
PR/587: Luc Gommans: Add OpenSSL files
authorChristos Zoulas <christos@zoulas.com>
Wed, 18 Jan 2017 14:59:19 +0000 (14:59 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 18 Jan 2017 14:59:19 +0000 (14:59 +0000)
magic/Magdir/ssl

index 5d5daeeaf30f2f5d9cfd43b2dd7e661dcf782c89..e43b98ac1e3c15cf148cfd0013823b8ac29e7843 100644 (file)
@@ -1,3 +1,8 @@
+
+#------------------------------------------------------------------------------
+# $File: apple,v 1.35 2016/08/17 09:45:13 christos Exp $
+# ssl:  file(1) magic for SSL file formats
+
 # Type: OpenSSL certificates/key files
 # From: Nicolas Collignon <tsointsoin@gmail.com>
 
@@ -6,3 +11,9 @@
 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
+
+# From Luc Gommans
+# OpenSSL enc file (recognized by a magic string preceding the password's salt)
+0      string  Salted__        openssl enc'd data with salted password
+# Using the -a or -base64 option, OpenSSL will base64-encode the data.
+0      string U2FsdGVkX19      openssl enc'd data with salted password, base64 encoded