Commit Graph

110 Commits

Author SHA1 Message Date
Martin Hauck
1651571d36
Rebase onto dev/pgp-inline, fix unit tests 2019-02-08 17:04:28 +01:00
webwitcher
a2b941b0ae
Update dependencies, fix package conflicts, add packages (ejs, email-templates) 2019-02-08 11:02:03 +01:00
Tankred Hase
0baf3fc857
Double quote escaping not required for ES6 templates 2019-02-08 10:53:26 +01:00
Tankred Hase
0852822055
Fix typo in email docs 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
b1848bf8e6 Use co-body directly instead of koa-body (which uses co-body under the hood) 2017-08-27 16:32:25 +08:00
Tankred Hase
b93db84c6a Optimize key removal during verification 2017-08-25 16:20:33 +08:00
Tankred Hase
77fc0fd195 Cleanup purge old keys 2017-08-25 16:11:35 +08: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
5fa36e6d52 Remove primaryEmail parameter from REST api. 2017-08-24 12:48:48 +08:00
Tankred Hase
4c28da4eab Add uploaded attribute to documentation. 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
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
afacbf413f Add uploaded date attribute to PGP key document in MongoDB 2017-08-22 11:26:12 +08:00
Tankred Hase
ba6f75984e Integrate winston-papertrail plugin 2017-08-18 18:04:43 +08:00
Tankred Hase
35dbc08015 Use winston instead of npmlog 2017-08-18 18:01:34 +08:00
Tankred Hase
e3a2a1ff20 Rename demo.html -> ui.html 2017-08-17 19:53:22 +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
4081463dfa Migrate HKP api 2017-08-17 15:37:59 +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
20593a0adc Revert static/demo.js since it is not transpiled 2017-08-15 16:32:50 +08:00
Tankred Hase
21118c0b1d Fix string in hkp 2017-08-15 16:27:12 +08:00
Tankred Hase
e9251d5203 Fix eslint errors 2017-08-15 16:03:06 +08:00
Tankred Hase
a47a0162a6 Use ES6 destructuring (not available in node v4) 2017-01-21 12:03:06 +00:00
Tankred Hase
e8c3820c49 Revert "Set Cache-Control for static resources"
This reverts commit 7510e75688.
2016-06-29 11:29:30 +02:00
Tankred Hase
7350b07540 Add imprint and privacy links to page footer 2016-06-29 11:21:34 +02:00
Tankred Hase
3ffe4fa666 Update homepage text 2016-06-22 14:37:39 +02:00
Tankred Hase
7510e75688 Set Cache-Control for static resources 2016-06-22 14:37:24 +02:00
Tankred Hase
92e5db544a Cleanup src/app.js 2016-06-21 08:32:19 +02:00
Tankred Hase
516df397c2 Fix bug that prevented verification of multiple user ids 2016-06-17 19:56:33 +02:00
Tankred Hase
615da99b77 Delete libs from repo 2016-06-14 20:27:29 +02:00
Tankred Hase
f33f45dde9 Load demo page libs via CDN with subresource integrity 2016-06-14 20:27:29 +02:00
Tankred Hase
2bddbd6a93 Update demo to reflect key removal api change 2016-06-14 16:47:54 +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
e09454242d Purge key by keyID before persisting new key 2016-06-14 10:42:53 +02:00
Tankred Hase
d4c1e7ba06 Fix links 2016-06-13 12:52:00 +02:00
Tankred Hase
8e89bc6959 Cleanup pgp.parseUserIds() 2016-06-12 22:17:02 +02:00
Tankred Hase
3a551d2cdc Enable strict CSP and mitigate clickjacking 2016-06-11 14:27:46 +02:00
Tankred Hase
0bfeebb084 Minor cleanup in README and website layout 2016-06-11 10:14:53 +02:00
Tankred Hase
5087ad1f3a Implement static bootstrap homepage 2016-06-11 01:29:33 +02:00
Tankred Hase
ab8d0e7496 Fix search input 2016-06-10 21:55:21 +02:00
Tankred Hase
33283da17c Minor tweaks in UI 2016-06-10 21:46:32 +02:00