Commit Graph

61 Commits

Author SHA1 Message Date
Tankred Hase
92df122435
Fix integration tests for verification email matching 2019-02-08 10:53:26 +01:00
Tankred Hase
6ec72aef06
Send email message with PGP inline not PGP/MIME
* Use OpenPGP.js directly instead of nodemailer-openpgp plugin
* Use native ES6 string templates instead of nodemailer template engine
2019-02-08 10:53:07 +01:00
Tankred Hase
b738e1bc5c Allow update of an email address’ key with remove/verify flow in between 2017-08-25 14:32:39 +08:00
Tankred Hase
0400b9c9d9 Fix test 2017-08-24 13:26:39 +08:00
Tankred Hase
5fa36e6d52 Remove primaryEmail parameter from REST api. 2017-08-24 12:48:48 +08:00
Tankred Hase
1e2c85621b Remove primaryEmail parameter from public-key service. 2017-08-24 12:48:48 +08:00
Tankred Hase
5b86a77338 Delete redundant test 2017-08-22 15:29:18 +08:00
Tankred Hase
fe55578268 Remove legacy support since all documents now have an uploaded flag. 2017-08-22 15:26:15 +08:00
Tankred Hase
2af8310070 Purge old/unverified keys or keys without an uploaded attribute. 2017-08-22 12:13:15 +08:00
Tankred Hase
35dbc08015 Use winston instead of npmlog 2017-08-18 18:01:34 +08:00
Tankred Hase
7d3a64c84d Stub log output in public-key integration test 2017-08-17 19:28:08 +08:00
Tankred Hase
95ff2d9247 Cleanup app/init/koa-middlewares 2017-08-17 19:17:36 +08:00
Tankred Hase
a52cef2771 Add space after async in async () => 2017-08-17 17:44:26 +08:00
Tankred Hase
49b24a5cb4 Migrate to koa 2
Refactor rest api to async/await
2017-08-17 15:34:47 +08:00
Tankred Hase
1557a5f925 Migrate public-key service to async/await 2017-08-16 17:55:32 +08:00
Tankred Hase
ba671126db Migrate email module 2017-08-16 12:27:03 +08:00
Tankred Hase
874903c64b Migrate mongo DAO 2017-08-16 12:03:32 +08:00
Tankred Hase
d8039ea976 Stub npmlog in integration tests 2017-08-15 16:12:51 +08:00
Tankred Hase
e9251d5203 Fix eslint errors 2017-08-15 16:03:06 +08:00
Tankred Hase
5674a2e8c9 Replace grunt with npm scripts 2017-01-21 11:30:26 +00:00
Tankred Hase
7920eebd4b Remve empty line in test 2016-06-17 20:07:18 +02:00
Tankred Hase
516df397c2 Fix bug that prevented verification of multiple user ids 2016-06-17 19:56:33 +02:00
Tankred Hase
7d93b882a5 Use DELETE method instead of GET for key removal 2016-06-14 16:46:17 +02:00
Tankred Hase
1ab934da31 Check for already verified user id on publicKey.verify() 2016-06-14 13:13:34 +02:00
Tankred Hase
a60d8b86a9 Cleanup REST api and use 'op' query param for verbs 2016-06-14 12:10:53 +02:00
Tankred Hase
b29c8308a8 Remove share link (redundant to /pks/lookup) 2016-06-14 10:55:27 +02:00
Tankred Hase
9be7feab04 Fix bug where keyId was undefined in verifyRemove link 2016-06-10 13:17:28 +02:00
Tankred Hase
cfb4b9bab0 Display sharing link after verification 2016-06-10 12:45:22 +02:00
Tankred Hase
65dbd81333 Refactor and test app.js and routes 2016-06-09 18:08:15 +02:00
Tankred Hase
fe03ae213a Refactor public-key.js to use embedded user id documents 2016-06-09 17:07:51 +02:00
Tankred Hase
7c294540c8 Fix keyId in email links 2016-06-09 11:38:00 +02:00
Tankred Hase
b5fb5331fc Unified mongo and email style 2016-06-08 14:01:30 +02:00
Tankred Hase
bdde8e44d5 Allow lookup only by key ids with at least 16 chars 2016-06-07 16:22:17 +02:00
Tankred Hase
2acbffa2f2 Simplify configuration for different environments 2016-06-07 15:04:34 +02:00
Tankred Hase
fd82d5ff78 Fix email-test.js in travis 2016-06-06 19:54:44 +02:00
Tankred Hase
3a91aacbbf Use Amazon SES on travis 2016-06-06 19:44:12 +02:00
Tankred Hase
ff15e8f895 Fix vindex test 2016-06-02 23:34:09 +02:00
Tankred Hase
d6dfeb14f9 Add support for vindex op 2016-06-02 23:32:23 +02:00
Tankred Hase
41cbd55d9e Fix HKP index, accept fingerprint for lookup 2016-06-02 22:55:32 +02:00
Tankred Hase
20145d3a11 Implement hkp index/mr 2016-06-02 20:43:58 +02:00
Tankred Hase
7179afaf6f Use nodemailer-openpgp plugin to encrypt verification emails 2016-06-02 16:19:54 +02:00
Tankred Hase
e98bd1b431 Add STARTTLS flag to SMTP config 2016-06-02 13:00:22 +02:00
Tankred Hase
1c6696e7a4 Update SMTP setup instructions
Add smtp port and tls options
Use /user/ path for shorthand sharing link
2016-06-02 10:10:52 +02:00
Tankred Hase
7a57d46f80 Fix typos 2016-06-01 16:36:44 +02:00
Tankred Hase
45b7b95a5f Add HTTP integration tests 2016-06-01 15:20:49 +02:00
Tankred Hase
a27e833a8d Write public-key integration tests 2016-06-01 12:28:37 +02:00
Tankred Hase
5d4e162c01 Add test case to user-id-test.js 2016-06-01 09:32:29 +02:00
Tankred Hase
e7735f0346 Fix email-test.js in case no credentials.json found 2016-06-01 09:05:02 +02:00
Tankred Hase
33d3ad737e Implement and test key removal in user-id.js 2016-05-31 17:17:17 +02:00
Tankred Hase
27155278a8 Move email code to src/email/ 2016-05-31 16:50:28 +02:00