Home GnuPG

Improve detection of CMS objects.
3a8458ae7c08Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Improve detection of CMS objects.

* configure.ac: Detect gpgme_data_identify.
* src/filetype.c (is_cms_data, is_cms_file): Use gpgme_data_identify
is available.

The gpgme_data_identify function has the advantage that it also
detects X.509 certificates. This offers way to detect certificate
files and import them. As of now the import function does only work
with PGP.

Details

Provenance
wernerAuthored on Aug 9 2013, 7:46 PM
Parents
rGPA5574ece82ed5: Implement the binary option for server based encrypt and sign.
Branches
Unknown
Tags
Unknown