[Bug 236298] file/magic/Magdir/ssl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 5 20:41:50 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236298

            Bug ID: 236298
           Summary: file/magic/Magdir/ssl
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: jasonmader at gmail.com

$ file Ed25519.key
Ed25519.key: ASCII text

This is because there is no match for,

$ head -1 Ed25519.key
-----BEGIN PRIVATE KEY-----


/contrib/file/magic/Magdir/ssl could add:

0       string  -----BEGIN\040PRIVATE  PEM private key


$ head -1 2019_Next_RSA.key
-----BEGIN ENCRYPTED PRIVATE KEY-----


/contrib/file/magic/Magdir/ssl could also add:

0       string  -----BEGIN\040ENCRYPTED\040PRIVATE  PEM encrypted private key


Maybe also add:

0       string  -----BEGIN\040ED25519\040PRIVATE  PEM ED25519 private key

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list