Nicolas Höft
2e0fc3ca09
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.
2020-06-03 08:17:08 +02:00
Nicolas Höft
8c612fc0a2
feat(core): Add BLF-CRYPT scheme.
...
Dovecot promotes the use of BLF-CRYPT as a hashing scheme [1].
However, as not all libc-crypt() implementations support this scheme,
use the implementation added in a previous commit.
Also, update the references to the dovecot implementation and a small
test case for testing the blowfish implementation.
[1] https://doc.dovecot.org/configuration_manual/authentication/password_schemes/
Fixes #4958
2020-05-15 07:43:38 +02:00
Francis Lachapelle
ca9f83ec1f
Fix wrong optimization in yearly recurrence calc
2019-01-18 15:16:23 -05:00
Ludovic Marcotte
8ab73fa76b
More OpenChange disabling stuff...
2018-01-04 09:52:37 -05:00
Ludovic Marcotte
c11d961bf3
(fix) avoid escaping values that are quoted ( fixes #3296 )
2017-03-29 10:18:38 -04:00
Ludovic Marcotte
e02b975bb5
Added missing files from OC changes
2016-06-23 09:05:44 -04:00
Ludovic Marcotte
4a74f00adb
(fix) integrated latest OC changes
2016-06-23 08:58:25 -04:00
Patrice Levesque
986665f011
Workaround warning: ‘locale’ is used uninitialized in this function [-Wuninitialized]
...
'locale' being an uninitialized pointer, I don't believe setting it to nil will
make things worse here.
2016-03-07 10:34:40 -05:00
Patrice Levesque
bd56f4cf9f
Remove pointless #include from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 17:41:54 -05:00
Patrice Levesque
7c25b53fdf
Remove pointless #imports from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Patrice Levesque
d2695bab82
Better fix for *_stringForCharacterAtIndex's missing prototype
2016-02-10 11:29:43 -05:00
Patrice Levesque
5539b7a823
Add missing header prototypes
...
Fixes compiling errors with GCC using -Werror=missing-prototypes.
2016-02-08 16:14:33 -05:00
Ludovic Marcotte
fe0221f630
(fix) disable test
2016-01-27 14:43:23 -05:00
Ludovic Marcotte
691ab3ff27
(fix) don't use false, but use NO
2016-01-18 14:06:21 -05:00
Ludovic Marcotte
e73fc61a27
(fix) old case with gcc
2016-01-18 11:14:56 -05:00
Ludovic Marcotte
9a831a85c0
(fix) re-enabled old test
2016-01-18 11:08:35 -05:00
Ludovic Marcotte
c42fa9489c
(fix) added new tests
2016-01-18 10:56:50 -05:00
Ludovic Marcotte
b3bc6bb7dc
Applied changes coming from v2/PR#184 .
2016-01-18 09:26:07 -05:00
Ludovic Marcotte
6cdf9f55b4
(fix) fixed one unit test
2015-11-23 13:22:11 -05:00
Euan Thoms
3c62cc744e
Stage 1 of clang compiler warning patches.
2015-10-31 14:10:03 +08:00
Luc Charland
f4ed7d9448
removed empty line
2015-09-30 12:17:20 -04:00
Luc Charland
c7825601e6
removed author
2015-09-30 11:47:43 -04:00
Luc Charland
781e408091
- used tab instead of spaces for GNUMakefile
...
- removed unused logging
- used generic names
2015-09-30 11:23:45 -04:00
Luc Charland
549c57f8a6
Added new tests for NGMailAddressParser
2015-09-30 11:04:14 -04:00
Francis Lachapelle
fab9e938fc
Fix URL escaping unti test
2015-09-18 13:53:32 -04:00
Ludovic Marcotte
3efbf65f80
(fix) added missing test
2015-09-14 13:40:29 -04:00
Ludovic Marcotte
18a300ca5b
(fix) appplied fix from Zentyal - PR#102
...
Original commit: 33a1d2c397
2015-09-09 08:22:33 -04:00
Jeroen Dekkers
6ded9e95b3
Put private libraries in /usr/lib/sogo
2014-10-01 20:36:42 +02:00
Ludovic Marcotte
b05fcc7d82
Fat commit to refactor the quick record generation
2014-07-30 14:51:00 -04:00
Jeroen Dekkers
efc33d8174
Fix unit test by also checking for the different gnustep 1.24 ordering of elements
2014-05-29 15:53:13 +02:00
Jeroen Dekkers
93971dc434
Add $(TEST_TOOL) as dependency of make check
2014-05-29 15:35:46 +02:00
Ludovic Marcotte
5739356f88
Fix tests to handle list-component
2014-04-09 19:27:38 -04:00
Francis Lachapelle
e6e4616a69
Fix typo in unit test
2013-01-18 09:39:02 -05:00
Wolfgang Sourdeau
160aa42b88
set the "check" target as a non-default target
2012-11-07 09:49:46 -05:00
Wolfgang Sourdeau
de381aca81
Added support for gnutls (thanks to Jeroen Dekkers).
2012-10-23 10:11:36 -04:00
Wolfgang Sourdeau
f4c12f9658
Merge pull request #1 from dekkers/make-check
...
Implement a "make check" target that will run the unit tests (thanks to Jeroen Dekkers)
2012-10-20 12:39:39 -07:00
Wolfgang Sourdeau
948bafd2bf
s/occurence/occurrence/g
2012-10-20 13:27:24 -04:00
Jeroen Dekkers
a632c82b59
Implement a "make check" target that will run the unit tests
2012-10-19 18:46:46 +02:00
Jeroen Dekkers
439bb132c1
Add support for GnuTLS
2012-10-19 17:33:48 +02:00
Wolfgang Sourdeau
f9d34ea6ec
Monotone-Parent: 5626a85621c5f1c132d788ea29e164c8fc44cfdf
...
Monotone-Revision: cd39fe0df424d1e5afd5dcfa4b1c94ad707fed24
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T21:19:08
2012-04-23 21:19:08 +00:00
Wolfgang Sourdeau
b8930b7bd0
Monotone-Parent: f44990050ab038029a3fa83c4918912da401bd4b
...
Monotone-Revision: 5626a85621c5f1c132d788ea29e164c8fc44cfdf
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T21:17:54
2012-04-23 21:17:54 +00:00
Wolfgang Sourdeau
067513959a
Monotone-Parent: fbdbaedef2d0b93dc7ac828e0acfde7baccc8f6b
...
Monotone-Revision: f44990050ab038029a3fa83c4918912da401bd4b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T19:16:43
2012-04-23 19:16:43 +00:00
Wolfgang Sourdeau
65acbc5ecf
Monotone-Parent: 389b194bd166895ce122d73e90c04eb48d06a6a1
...
Monotone-Revision: fbdbaedef2d0b93dc7ac828e0acfde7baccc8f6b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T18:39:26
2012-04-23 18:39:26 +00:00
Wolfgang Sourdeau
6aa627a800
Monotone-Parent: 2fb9aaf01f9b4a29e3d49d6c35deaf48a4e57e9c
...
Monotone-Revision: 825d6255230167e6f80d8015a569afa6bdb4cb7d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-16T15:24:16
2012-04-16 15:24:16 +00:00
Wolfgang Sourdeau
10bfd70be1
Monotone-Parent: 406832bc51a0849377951d10353a33568b33877b
...
Monotone-Revision: 2fb9aaf01f9b4a29e3d49d6c35deaf48a4e57e9c
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-16T15:23:24
2012-04-16 15:23:24 +00:00
Wolfgang Sourdeau
966149f804
Monotone-Parent: 859bf2013653e0366336126b6d00368fe0dbc147
...
Monotone-Revision: ed35a0aec1eed0f78e69e747bdd6871d62118111
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-21T19:52:40
Monotone-Branch: ca.inverse.sogo
2012-02-21 19:52:40 +00:00
Wolfgang Sourdeau
c255ce92fd
Monotone-Parent: b84d2ade488d31149ffc7e1bd8b78b98c3331703
...
Monotone-Revision: 6e9bec6a824b22501c8cbc518a56410d6d896cb0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-13T15:09:06
Monotone-Branch: ca.inverse.sogo
2012-02-13 15:09:06 +00:00
Francis Lachapelle
63e0b0e116
applied changes from 59d4ff7e6c2fe24e74adbe4891af30ece4f5e858
...
through c05e0091913ed81140571dab045abdaf56a77ef8
Monotone-Parent: 850fd7677033b28a7218a010f55b437ebd12f665
Monotone-Revision: eb1f58bb7bd3454ffc857750264fae0b27b86d32
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-14T16:07:04
2011-11-14 16:07:04 +00:00
Wolfgang Sourdeau
6192f0d077
Monotone-Parent: 3506bd18bc8c2147bebd7f22c05323ede7752c62
...
Monotone-Revision: 394b1692941b08185f4b0f87ec52bc7c0dc6c824
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-22T20:28:49
Monotone-Branch: ca.inverse.sogo
2011-07-22 20:28:49 +00:00
Wolfgang Sourdeau
53c646a072
Monotone-Parent: 7dc95c48ab0a4fd9411797dd3275f47c9c42b72d
...
Monotone-Revision: 3506bd18bc8c2147bebd7f22c05323ede7752c62
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-22T17:51:26
Monotone-Branch: ca.inverse.sogo
2011-07-22 17:51:26 +00:00