]> granicus.if.org Git - neomutt/commit
smime_keys: Add purpose flag to index.
authorKevin McCarthy <kevin@8t8.us>
Sun, 7 Jun 2015 20:59:19 +0000 (13:59 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sun, 7 Jun 2015 20:59:19 +0000 (13:59 -0700)
commit7d3c78b01d8e0a3e86b218f53eea820b38df3a3b
treea0012c6ec59e02f1ab79f05a74167c3109403ed0
parente85bfacd7a5e5f0205317b8f6195c39629057e19
smime_keys: Add purpose flag to index.

A subsequent patch will change smime.c to use the purpose to filter
certs and keys that can't be used for signing or encryption.

Issuer, trust, and purpose flags were also added to the keys index file,
to keep parsing simpler in smime_keys as well as smime.c.  The trust and
purpose are derived from the cert.  Issuer is set to '?' as this should
never be needed for keys.
smime_keys.pl