Commit graph

26 commits

Author SHA1 Message Date
Django Doucet
f396c6da4e Optimize verification code and returns WP_Errors 2023-04-21 15:25:39 -06:00
Django Doucet
7dbce74a96 ensure signature block has algorithm 2023-04-21 09:36:17 -06:00
Django Doucet
1631f1c7dc fix rest api endpoint 2023-04-21 09:18:24 -06:00
Matthias Pfefferle
5faddba511 this function should not work without $request 2023-04-21 08:51:25 +02:00
Django Doucet
590c990e21 phpcs 2023-04-14 23:59:04 -06:00
Django Doucet
30d78417d8 Fixes key retrieval 2023-04-14 23:53:43 -06:00
Django Doucet
e1722cd4d3 Simplify signature_algorithm 2023-04-05 13:25:39 -06:00
Django Doucet
502bf8b5a6 Get actor from key with non-standard uri 2023-04-04 19:58:08 -06:00
Django Doucet
d6169f4bc3 Add content-length header if present in sig headers 2023-04-02 20:38:10 -06:00
Django Doucet
2293c0b3d7 use verify_http_signature in validate_callback
rename verify_signature
2023-04-02 16:38:39 -06:00
Django Doucet
90b45438b2 cleanup 2023-04-02 00:30:17 -06:00
Django Doucet
504bbb9999 code style phpcs 2023-04-01 23:59:49 -06:00
Django Doucet
0c7cec3eba Fix signature parse verification 2023-04-01 10:17:56 -06:00
Django Doucet
a6b057b69d Merge branch 'master' into signature_verification 2023-03-11 16:10:29 -07:00
Alex Kirk
eff60ed5dd Fix the signature for HTTP GET requests 2022-11-09 07:25:10 -07:00
Django Doucet
63993b20b9 fix const 2022-03-20 21:12:53 -06:00
Django Doucet
16ae895312 fixes 2022-03-20 20:57:01 -06:00
Django Doucet
1f6e1cf37c add openss_verify method and openssl_error_string 2022-03-19 20:19:59 -06:00
Django Doucet
99630a58bb fixes 2022-02-28 19:32:26 -07:00
Django Doucet
86c796090d Signature Verification with phpseclib3 2022-02-28 16:11:04 -07:00
c0033d8819 fix WP coding standard issue 2020-12-17 17:39:35 +01:00
Django Doucet
0271b57844 add digest header 2020-12-09 22:23:05 -05:00
9945aa7cf8 escape global constants and functions
* Add leading \ before function invocation to speed up resolving.
* Add leading \ before constant invocation of internal constant to speed up resolving. Constant name match is case-sensitive, except for null, false and true.
2020-05-12 19:42:09 +02:00
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
a6d97f8ba7 (php)doc 2019-02-24 13:01:28 +01:00
40b2651b7e big refactoring to use namespaces for a better code structure 2019-02-24 12:07:41 +01:00
Renamed from includes/class-activitypub-signature.php (Browse further)