Commit Graph

17 Commits

Author SHA1 Message Date
picoHz b4ca9c11be Add support for EAB in newAccount requests 2023-05-18 17:20:53 +02:00
Dirkjan Ochtman c4f715216f Move JoseJson creation logic into new() method 2023-05-18 17:20:53 +02:00
Dirkjan Ochtman c4a1c29534 Move Signer trait into types module 2023-05-18 17:20:53 +02:00
David Kleingeld 1a9ce194b7 Annotate Api::Problem error with thiserror::transparent
Error variant `Api::Problem` prints "API error: {problem}" however the Problem struct has display impl that starts by printing "API error". Together this results in "API error: API error" followed by the details.

This fixes that by annotating `Api::Problem` with `thiserror`'s `transparent` attribute which forwards the display impl to the underlying types display impl.
2023-04-23 15:18:14 +02:00
Dirkjan Ochtman 0cc77ff2ca Postpone certificate retrieval until order is valid 2023-03-15 19:01:15 +01:00
Dirkjan Ochtman a438e48f02 Bump base64 dependency to 0.21 2023-01-09 12:57:53 +01:00
Dirkjan Ochtman f34971b3e8 Move KeyAuthorization into crate root 2022-11-15 10:00:57 +01:00
Sajjad Pourali 1f42c1e5a2 Allow direct access to SHA-256 digest of KeyAuthorization
This is used directly for the TLS-ALPN-01 challenge type.
2022-11-15 09:54:12 +01:00
Dirkjan Ochtman 37223c1a62 Apply clippy suggestions 2022-08-12 18:38:08 +02:00
Dirkjan Ochtman b7dd9c4dc0 Add API documentation 2022-05-12 21:47:01 +02:00
Dirkjan Ochtman 1cf7c81f6b Make LetsEncrypt::url() const 2022-05-12 21:47:01 +02:00
Dirkjan Ochtman 82daaac525 acme: simplify account serialization handling 2022-05-12 10:00:26 +02:00
Dirkjan Ochtman 40a561ffb5 acme: switch from reqwest to hyper 2022-05-12 10:00:26 +02:00
Dirkjan Ochtman 3e64360c59 acme: move Problem extraction into associated function 2022-05-12 10:00:26 +02:00
Dirkjan Ochtman e4ef9955a3 acme: align Authorization type with RFC structure 2022-04-22 09:44:54 +02:00
Nicholas Rempel faa660a6d1 acme: Make acme logs more verbose 2022-02-15 12:21:30 -08:00
Dirkjan Ochtman 0060778f15 rust: initial implementation of an ACME client 2022-01-28 11:37:57 +01:00