Commit Graph

27 Commits

Author SHA1 Message Date
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
default
1aac24ca75 More keyId/signature tweaks. 2023-01-11 09:38:19 +01:00
default
23eb05ee99 Use the already loaded actor in check_signature(). 2023-01-10 18:21:00 +01:00
default
f5ac531c92 Log check_signature() errors. 2023-01-09 08:11:29 +01:00
default
54d1013ea9 More work in check_signature() error archiving. 2023-01-08 10:19:25 +01:00
default
7bcac99c88 Don't use goto in check_signature().
It seems to interfere with cleanup functions in llvm.
2023-01-08 10:11:33 +01:00
default
1f949b48cf Move the ~/error directory to where it belongs. 2023-01-08 10:04:01 +01:00
default
448c4ad7a2 The headers of signature errors are archived in the ~/error directory (if exists). 2023-01-08 10:02:31 +01:00
default
384cb7418a Minor refactor to check_signature(). 2023-01-08 09:55:13 +01:00
default
315a43a826 Added support for HTTP signature pseudo-headers (created) and (expires).
They are used in Lemmy.
2023-01-08 00:26:48 +01:00
default
849913dc59 Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
default
2688230a19 Fixed check_signature(). 2022-09-30 04:33:42 +02:00
default
73a02fca6f More work in check_signature() (non-working). 2022-09-29 15:08:56 +02:00
default
392c014c26 New function check_signature() (incomplete). 2022-09-29 14:44:24 +02:00
default
f1dbd8e700 New variable USER_AGENT. 2022-09-27 18:01:51 +02:00
default
acb4bcd80f Use xs_evp_sign() for signing. 2022-09-26 14:45:31 +02:00
default
8f738e1417 Serve the actor as the correct content-type. 2022-09-26 12:29:26 +02:00
default
bf1ee12da2 More sign work (I'm tired). 2022-09-25 21:45:58 +02:00
default
e132ce5076 New function msg_actor(). 2022-09-25 21:02:47 +02:00
default
fcf9329449 Minor tweak in http signatures. 2022-09-25 18:54:05 +02:00
default
6f7f98ded3 Fixed a bug in the digest header. 2022-09-25 18:50:53 +02:00
default
d2bdaf378f More work in http signed request. 2022-09-21 09:31:05 +02:00
default
9573dbcdb6 New function xs_sha256_base64(). 2022-09-21 09:17:59 +02:00
default
8dadbbc78e Use its own copy of the headers in http_signed_request(). 2022-09-21 08:57:02 +02:00
default
d76131b473 Added http signed request code (untested). 2022-09-20 21:00:16 +02:00
default
9a38cfb70f [http.c] new file. 2022-09-20 20:12:21 +02:00