sogo: feature/mail-identities d1700e81

Author Committer Branch Timestamp Parent
the_nic francis feature/mail-identities 2020-05-03 13:17 feature/mail-identities c2261c6b
Changeset

feat(core): Add PBKDF2 support

Extend NSData+Crypto to support PBKDF2 with SHA1 HMAC as dovecot
is using it since v2.3.0.

The format hashed passwords is {PBKDF2}$1$<salt>$<rounds>$<hashed value in hex>

The implementation of pkcs#5 PBKDF2 is taken from openbsd (with minor
adjustments) as OpenSSL and GnuTLS would require quite new versions to
support this hash.

mod - Documentation/SOGoInstallationGuide.asciidoc Diff File
mod - SoObjects/SOGo/GNUmakefile Diff File
mod - SoObjects/SOGo/NSData+Crypto.h Diff File
mod - SoObjects/SOGo/NSData+Crypto.m Diff File
add - SoObjects/SOGo/pkcs5_pbkdf2.c Diff File
add - SoObjects/SOGo/pkcs5_pbkdf2.h Diff File
mod - Tests/Unit/TestNSString+Crypto.m Diff File