Commit graph

113 commits

Author SHA1 Message Date
Yarmo Mackenbach
996ee8fbc7 Use signature data to find key location 2021-01-09 15:17:53 +01:00
Yarmo Mackenbach
6c2aa92187 Run prettier 2021-01-07 16:17:24 +01:00
Yarmo Mackenbach
9db48d627d Add signature verification 2021-01-07 16:15:50 +01:00
Yarmo Mackenbach
b65711d38b Remove trailing slash from HKP server URL 2021-01-03 19:49:13 +01:00
Yarmo Mackenbach
fcc3dfde2f Fetch twitter proofs from nitter 2021-01-02 16:34:01 +01:00
Yarmo Mackenbach
8a5ce08c00 Fix handling of users without userId 2020-12-26 14:08:21 +01:00
Yarmo Mackenbach
32c01756d3 Fix handling users without selfCertifications 2020-12-26 13:56:36 +01:00
Yarmo Mackenbach
347c48ff4e Run prettier 2020-12-20 23:19:07 +01:00
Yarmo Mackenbach
de5d358b31 Add return after resolve and reject 2020-12-20 23:02:59 +01:00
Yarmo Mackenbach
a1ff96a1b9 Return obj with error message instead of undefined 2020-12-20 22:55:08 +01:00
Yarmo Mackenbach
686f0e2a5e Add timeout to promise, return undefined on error 2020-12-20 22:44:37 +01:00
Yarmo Mackenbach
6f6f20d131 Implement fallback proxy policy 2020-12-10 23:23:43 +01:00
Yarmo Mackenbach
2ba601d0eb Update service providers prone to network errors 2020-12-10 23:23:26 +01:00
Yarmo Mackenbach
0efa5350a5 Gracefully handle failed network requests 2020-12-10 23:22:46 +01:00
Yarmo Mackenbach
d8a14abac3 Improve proxy policy handling, new fallback policy 2020-12-10 23:22:10 +01:00
Yarmo Mackenbach
eca111aaa7 Allow promises to reject without blocking execution 2020-12-10 23:21:22 +01:00
Yarmo Mackenbach
35b52aa6d4 Fix missing opts 2020-12-10 02:59:04 +01:00
Yarmo Mackenbach
f6638432f2 Fix browser bundling 2020-12-10 01:56:34 +01:00
Yarmo Mackenbach
e599b32dba Fix handling HKP URI 2020-12-08 02:56:54 +01:00
Yarmo Mackenbach
41b1d0767b Fix support for specifying keyservers 2020-12-08 02:29:10 +01:00
Yarmo Mackenbach
34dc50d031 Run prettier 2020-12-05 23:14:09 +01:00
Yarmo Mackenbach
b9c76b7c0e Properly reject promises 2020-12-05 23:13:44 +01:00
Yarmo Mackenbach
f49e9029e9 Improve error message 2020-12-05 23:10:48 +01:00
Yarmo Mackenbach
580510d0d0 Make claims.verify handle notations from all users 2020-11-20 23:20:26 +01:00
Yarmo Mackenbach
33f4b5c882 Make keys.process get notations from all users 2020-11-20 22:53:56 +01:00
Yarmo Mackenbach
b2503bfcab Improve regex 2020-11-20 19:40:20 +01:00
Yarmo Mackenbach
544f339dcf Fix linking to bundled openpgp 2020-11-20 09:13:08 +01:00
Yarmo Mackenbach
eb4c03004e Return undefined instead of null in case of an error 2020-11-18 20:32:36 +01:00
Yarmo Mackenbach
51bf130397 Require bundled version of openpgp 2020-11-17 02:43:59 +01:00
Yarmo Mackenbach
62df82b5c8 Allow verification of keys and claim arrays 2020-11-17 02:18:08 +01:00
Yarmo Mackenbach
f056c666cb Fix bad value return 2020-11-17 02:17:40 +01:00
Yarmo Mackenbach
de1b35a894 Add keys module 2020-11-17 02:13:56 +01:00
Yarmo Mackenbach
8b1b741124 Add User-Agent to HTTP requests 2020-11-17 02:13:06 +01:00
Yarmo Mackenbach
4f19bd9a38 Clean up directRequestHandler 2020-11-17 02:03:34 +01:00
Yarmo Mackenbach
0f58accbe2 Run prettier 2020-11-17 01:20:00 +01:00
Yarmo Mackenbach
094aca1283 Restructure code
Merge claimVerification and proofs into claims
2020-11-17 01:18:12 +01:00
Yarmo Mackenbach
c7ac3a9d34 Put proofs logic in separate file 2020-11-17 00:50:26 +01:00
Yarmo Mackenbach
2ac99ba709 Fix missing license headers 2020-11-12 18:54:40 +01:00
Yarmo Mackenbach
8e73360d46 Support xmpp via doip-proxy 2020-11-08 12:22:36 +01:00
Yarmo Mackenbach
4c6715ddb4 Run prettier on code 2020-11-08 02:07:02 +01:00
Yarmo Mackenbach
aaf9079de5 Update service provider data structure 2020-11-06 02:27:56 +01:00
Yarmo Mackenbach
d2f03d9bde Removed unused variable 2020-11-06 01:41:00 +01:00
Yarmo Mackenbach
8c14d2533c Improve handling of opts 2020-11-06 01:16:15 +01:00
Yarmo Mackenbach
86aa366ccc Remove dotenv and better handle options 2020-11-06 00:43:32 +01:00
Yarmo Mackenbach
bea7679255 Add custom request handler for DNS 2020-11-05 12:57:37 +01:00
Yarmo Mackenbach
98d7e680ef Fix body request 2020-11-05 12:57:22 +01:00
Yarmo Mackenbach
05d6986349 Handle erroneous input better 2020-11-05 12:57:13 +01:00
Yarmo Mackenbach
7be3c27397 Variable name change 2020-11-05 11:33:03 +01:00
Yarmo Mackenbach
82852217fb Add liberapay service provider 2020-11-04 22:38:03 +01:00
Yarmo Mackenbach
a9fc0e4b44 Fix dots in regex 2020-11-04 22:25:45 +01:00