1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-23 01:12:19 -05:00
Commit Graph

207 Commits

Author SHA1 Message Date
Tankred Hase
1b8e662769 Use same signatures structure openpgp.js for clearSignedSignatures as detached 2014-07-07 11:58:41 +02:00
Felix Hammerl
30efac0792 [WO-259] introduce proper signature checking 2014-07-04 17:58:25 +02:00
Tankred Hase
b11161655a Add dev build w/ patched OpenPGP.js containing signature verification 2014-07-03 15:33:03 +02:00
Felix Hammerl
c335fee0d5 add Function.prototype.bind polyfill in tests because phantomjs is buggy 2014-07-02 16:46:17 +02:00
Felix Hammerl
1283bb4a1c [WO-420] add bug reporting capability with the axe logger 2014-07-02 16:17:50 +02:00
Tankred Hase
8ebb24123a Merge pull request #85 from whiteout-io/dev/WO-279
[WO-279] Display error message if PGP signature is invalid
2014-07-02 15:31:33 +02:00
Tankred Hase
bf063b5dac [WO-279] Display error message if PGP signature is invalid 2014-07-02 15:26:51 +02:00
Tankred Hase
5aec80da47 Fix appController._pgp mocking in read controller test 2014-07-01 20:59:10 +02:00
Tankred Hase
b20c6977ca [WO-437] Allow users to import only the private PGP key block 2014-07-01 20:58:34 +02:00
Tankred Hase
049ac96954 Fix signature verification for PGP messages
* Upgrade to OpenPGP.js v0.6.5
* Migrate PGP wrapper for breaking OpenPGP.js api changes
* Change PGP wrapper decrypt api to return one signature arg
* Change emailDao and keychainDao calls respectively
* Fix tests
* Add tests keygen with empty passphrase
* Add tests to check PGP verification with wrong public key
2014-07-01 17:15:16 +02:00
Felix Hammerl
a9cf763bed fix handling of clearsigned messages and missing signatures 2014-06-27 16:19:30 +02:00
Tankred Hase
48c478961d Add CCA scripts and css optimizations for Android
Hide native account picker on Android after first time.

Get OAuth to work on iOS

Turn off css slide transistion
2014-06-26 15:01:13 +02:00
Tankred Hase
b5fda88b8a Implement client side key sync protocol and ui 2014-06-25 18:14:33 +02:00
Tankred Hase
c890cbe71d Upgrade to OpenPGP.js v0.6.0 2014-06-25 18:14:29 +02:00
Tankred Hase
5244c5c2d7 Refactor REST dao 2014-06-25 18:12:15 +02:00
Tankred Hase
e720753779 Implement setDeviceName and generateDeviceSecret 2014-06-23 17:21:03 +02:00
Tankred Hase
4880c162f8 Fix paths to unit 2014-06-23 17:21:02 +02:00
Tankred Hase
1e8894abe6 Rename new-unit to unit under test 2014-06-23 17:21:02 +02:00
Tankred Hase
a810fb06d1 Delete old qunit test directory 2014-06-23 17:21:02 +02:00
Felix Hammerl
23242a9112 remove commented lines 2014-02-17 15:46:48 +01:00
Tankred Hase
1da5c68fd1 [WO-237] integrate web worker support for pgp 2014-02-14 16:18:21 +01:00
Tankred Hase
9341678151 reactivate qunit integration tests 2013-10-29 19:24:22 +01:00
Tankred Hase
3e75397213 cleanup and refactor qunit tests to mocha 2013-10-29 19:00:05 +01:00
Tankred Hase
1eb14d1e11 refactor to generate and store random salt for PBKDF2 2013-10-09 16:40:36 +02:00
Tankred Hase
267e889872 list and store only encrypted emails in local db 2013-09-28 19:04:15 +02:00
Tankred Hase
2b966c1132 cleanup device storage dao 2013-09-26 15:48:32 +02:00
Tankred Hase
38b0a8e8b1 refactor test and storage code 2013-09-26 13:26:57 +02:00
Tankred Hase
7b532f780c integrated imap-client amd branch 2013-09-19 18:35:12 +02:00
Tankred Hase
1259d0c160 add ngtouch to angular app, remove all backbone deps and models code 2013-09-04 19:18:28 +02:00
Tankred Hase
873671f011 add symmetric batch encryption to crypto, delete unnecessary crypto code 2013-08-31 16:09:25 +02:00
Tankred Hase
fbbed90e62 removed return nul in lawnchair dao 2013-08-23 16:47:36 +02:00
Tankred Hase
f06fe5e545 start rewrite of unit tests using mocha, sinon and chai 2013-08-19 21:13:32 +02:00
Tankred Hase
79b297e624 update and test forge ~0.1.14 2013-08-05 16:45:02 +02:00
Tankred Hase
699871276c sending end-2-end encrypted emails internally work 2013-07-01 22:42:39 +02:00
Tankred Hase
6097000f9f optimized email sync from cloud to do RSA validation and decryption only once 2013-06-26 17:37:21 +02:00
Tankred Hase
6932088aa9 jshint on grunt test works again 2013-06-11 17:12:27 +02:00
Tankred Hase
2007fbcc0f tested mobile.html... works 2013-06-11 03:14:57 +02:00
Tankred Hase
1368672c1d web worker tests work again 2013-06-11 00:55:53 +02:00
Tankred Hase
0e9be73791 integration tests work too now 2013-06-11 00:17:08 +02:00
Tankred Hase
f1fd936141 finished refactoring unit tests with email dao 2013-06-10 23:50:26 +02:00
Tankred Hase
deb47fd4df refactored device storage 2013-06-10 23:22:57 +02:00
Tankred Hase
ccebe011cb refactored crypto 2013-06-10 23:07:29 +02:00
Tankred Hase
5d409933e5 refactored keychaindao 2013-06-10 22:45:21 +02:00
Tankred Hase
e7185a8baa rsa and lawnchair tests refactored 2013-06-10 22:02:29 +02:00
Tankred Hase
e8329872ec started refactoring for requirejs 2013-06-10 17:57:33 +02:00
Tankred Hase
1491e9fd1d removed unnecessary email model code 2013-06-06 22:05:37 +02:00
Tankred Hase
8f54f1c544 removed email collection usage in email dao 2013-06-06 19:19:37 +02:00
Tankred Hase
f2a14ad65b refactoring of crypto worker code and lots of cleanup 2013-06-05 01:47:28 +02:00
Tankred Hase
71d6d6c799 started refacrtoring for sandboxed iframe 2013-06-04 21:36:13 +02:00
Tankred Hase
1071d89ee9 key ync from cloud works 2013-06-03 19:57:15 +02:00
Tankred Hase
04a3ab2a34 different lawnchair for each user 2013-06-03 04:26:17 +02:00
Tankred Hase
6224d01afd upgrade lawnchair deps... fixed bugs 2013-06-03 03:49:43 +02:00
Tankred Hase
5a2a559485 put sentDate in lawnchair key, reducing sort complexity 2013-06-03 02:17:20 +02:00
Tankred Hase
8cfd6ea0a6 upgrade several js libs 2013-06-01 13:57:50 +02:00
Tankred Hase
558ac6153d removed unnecessary scripts and dependecies for sjcl and nacl 2013-06-01 11:19:18 +02:00
Tankred Hase
03a60c2546 integrated refactored item batch encryption 2013-06-01 10:58:50 +02:00
Tankred Hase
39a9a90e26 started cloudstorage integration tests and keychain dao integration tests 2013-05-31 23:27:19 +02:00
Tankred Hase
dca3b252ce finished refactoring email dao for unit tests 2013-05-31 15:51:34 +02:00
Tankred Hase
0fb0e7c1e7 cleanup Lawnchair dep injection 2013-05-31 13:09:49 +02:00
Tankred Hase
9a7e87d33e deleted local storage dao code and tests 2013-05-31 13:05:12 +02:00
Tankred Hase
09d4c1c56f refactored crypto.js tp use keypair input 2013-05-31 13:00:54 +02:00
Tankred Hase
6a33f17f42 implemented storage and lookup of user keypair 2013-05-27 19:25:45 +02:00
Tankred Hase
dbb25162fa added keychain dao and started impl 2013-05-23 23:45:26 +02:00
Tankred Hase
eaddd674b9 added error handling in lawnchair dao 2013-05-23 23:14:30 +02:00
Tankred Hase
bdab0e19c1 integrated crypto lib changes into device storage dao 2013-05-23 22:33:44 +02:00
Tankred Hase
1e27297013 integrated new crypto lib api into crypto.js 2013-05-23 22:17:25 +02:00
Tankred Hase
52fba1a462 rm util unti test 2013-05-23 14:04:44 +02:00
Tankred Hase
487ddca28c refactored crypto libto use different namespace 2013-05-22 17:03:54 +02:00
Tankred Hase
f5d505df49 moved dev server to grunt connect 2013-05-22 10:16:26 +02:00
Tankred Hase
f9461aaf25 fixed cloudstorage dao it tests 2013-05-19 04:00:53 +02:00
Tankred Hase
0cb5214b94 minor fixes to email dao and crypto 2013-05-19 01:33:59 +02:00
Tankred Hase
afe8c1329b integrated new crypto into email dao unit test 2013-05-18 22:33:10 +02:00
Tankred Hase
2c1458b663 updated devicestorage 2013-05-17 17:44:34 +02:00
Tankred Hase
6f2be99672 moved crypto batch code from util to own js file 2013-05-15 13:36:59 +02:00
Tankred Hase
fcf64569b2 refactored crypto for user to use RSA encrypt/sign 2013-05-15 12:26:32 +02:00
Tankred Hase
c9c53598e8 started refacroting crypto 2013-05-14 20:28:12 +02:00
Tankred Hase
c264dfc994 refactored rsa sign and verify to take base64 arrays 2013-05-14 18:15:47 +02:00
Tankred Hase
6bbcd8cab7 added rsa module and tests 2013-05-14 16:05:31 +02:00
Tankred Hase
ec14639d56 refactored forge test 2013-05-14 14:49:07 +02:00
Tankred Hase
d59077dedd removed sjcl dependencies from code 2013-05-14 14:37:31 +02:00
Tankred Hase
c89569fabd refactored crypto api to use forge cbc mode instead of sjcl 2013-05-14 14:05:14 +02:00
Tankred Hase
3e12c7eae6 inject forge as dependency 2013-05-14 13:43:52 +02:00
Tankred Hase
0a6ae5d599 removed hmac integrify check during cbc encryption 2013-05-14 13:40:58 +02:00
Tankred Hase
df0696a373 test code cleanup 2013-05-14 13:26:51 +02:00
Tankred Hase
0a64d09fd8 test code cleanup 2013-05-14 13:19:56 +02:00
Tankred Hase
d3ebb8dc50 removed crypto.js and jsbn libs 2013-05-14 12:57:09 +02:00
Tankred Hase
4d47a3cdec swapped crypto'js cbc impl for forge 2013-05-14 12:49:27 +02:00
Tankred Hase
01469356dd fixed forge test 2013-05-14 03:04:39 +02:00
Tankred Hase
04376d0245 fixed forge test 2013-05-14 02:07:28 +02:00
Tankred Hase
7d14dbfa23 test cleanup 2013-05-14 00:35:25 +02:00
Tankred Hase
184b9a6d3b forge test update 2013-05-13 17:29:02 +02:00
Tankred Hase
e3ce4df5bb added forge rsa bundle and wrote benchmarks tests successfully 2013-05-13 17:14:44 +02:00
Tankred Hase
6177b40f1b moved nacl key derivation to web worker 2013-04-29 15:10:27 +02:00
Tankred Hase
65e0a7d520 user keypair is now derived on email dao init and pub key pushed to the cloud 2013-04-19 16:38:32 +02:00
Tankred Hase
3d5ab5db5f moved nacl web worker code to nacl-crypto and added synchronous impl 2013-04-11 15:02:24 +02:00
Tankred Hase
bcaafe0f48 added ID to nacl keypair 2013-04-11 11:52:48 +02:00
Tankred Hase
0b37b40417 nacl-crypto cleanup 2013-04-10 19:14:48 +02:00
Tankred Hase
edf78bc1af webworker support for js-nacl works 2013-04-10 17:09:39 +02:00
Tankred Hase
6841bd538c implemented wrapper for symmetric nacl encryption 2013-04-10 10:51:03 +02:00
Tankred Hase
668f768a63 updated date parsing in util and cleaned up webserver 2013-04-07 23:16:03 +02:00
Tankred Hase
7ae1a57888 rebased test dir 2013-04-06 16:24:28 +02:00
Tankred Hase
5ee864fe01 refactored folder structure 2013-04-01 23:23:25 +02:00
Tankred Hase
b6f85f9719 added date time to lawnchair keys for easy sorting 2013-03-22 12:46:56 +01:00
Tankred Hase
02076cff40 moved ordering of emails to list view instead of email dao 2013-03-21 21:58:56 +01:00
Tankred Hase
5b98cd692a sort emails by sent date when fetching them from the data-store 2013-03-21 20:18:03 +01:00
Tankred Hase
7b2751ed9b app now still works if no internet connection is there 2013-03-20 18:20:08 +01:00
Tankred Hase
95cbe554bd initial commit 2013-03-13 16:58:46 +01:00