Commit Graph

104 Commits

Author SHA1 Message Date
Tankred Hase
2d00917ff2 Add missing max-age param to HPKP 2016-06-10 17:58:19 +02:00
Tankred Hase
7e9a17266b Fix typo 2016-06-10 17:53:50 +02:00
Tankred Hase
4b183c8976 Add HTTPS public key pinning 2016-06-10 17:48:41 +02:00
Tankred Hase
68fba28dd9 Cleanup pgp key parsing 2016-06-10 17:47:05 +02:00
Tankred Hase
d5aba3257c Verifiy user id signatures 2016-06-10 14:37:39 +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
d5bd65b4bc Cleanup url handling 2016-06-10 12:06:08 +02:00
Tankred Hase
405bb84ca6 Use random hex string instead of uuid for nonce 2016-06-10 10:44:26 +02:00
Tankred Hase
3699e0d14a Fix homepage link behind AWS loadbalancer 2016-06-09 18:30:30 +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
7bc4f8a9d9 Cleanup util 2016-06-09 12:58:11 +02:00
Tankred Hase
ad2f36f879 Use ?keyID instead of ?id in urls 2016-06-09 12:16:36 +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
56162a01d9 Use HSTS and HTTPS forwarding 2016-06-07 20:43:09 +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
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
e60c6ed8c5 Add html templates for verification mails 2016-06-02 17:30:19 +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
1a3e7f3942 Catch invalid pgp key 2016-06-01 16:17:36 +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
0f4f6413d6 Implement public-key requestRemove and verifyRemove 2016-06-01 08:59:25 +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
Tankred Hase
c7ce99a6cb Simplify email.js 2016-05-31 16:48:18 +02:00
Tankred Hase
c8db7388c3 Write unit tests for util.js 2016-05-31 13:52:32 +02:00
Tankred Hase
23ee139857 Implement and test user-id.flagForRemove 2016-05-31 12:16:46 +02:00
Tankred Hase
2abeb8ece2 Write used-id integration tests 2016-05-31 11:02:27 +02:00
Tankred Hase
f930ee38e9 Implement user-id.verify 2016-05-30 16:06:52 +02:00
Tankred Hase
279992379f Implement email.sendVerifyRemove
Write email.js unit tests
2016-05-30 15:36:32 +02:00
Tankred Hase
d56439cf8c Cleanup email module 2016-05-30 10:48:17 +02:00
Tankred Hase
e866cebc28 Rollback user ids if key persisting public key fails 2016-05-29 19:19:32 +02:00
Tankred Hase
e2695aecc7 Key upload and sending verification email works 2016-05-29 18:59:14 +02:00
Tankred Hase
3a6842c296 Use nodemailer template engine 2016-05-29 17:51:10 +02:00
Tankred Hase
d3cce89b06 Implement Email DAO for sending verification mails 2016-05-29 16:47:45 +02:00
Tankred Hase
c805371f0e Fix logging and error handling 2016-05-28 23:31:25 +02:00
Tankred Hase
d4bc256548 Fix logging tags 2016-05-28 15:37:29 +02:00
Tankred Hase
0d2eba47ec Fix paths 2016-05-28 15:17:46 +02:00
Tankred Hase
2f789eeb42 Rename files 2016-05-28 15:11:28 +02:00
Tankred Hase
dcd2d0df0c Cleanup 2016-05-28 10:49:26 +02:00
Tankred Hase
629a8ee9dd Remove section comments 2016-05-27 20:06:04 +02:00
Tankred Hase
2d07c34060 First working prototype of the keyserver 2016-05-27 19:57:48 +02:00
Tankred Hase
82fcb819e9 Design class architecture and HTTP api 2016-05-26 13:45:32 +02:00
Tankred Hase
e23b65ac0f Fix key id regex 2016-05-26 10:42:35 +02:00
Tankred Hase
992fd0a4e0 [WIP] first working prototype of the HKP server 2016-05-26 09:58:50 +02:00
Tankred Hase
ce2b24d83d Implement MongoDB client 2016-05-26 08:35:46 +02:00