Commit graph

376 commits

Author SHA1 Message Date
Yarmo Mackenbach
1e37969dc6
Make data structure uniform 2022-11-16 22:25:32 +01:00
Yarmo Mackenbach
643dabff9f
Support fediverse verification through posts 2022-11-16 21:27:24 +01:00
Yarmo Mackenbach
4ff11947e4
Remove obsolete service providers 2022-11-16 20:26:46 +01:00
Yarmo Mackenbach
13e20fe6fb
Fix implementation of postprocess function 2022-11-14 23:49:40 +01:00
Yarmo Mackenbach
ca6aec04dd
Add fetcher to exports 2022-11-14 19:16:04 +01:00
Yarmo Mackenbach
fcc62a6025
Fix proxy verification options 2022-10-27 21:47:41 +02:00
Yarmo Mackenbach
2c722d31a9
Fix verification logic 2022-10-25 09:22:25 +02:00
Yarmo Mackenbach
f64f9cff58
Fix ambiguous parameter 2022-10-25 09:22:06 +02:00
Yarmo Mackenbach
a46311f1f8
Fix header 2022-10-24 21:43:48 +02:00
Yarmo Mackenbach
516896c631
Fix header 2022-10-24 21:33:12 +02:00
Yarmo Mackenbach
38242bd1e6 Merge branch 'main' into support-activitypub 2022-10-14 13:06:00 +02:00
Yarmo Mackenbach
37fe998fd8
Do not react to lack of setup 2022-10-14 13:04:42 +02:00
Yarmo Mackenbach
3c1302c150
Fix minor bug, allow not setting up 2022-10-14 13:02:49 +02:00
Yarmo Mackenbach
802f8011dc
Add superuser URL detection 2022-10-07 10:20:02 +02:00
Yarmo Mackenbach
e0502c78bb
Fix rare null error 2022-10-07 10:18:52 +02:00
Yarmo Mackenbach
2a29832110
Remove webfinger from activitypub 2022-10-03 22:32:46 +02:00
Yarmo Mackenbach
1710195211
Update default options 2022-10-01 09:57:58 +02:00
Yarmo Mackenbach
007282ef22
Add AP proxy endpoint 2022-10-01 09:53:36 +02:00
Yarmo Mackenbach
e28315e87f
Add activitypub service provider 2022-09-30 23:39:10 +02:00
Yarmo Mackenbach
8a1f8ad586
Allows multiple claim methods 2022-09-30 23:37:55 +02:00
Yarmo Mackenbach
26d9b3108f
Reject costly hashed proofs 2022-09-21 15:31:06 +02:00
Yarmo Mackenbach
ea95f3014d
Fix hash regex 2022-09-21 10:03:18 +02:00
Yarmo Mackenbach
4784c9b189
Implement hashed proof logic 2022-09-20 21:38:11 +02:00
Yarmo Mackenbach
9dc2b9fae8
Export verifications 2022-09-20 21:37:39 +02:00
Yarmo Mackenbach
de1ce5c46b
Use fetch instead 2022-09-10 16:21:14 +02:00
Yarmo Mackenbach
b8f5ec7c1e
Fix missing input validation 2022-09-10 16:19:53 +02:00
Yarmo Mackenbach
b973161bfb
Fix dependency 2022-09-10 12:23:17 +02:00
Yarmo Mackenbach
4e0a86343a
Support HTTP proofs 2022-09-10 12:16:50 +02:00
Yarmo Mackenbach
9f0a61a3f0
Add util to get URLs from string 2022-09-10 12:14:05 +02:00
Yarmo Mackenbach
a389a148e8
Fix XMPP fetcher logic 2022-09-08 10:34:05 +02:00
Yarmo Mackenbach
bdcff2ec89
Remove message proof format 2022-08-16 21:46:54 +02:00
Yarmo Mackenbach
24b06d5d4c Merge pull request 'Add Stack Exchange service provider' (#23) from cherryblossom/doipjs:stack-exchange into main
Reviewed-on: https://codeberg.org/keyoxide/doipjs/pulls/23
2022-08-16 21:34:11 +02:00
Goldstein
49050d55d2
add more Telegram URIs 2022-08-12 17:19:24 +03:00
Goldstein
5ecdcd0061
update one more copyright 2022-08-12 13:03:48 +03:00
Goldstein
9d3b8f8508
change proof format 2022-08-12 13:02:19 +03:00
Goldstein
cbeefbc909
clickable links 2022-08-11 20:17:08 +03:00
Goldstein
8466ef934e
Implement Telegram support 2022-08-11 12:58:36 +03:00
Yarmo Mackenbach
d61d0873bf
Support another vCard syntax 2022-08-04 10:32:15 +02:00
cherryblossom
ccad9d8894
Add Stack Exchange service provider 2022-05-22 17:37:40 +10:00
Yarmo Mackenbach
058bab5b31 Fix API to use HTTP fetcher for gitlab 2022-04-17 11:53:28 +02:00
Yarmo Mackenbach
f54f9b37e3 Remove obsolete gitlab fetcher 2022-04-17 11:52:11 +02:00
Yarmo Mackenbach
43cf91add7 Make gitlab use standard HTTP fetcher 2022-04-17 11:51:25 +02:00
Yarmo Mackenbach
65e8210ffa
Add doip.keys.fetch 2022-03-27 23:04:16 +02:00
Yarmo Mackenbach
fcaf5215b4
Fix signature profile verification 2022-03-25 23:16:46 +01:00
Yarmo Mackenbach
c2a59d04c7
Fix reference to non-existent object key 2022-03-25 22:20:08 +01:00
Yarmo Mackenbach
336f4dd3c9
Fix issue with openpgp 5 migration 2022-02-26 00:07:37 +01:00
Yarmo Mackenbach
6f4503572f
Rename fediverse to pleroma 2022-02-15 11:27:10 +01:00
Yarmo Mackenbach
56daec3755 Update code to openpgpjs 5 syntax 2022-02-15 11:18:23 +01:00
Yarmo Mackenbach
08e64425a7
Migrate bent to axios 2022-02-08 19:10:23 +01:00
Yarmo Mackenbach
e9ab9b1d0e
Add support for ariadne.id proofs 2021-11-06 18:38:22 +01:00
Yarmo Mackenbach
83f57557b9
Add support for lichess.org 2021-07-23 15:28:12 +02:00
Yarmo Mackenbach
3676023df1
Fix JavaScript Standard Style issues 2021-07-09 23:44:52 +02:00
Yarmo Mackenbach
5b7bdcad76 Add license 2021-07-09 15:30:10 +02:00
Yarmo Mackenbach
12df5b3fc3
Handle claims without matches 2021-06-03 15:03:54 +02:00
Yarmo Mackenbach
0e6c0574b9
Fix typo 2021-06-03 15:03:18 +02:00
Yarmo Mackenbach
4c9b96af1a
Expose key revocation status 2021-06-03 12:48:05 +02:00
Yarmo Mackenbach
fa73b062fa
Fix previous commit 2021-06-03 11:59:35 +02:00
Yarmo Mackenbach
cd7f3dfd8d
Fix handling of keys with non-proof notations 2021-06-03 11:55:08 +02:00
Yarmo Mackenbach
3d99d2373d
Fix IRC nickname regex 2021-06-03 09:58:39 +02:00
Yarmo Mackenbach
4a73072fa3
Fix typo 2021-05-22 10:17:46 +02:00
Yarmo Mackenbach
44fd519658
Fix IRC NickServ command syntax 2021-05-21 15:27:35 +02:00
Yarmo Mackenbach
892eccee7e
Fix keybase key fetching 2021-05-03 10:16:05 +02:00
Yarmo Mackenbach
e723378c7f
Reference to wrong variable 2021-04-30 16:20:10 +02:00
Yarmo Mackenbach
304e25fed0
Fix interpretation of proxy policy 2021-04-30 15:37:13 +02:00
Yarmo Mackenbach
41d3b16029
Ensure an output of the verification process 2021-04-30 15:35:41 +02:00
Yarmo Mackenbach
e718c02628
Improve property name 2021-04-30 15:32:34 +02:00
Yarmo Mackenbach
2676d4445f
Refactor bad variable names 2021-04-30 12:28:01 +02:00
Yarmo Mackenbach
fa5af3ab2d
Fix instantiating a new claim with object data 2021-04-30 12:27:13 +02:00
Yarmo Mackenbach
e0dc5f4b21
Make jsenv detection conditional without return 2021-04-26 12:28:43 +02:00
Yarmo Mackenbach
da59262c45
Fix protocol for proxy URLs 2021-04-26 12:11:45 +02:00
Yarmo Mackenbach
e13bd4e9f5
Make certain fetchers environment-aware 2021-04-26 12:11:14 +02:00
Yarmo Mackenbach
ffbae32a55
Fix bad interpretation of proxy policy 2021-04-26 11:38:35 +02:00
Yarmo Mackenbach
f781458a2f
Run prettier 2021-04-22 16:00:37 +02:00
Yarmo Mackenbach
c37b4d9cb2
Fix old function calls 2021-04-22 15:38:42 +02:00
Yarmo Mackenbach
1a463594dc
Add jsdoc documentation 2021-04-22 15:14:21 +02:00
Yarmo Mackenbach
205c978980
Remove obsolete require 2021-04-20 11:25:03 +02:00
Yarmo Mackenbach
6d5517694d
Fix typo 2021-04-20 11:01:26 +02:00
Yarmo Mackenbach
6e24fd5ffd
Fix jsdoc type tags 2021-04-20 10:59:23 +02:00
Yarmo Mackenbach
3d55950c4d
Fix typo 2021-04-19 13:43:24 +02:00
Yarmo Mackenbach
5f5f663e4b
Run prettier 2021-04-19 13:38:00 +02:00
Yarmo Mackenbach
ae606ce710
Export claimDefinitions 2021-04-19 11:55:29 +02:00
Yarmo Mackenbach
6e6ca475bc
Add ClaimState enum 2021-04-19 11:48:13 +02:00
Yarmo Mackenbach
802ebb2f4c
Run prettier 2021-04-19 11:44:30 +02:00
Yarmo Mackenbach
66cc419ad3
Make compatible with browserify 2021-04-19 11:41:40 +02:00
Yarmo Mackenbach
373d6eedf6
Remove obsolete method 2021-04-19 11:07:18 +02:00
Yarmo Mackenbach
6c331e5988
Fix typo 2021-04-19 11:07:06 +02:00
Yarmo Mackenbach
7e4a3e9f53
Make process functions uniform 2021-04-19 11:06:29 +02:00
Yarmo Mackenbach
4aaf25b705
Add verification module 2021-04-16 13:13:06 +02:00
Yarmo Mackenbach
733d3cc345
Add Claim object 2021-04-16 13:11:27 +02:00
Yarmo Mackenbach
07dc222fdd
Remove serviceProviders module 2021-04-16 13:10:56 +02:00
Yarmo Mackenbach
b80e4c50bb
Remove obsolete imports 2021-04-16 13:10:25 +02:00
Yarmo Mackenbach
afd643f388
Fix missing module 2021-04-16 13:09:43 +02:00
Yarmo Mackenbach
67b7ae685c
Change order of opts 2021-04-16 13:03:01 +02:00
Yarmo Mackenbach
a3c11d6c80
Add defaults module 2021-04-16 12:59:44 +02:00
Yarmo Mackenbach
f3e0744c60
Fix persistence issue 2021-04-16 11:43:29 +02:00
Yarmo Mackenbach
f5964ed305
Adapt proxy URL generator to v2 API 2021-04-16 11:36:59 +02:00
Yarmo Mackenbach
5951315ebf
Fix exports 2021-04-16 10:57:11 +02:00
Yarmo Mackenbach
2afb30d3e4
Deprecate claims.js, introduce proofs.js 2021-04-16 10:56:33 +02:00
Yarmo Mackenbach
e99a0307bf
Change ProofFormat to strings 2021-04-16 10:54:28 +02:00
Yarmo Mackenbach
7cf509b6f5
Fixed usage of opts 2021-04-16 10:51:48 +02:00
Yarmo Mackenbach
b78766341f
Fixed proof format 2021-04-16 10:48:57 +02:00
Yarmo Mackenbach
954899162e
Add gitlab proxy route 2021-04-15 23:22:17 +02:00
Yarmo Mackenbach
2299d339a3
Fix variable name 2021-04-15 23:21:12 +02:00
Yarmo Mackenbach
59a779e6ff
Adapt to new claimDefinition format 2021-04-15 22:52:52 +02:00
Yarmo Mackenbach
2bf92ff9df
Improve handling of request timeout 2021-04-15 22:30:11 +02:00
Yarmo Mackenbach
be258abf93
Fix several mistakes 2021-04-15 21:50:49 +02:00
Yarmo Mackenbach
91a3ed1e96
Improve fetcher input validation 2021-04-15 19:07:56 +02:00
Yarmo Mackenbach
8e1ac82fde
Fix path to claim 2021-04-15 18:53:08 +02:00
Yarmo Mackenbach
2e6baef01d
Improve query validation 2021-04-15 15:09:57 +02:00
Yarmo Mackenbach
c333229e5d
Handle invalid endpoints 2021-04-15 14:49:25 +02:00
Yarmo Mackenbach
c13c65aa5e
Make v2 proxy API compatible with new fetchers 2021-04-15 14:47:45 +02:00
Yarmo Mackenbach
ddebc2d58b
Fix missing async 2021-04-15 12:55:27 +02:00
Yarmo Mackenbach
6f6506bf23
Add extra format field 2021-04-15 12:29:18 +02:00
Yarmo Mackenbach
0708a900ac
Add enums 2021-04-15 10:21:56 +02:00
Yarmo Mackenbach
a47c88ca36
Replace strings with enums 2021-04-15 10:21:18 +02:00
Yarmo Mackenbach
09677602cc
Remove obsolete file 2021-04-15 10:19:52 +02:00
Yarmo Mackenbach
be0f660e85
Change serviceproviders to claimDefinitions 2021-04-15 10:19:24 +02:00
Yarmo Mackenbach
1bbf6511e4
Add ProxyPolicy enum 2021-04-12 17:01:25 +02:00
Yarmo Mackenbach
bb5f3ccea2
Update fetchers, add gitlab fetcher 2021-04-12 16:14:18 +02:00
Yarmo Mackenbach
228f924ece
Fix data sent to fetcher 2021-04-12 16:13:08 +02:00
Yarmo Mackenbach
3702764aa6
Update enums 2021-04-12 15:59:21 +02:00
Yarmo Mackenbach
f4308fb79d
Update definitions 2021-04-12 15:59:03 +02:00
Yarmo Mackenbach
a9e69de547
Register v2 proxy API 2021-04-12 14:37:31 +02:00
Yarmo Mackenbach
9ff781a234
Restore v1 of proxy API, add new v2 API 2021-04-12 14:36:44 +02:00
Yarmo Mackenbach
c5ad812101
Add more enums 2021-04-12 14:31:48 +02:00
Yarmo Mackenbach
10a32f98a5
Update serviceProviders with enums 2021-04-12 14:31:34 +02:00
Yarmo Mackenbach
8dc0372ea7
Remove request handling 2021-04-12 12:16:08 +02:00
Yarmo Mackenbach
81b56341cc
Add enums module 2021-04-12 12:15:02 +02:00
Yarmo Mackenbach
e2a6aff9d8
Add HTTP fetcher 2021-04-12 12:14:41 +02:00
Yarmo Mackenbach
becc579790
Remove obsolete require 2021-04-12 12:08:50 +02:00
Yarmo Mackenbach
8e990458a6
Improve API response 2021-04-09 14:43:08 +02:00
Yarmo Mackenbach
d2b9854a2f
Remove obsolete code 2021-04-09 14:42:03 +02:00
Yarmo Mackenbach
be547b0e5d
Increase IRC timeout delay 2021-04-09 14:25:05 +02:00
Yarmo Mackenbach
28582999eb
Switch to fetcher 2021-03-25 16:43:21 +01:00
Yarmo Mackenbach
0bc97bd902
Improve promise handling 2021-03-25 16:28:56 +01:00
Yarmo Mackenbach
ff93ceee0d
Fix IRC fetch logic 2021-03-25 16:27:57 +01:00
Yarmo Mackenbach
e6e25a65e7
Add timeout to fetcher functions 2021-03-25 15:37:30 +01:00
Yarmo Mackenbach
5ea67c1e6f
Improve consistency 2021-03-25 14:33:58 +01:00
Yarmo Mackenbach
358b4bbf8f
Add fetcher functions 2021-03-25 14:31:29 +01:00
Yarmo Mackenbach
1db8683886
Fix bug causing false positive verification 2021-03-25 13:21:49 +01:00
Yarmo Mackenbach
b5f6685da6
Integrate proxy server 2021-03-25 11:32:03 +01:00
Yarmo Mackenbach
622d56b47d
Make matrix URIs compliant with MSC2312 2021-03-22 17:38:56 +01:00
Yarmo Mackenbach
fc66f545ef
Add matrix.to links 2021-03-06 23:32:10 +01:00
Yarmo Mackenbach
7641d1639a
Run prettier 2021-03-06 00:04:56 +01:00
Yarmo Mackenbach
f05585bf60
Fix url encoding 2021-03-06 00:02:58 +01:00
Yarmo Mackenbach
f0b84a831a
Add matrix service provider 2021-03-05 17:07:30 +01:00
Yarmo Mackenbach
6b40902a8f
Handle requests without URI 2021-03-05 17:06:27 +01:00
Yarmo Mackenbach
bd7bee7aff
Increase verification timeout 2021-03-05 15:41:53 +01:00
Yarmo Mackenbach
a4fac3b83b
Add IRC service provider 2021-03-05 15:39:17 +01:00
Yarmo Mackenbach
441655ac1e
Generate proxy URLs with complex path 2021-03-05 15:11:13 +01:00