Commit Graph

51 Commits

Author SHA1 Message Date
Tankred Hase 6938750803 Upgrade to OpenPGP.js v0.10.0 2015-02-11 14:37:14 +01:00
Tankred Hase 5e246ee921 Fix invalid user id in PGP keys when realname is left empty 2015-02-10 18:37:41 +01:00
Tankred Hase 6ad3b7402e Use realname in PGP keygen 2015-01-20 13:15:03 +01:00
Tankred Hase bc41486693 Use native promises in crypto services 2014-12-18 15:25:19 +01:00
Tankred Hase 7aa0d2cf4a Test lawnchair dao
Test pgp promise api
2014-12-18 15:25:17 +01:00
Tankred Hase 01e0529854 Refactor pgp service to use promises 2014-12-18 15:25:17 +01:00
Tankred Hase 38d908995a Refactor BOs and utils to services 2014-11-18 20:19:29 +01:00
Tankred Hase b556334407 Integrate OpenPGP.js 0.8.1 with promises support 2014-10-20 18:44:39 +02:00
Tankred Hase fc613ce501 Correct worker paths 2014-10-15 19:16:18 +02:00
Tankred Hase 7a20049bbc Use module.exports instead of exports 2014-10-15 19:16:18 +02:00
Tankred Hase c36cd069e0 WIP: begin browserify build 2014-10-15 19:16:18 +02:00
Tankred Hase 6403b041e8 Signatures array must never be empty ... if so crash during development 2014-07-07 12:24:06 +02:00
Felix Hammerl 30efac0792 [WO-259] introduce proper signature checking 2014-07-04 17:58:25 +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 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 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 b7a4c13766 Parse multiple user IDs for imported PGP keys
Use all pgp (sub) keys when en/decrypting a pgp message

Improve input validation for key import

Mark manually imported keys so that key refresh does not revoke them
2014-06-18 16:29:22 +02:00
Tankred Hase aee532da44 [WO-296] implement change passphrase ui 2014-04-11 18:39:13 +02:00
Tankred Hase f3b3a4b496 Add PGP api for changing a user's passphrase 2014-03-31 21:42:37 +02:00
Tankred Hase 4b5d367fdb Login to IMAP (appcontroller.onConnect) after show mail-list 2014-03-31 21:42:10 +02:00
Tankred Hase 1c877634d1 [WO-297] setting a passphrase is optional 2014-03-31 16:57:55 +02:00
Tankred Hase 05caa5826a [WO-298] integrate openpgp.js v0.5.0 2014-03-31 16:53:19 +02:00
Tankred Hase a8c9984524 [WO-185] implement contacts ui to import external public keys 2014-03-10 17:46:00 +01:00
Tankred Hase 1b94e7b5ce [WO-184] implement support for importing an existing pgp key 2014-03-07 12:13:18 +01:00
Tankred Hase da7d42cb33 catch error in pgp decryption 2014-02-28 17:51:08 +01:00
Tankred Hase 8f1cc0cdda prefer sha256 for openpgp.js 2014-02-17 16:05:58 +01:00
Tankred Hase 1da5c68fd1 [WO-237] integrate web worker support for pgp 2014-02-14 16:18:21 +01:00
Tankred Hase 6676e7bc01 upgrade to openpgp.js v0.3.0 2014-01-24 13:26:29 +01:00
Tankred Hase 544fae4aad fix signature bug in openpgp.js and integrate into pgp module 2013-12-05 23:23:32 +01:00
Tankred Hase 887e432e5b fix test 2013-12-05 18:33:02 +01:00
Tankred Hase 3700e211ec fix signature verfication by formatting newlines before encryption 2013-12-05 18:30:10 +01:00
Tankred Hase 76b2b90e0e check PGP signature and throw an error if verification fails 2013-12-05 13:06:32 +01:00
Tankred Hase 6f1c59f1fe implement popover
remove lightbox on wrong passphrase input

show key fingerprint in popup
2013-12-03 14:56:32 +01:00
Tankred Hase d892b2c67f [WO-121] review strings 2013-11-18 17:44:59 +01:00
Tankred Hase 3a57172358 [WO-74, WO-80] handle error when decrypting PGP messages 2013-11-14 13:57:52 +01:00
Felix Hammerl e44e32869e [WO-56] display account information 2013-11-06 16:34:28 +01:00
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 f2a14ad65b refactoring of crypto worker code and lots of cleanup 2013-06-05 01:47:28 +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