[ 
https://issues.apache.org/jira/browse/TIKA-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204054#comment-17204054
 ] 

Nick Burch commented on TIKA-3205:
----------------------------------

Magic added for PEM and DER encoded certificates, and public/private keys in 
RSA, DSA and EC format as of 618345263ee41108e1a225dbcdbb8db16b2aae28

As part of this, the base mimetype for certificates has changed from 
{{application/x-x509-ca-cert}} which we inherited from HTTPD to 
{{application/x-x509-cert}} with CA and User as aliases. We also return the 
format of DER or PEM as {{;format=xxx}} subtypes when we can tell that

> Mime magic for more certificate related formats
> -----------------------------------------------
>
>                 Key: TIKA-3205
>                 URL: https://issues.apache.org/jira/browse/TIKA-3205
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>    Affects Versions: 1.24.1
>            Reporter: Nick Burch
>            Priority: Major
>
> As spotted by a Tika user on stackoverflow 
> <https://stackoverflow.com/q/64119284/685641>, we only have mime magic for a 
> handful of the certificate/key related formats, and are missing quite a few 
> common ones



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to