Commit graph

126 commits

Author SHA1 Message Date
Yarmo Mackenbach
44b76d6ed8
Fix logic error 2021-03-02 15:22:56 +01:00
Yarmo Mackenbach
cee8fa9172
Add Twitter proxy verification 2021-03-02 15:10:46 +01:00
Yarmo Mackenbach
9ae63415cb
Remove dependency 2021-03-02 10:46:52 +01:00
Yarmo Mackenbach
95ac04b838
Run prettier 2021-03-01 18:27:29 +01:00
Yarmo Mackenbach
0e181f524d
Make Twitter verification configurable 2021-03-01 17:56:31 +01:00
Yarmo Mackenbach
333acd5c0d
Add promise.allSettled polyfill 2021-01-26 21:44:17 +01:00
Yarmo Mackenbach
ce92b4c9bd
Update year 2021-01-13 13:20:33 +01:00
Yarmo Mackenbach
e0c268b9ad Merge pull request 'Add owncast service provider' (#10) from add_owncast into main
Reviewed-on: https://codeberg.org/keyoxide/doipjs/pulls/10
2021-01-13 13:19:02 +01:00
Yarmo Mackenbach
1878773c59
Fix typo in keyserver url 2021-01-10 17:56:59 +01:00
Yarmo Mackenbach
df896db473 Fix regex skipping some claims 2021-01-10 12:26:18 +01:00
Yarmo Mackenbach
4f3db39b18 Make network errors not block code execution 2021-01-09 16:04:07 +01:00
Yarmo Mackenbach
6e828ca588 Add parameter to catch blocks 2021-01-09 15:21:30 +01:00
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
41696afd0d Add owncast service provider 2020-12-26 13:52:49 +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