vmime
vmime copied to clipboard
Support for strong digests
vmime currently only supports MD5 and SHA1 as digest algorithms, both of which are broken. It would be great if there is at least support for SHA2.
Hello!
In which context are you using VMime message digests? Currently, only MD5 digest is used for POP3's APOP.
The X509Certificate class has a getFingerprint method that generates different kinds of digests: https://github.com/kisli/vmime/blob/master/src/vmime/security/cert/X509Certificate.hpp#L155
Adding support for more fingerprint digest algorithms is very easy. I have added support for SHA256 in https://github.com/kisli/vmime/pull/271/files