Commit ac281339 authored by Andre Heinecke's avatar Andre Heinecke

Examine content for pgp and gpg files in classify

Examine content can give a better classification of these
files as they can contain any OpenPGP Data.
parent a0c04348
......@@ -77,7 +77,7 @@ static const struct _classification {
{ "crl", CMS | Binary | CertificateRevocationList },
{ "crt", CMS | Binary | Certificate },
{ "der", CMS | Binary | Certificate | CertificateRevocationList },
{ "gpg", OpenPGP | Binary | OpaqueSignature | CipherText | AnyCertStoreType },
{ "gpg", OpenPGP | Binary | OpaqueSignature | CipherText | AnyCertStoreType | ExamineContentHint},
{ "p10", CMS | Ascii | CertificateRequest },
{ "p12", CMS | Binary | ExportedPSM },
{ "p7c", CMS | Binary | Certificate },
......@@ -85,7 +85,7 @@ static const struct _classification {
{ "p7s", CMS | Binary | AnySignature },
{ "pem", CMS | Ascii | AnyType | ExamineContentHint },
{ "pfx", CMS | Binary | Certificate },
{ "pgp", OpenPGP | Binary | OpaqueSignature | CipherText | AnyCertStoreType },
{ "pgp", OpenPGP | Binary | OpaqueSignature | CipherText | AnyCertStoreType | ExamineContentHint},
{ "sig", OpenPGP | AnyFormat | DetachedSignature },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment