Commit Graph

142 Commits

Author SHA1 Message Date
Tankred Hase 39e2e418e4 set correct user id format when generating keys 2013-10-14 15:27:41 +02:00
Tankred Hase 7a939db5a3 shorten long var names 2013-10-13 01:30:56 +02:00
Tankred Hase 79c9d134d3 integrate pgp into email dao and app 2013-10-12 03:19:01 +02:00
Tankred Hase fefd7dea25 use only email address in pgp key 2013-10-11 23:37:16 +02:00
Tankred Hase d6ed270c02 add bad test case 2013-10-11 22:10:50 +02:00
Tankred Hase 95f815de91 cleanu pgp code 2013-10-11 21:54:43 +02:00
Tankred Hase 5666671d2f integrate and test openpgp.js 2013-10-11 21:30:03 +02:00
Tankred Hase 1eb14d1e11 refactor to generate and store random salt for PBKDF2 2013-10-09 16:40:36 +02:00
Tankred Hase 38b0a8e8b1 refactor test and storage code 2013-09-26 13:26:57 +02:00
Tankred Hase a3849af57f integrate imap-client master with webworker stuff merged 2013-09-20 18:42:47 +02:00
Tankred Hase 9951a259a4 removed copied files from crypto lib 2013-09-19 20:04:26 +02:00
Tankred Hase 7b532f780c integrated imap-client amd branch 2013-09-19 18:35:12 +02:00
Tankred Hase ac7329fcfa integrate crypto lib update 2013-09-16 14:53:48 +02:00
Tankred Hase d02f61b4a8 upgrade to forge 0.2.6 2013-09-15 22:35:59 +02:00
Tankred Hase dd458c719a update app.config invokation in crypto 2013-09-15 15:17:28 +02:00
Tankred Hase 4ad311929b integrate crypto lub patches 2013-09-15 14:18:16 +02:00
Tankred Hase 04e672552b cleanup web worker callback code to use options argument 2013-08-31 16:29:18 +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 95d51b9bec updated util 2013-08-30 19:01:48 +02:00
Tankred Hase 628cb0ddd9 crypto error handling cleanup 2013-08-30 16:05:33 +02:00
Tankred Hase d1290e7a9f refactor email validation to happen in util 2013-08-30 11:42:32 +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 09a104ce80 update crypto lib 2013-06-26 11:05:23 +02:00
Tankred Hase b5912a1515 merged crypto lib changes 2013-06-25 16:45:29 +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 ccebe011cb refactored crypto 2013-06-10 23:07:29 +02:00
Tankred Hase e8329872ec started refactoring for requirejs 2013-06-10 17:57:33 +02:00
Tankred Hase f2a14ad65b refactoring of crypto worker code and lots of cleanup 2013-06-05 01:47:28 +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 09d4c1c56f refactored crypto.js tp use keypair input 2013-05-31 13:00:54 +02:00
Tankred Hase a3ff4c48c1 integrated senderPk signature check 2013-05-24 00:14:02 +02:00
Tankred Hase dbb25162fa added keychain dao and started impl 2013-05-23 23:45:26 +02:00
Tankred Hase 1e27297013 integrated new crypto lib api into crypto.js 2013-05-23 22:17:25 +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 b77affb86a added grunt test runner 2013-05-21 15:38:18 +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 4a080eed26 added git submodule deps in npm 2013-05-16 16:54:56 +02:00
Tankred Hase 0e4c09ebdf added unique id to rsa signature 2013-05-15 14:14:08 +02:00
Tankred Hase 838fc0396f refactoring and cleanup of crypto batch lib 2013-05-15 13:47:49 +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 98a4b8cfec refactored worker code... all asym and sym batch encryption is done in a worker 2013-05-15 13:11:08 +02:00
Tankred Hase fcf64569b2 refactored crypto for user to use RSA encrypt/sign 2013-05-15 12:26:32 +02:00
Tankred Hase 413a99a04f removed redundant keypair reference in crypto 2013-05-14 20:49:33 +02:00
Tankred Hase c9c53598e8 started refacroting crypto 2013-05-14 20:28:12 +02:00
Tankred Hase 1b95066e12 crypto cleanup of for loops using forEach 2013-05-14 19:11:16 +02:00
Tankred Hase b25b5256d6 cleanup comments 2013-05-14 18:52:41 +02:00
Tankred Hase 956e184574 added utf-16 support for rsa crypto 2013-05-14 18:48:13 +02:00
Tankred Hase d2e59c7f32 used utf-16 string as input for aes crypto and cleaned up code 2013-05-14 18:38:24 +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 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 4d47a3cdec swapped crypto'js cbc impl for forge 2013-05-14 12:49:27 +02:00
Tankred Hase 2b50bc2308 replaced pbkdf2 impl with forge 2013-05-14 12:01:51 +02:00
Tankred Hase 8f0b698d27 added exception handling for password/login 2013-05-07 15:10:51 +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 e943dfd304 implemented public key cloud storage methods 2013-04-19 13:55:21 +02:00
Tankred Hase ba376d166e migrated cloudstorage to use aws service 2013-04-18 20:34:02 +02:00
Tankred Hase 32a52ad6e7 nacl module now checks window and document instead of importscripts 2013-04-12 12:27:47 +02:00
Tankred Hase 6a9f2c00be cleanup nacl worker 2013-04-11 16:37:39 +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 73048a31b2 cleanup nacl 2013-04-11 09:46:22 +02:00
Tankred Hase 0b37b40417 nacl-crypto cleanup 2013-04-10 19:14:48 +02:00
Tankred Hase 3f82fdf960 cleaned up web worker code 2013-04-10 17:14:19 +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 1f3c91f1d3 nacl is now injected as a dependecy into nacl-crypto 2013-04-05 18:38:14 +02:00
Tankred Hase 2d37e8f3f7 finished nacl impl and tests 2013-04-05 17:56:47 +02:00
Tankred Hase 21aad0afb2 made util, nacl and aes crossplatform 2013-04-05 17:43:41 +02:00
Tankred Hase 104bc734f6 created portable version of util 2013-04-05 16:51:47 +02:00
Tankred Hase e1c8866afe merged master/ecc into nacl 2013-04-05 12:40:58 +02:00
Tankred Hase ec0685829e implemented asymmetric nacl crypto and unit test 2013-04-04 21:36:29 +02:00
Tankred Hase ea34d17c21 Merge branch 'master' into nacl 2013-04-04 18:40:14 +02:00
Tankred Hase 7f32edc488 Merge branch 'master' into ecc 2013-04-04 18:39:49 +02:00
Tankred Hase 8c7a464fc8 bugfix util 2013-04-04 18:39:22 +02:00
Tankred Hase b72b329abb updated sjcl and tested ecc 2013-04-04 16:39:13 +02:00
Tankred Hase ba055022c9 started nacl unit tests 2013-04-04 14:28:07 +02:00
Tankred Hase ef54dc3aae cleanup strict mode function placement 2013-04-02 15:02:57 +02:00
Tankred Hase 5c0e04cc31 refactored all files to use functional strict scope 2013-04-02 00:12:15 +02:00
Tankred Hase b6f85f9719 added date time to lawnchair keys for easy sorting 2013-03-22 12:46:56 +01:00
Tankred Hase 95cbe554bd initial commit 2013-03-13 16:58:46 +01:00