Commit Graph

144 Commits

Author SHA1 Message Date
Dirkjan Ochtman 7a780148cb Add FUNDING metadata 2024-10-10 07:30:01 +00:00
Nick Spain e83836b719 Retry bad nonce errors after generating a new nonce
Retry `urn:ietf:params:acme:error:badNonce` errors as they are defined
as retryable[^1]. Requests failing with a bad nonce error will be
retried three time retried three times before the failure is returned
to the caller.

This implenments the `BytesBody` trait for `bytes::Bytes` as we need
to consume the response body to be able check if the failure was due
to a bad nonce which required parsing the body. The body is only
consumed if the response status is bad request, in all other cases the
body is still lazily consumable.

[^1]: https://datatracker.ietf.org/doc/html/rfc8555/#section-6.5
2024-09-17 12:28:35 +00:00
Dirkjan Ochtman 643c5859a6 Update links to repository after move 2024-08-20 18:17:00 +02:00
Beau Hartshorne 810df05933 Update README.md 2024-08-04 22:52:18 +02:00
Dirkjan Ochtman fbe18f697a Bump version to 0.7.2 2024-07-26 12:17:31 +02:00
Dirkjan Ochtman 5e567d8892 Bump MSRV to 1.70 (for tokio 1.39) 2024-07-26 12:17:31 +02:00
Dirkjan Ochtman 7648ebb509 Upgrade example to rcgen 0.13 2024-07-26 12:17:31 +02:00
Dirkjan Ochtman f90227429d Upgrade base64 to 0.22 2024-07-26 12:17:31 +02:00
Dirkjan Ochtman a50af58758 Bump version to 0.7.1 2024-07-16 23:28:57 +02:00
Dirkjan Ochtman 24a877d187 Add missing Send bound 2024-07-16 23:28:57 +02:00
Dirkjan Ochtman 6d0aee7f22 Describe Cargo features in README 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 7de5a0e796 Bump version to 0.7.0 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 42dc6fa6b7 Add some basic serde tests 2024-07-16 20:47:38 +02:00
Luke Frisken 4a9b8703d9 Add ChallengeType::Other variant 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman da55daaca9 Prefer aws-lc-rs if fips is enabled 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman f11b1d1364 Test fips feature in CI 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman bc4da63d56 Test aws-lc-rs with ASM 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 09311aee3b Test more feature scenarios 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 126c0a3161 Make HttpClient independent from hyper 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 2047a9d579 Centralize body extraction 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 45102409d5 Use http dependency directly 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 907becda46 Alphabetize dependencies 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 5f78c2a6cb Align default for both features with default features 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 8e7871cbba Deduplicate Key constructor code 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 257a958a0a Deduplicate EcdsaKeyPair construction 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman e0ac09439e Create inline module for crypto primitives 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 3679fc3eb2 Isolate ring_like imports 2024-07-16 20:47:38 +02:00
Dirkjan Ochtman 738b9bdc92 Alphabetize features 2024-07-16 20:47:38 +02:00
Sajjad (Sage) Pourali a9c8fc4dbc
Add aws_lc_rs feature and set it as default (#56) 2024-07-16 09:39:53 +02:00
Dirkjan Ochtman 2a3ea513a7 Bump MSRV to 1.67 (due to cc) 2024-07-12 14:59:53 +02:00
Dirkjan Ochtman 784cdbcbb1 Bump version to 0.6.1 2024-07-01 10:30:56 +02:00
Dirkjan Ochtman fcb735c5d8 Add Order::into_parts() method 2024-07-01 10:30:56 +02:00
Dirkjan Ochtman 10ee80b0bb Remove unused lifetime in Account::new_order() 2024-07-01 10:30:56 +02:00
Dirkjan Ochtman 0e67ae2e9d Add Account::order() method to fetch pre-existing order 2024-07-01 10:30:56 +02:00
Dirkjan Ochtman dafaab4bc3 Remove stray publish workflow 2024-07-01 10:30:56 +02:00
Luke Frisken efb83b464a
Update to hyper dependency to version 1 (#50) 2024-06-27 13:04:02 +02:00
Dirkjan Ochtman 547a495092 Upgrade deny config 2024-06-24 11:41:52 +02:00
Dirkjan Ochtman 5e12971830
Merge changes from 0.4.x 2024-02-05 15:54:20 +01:00
Dirkjan Ochtman 434f450b01 Bump version number to 0.4.3 2024-02-05 15:52:43 +01:00
Dirkjan Ochtman eac4f43020 Proactively add other new fields 2024-02-05 15:46:49 +01:00
Dirkjan Ochtman 601330bc82 Make DirectoryUrls::revoke_cert optional 2024-02-05 15:46:49 +01:00
Dirkjan Ochtman e7fcd3c3b9 Clarify usage of AccountCredentials::urls 2024-02-05 15:46:49 +01:00
Dirkjan Ochtman 2d8ce0c740 Bump version to 0.5.0 2024-01-31 14:30:40 +01:00
Dirkjan Ochtman d36102c30a Make Problem fields optional 2024-01-31 14:30:40 +01:00
Dirkjan Ochtman 6adccaa618 Bump the MSRV to 1.63 2024-01-29 18:28:04 +01:00
Dirkjan Ochtman adfa9576ad Clean up line endings 2024-01-29 18:20:30 +01:00
Dirkjan Ochtman 2d1afeee8d Mention certificate revocation 2024-01-29 18:20:30 +01:00
Dirkjan Ochtman c44e5c1e8f Bump version to 0.4.2 2024-01-29 18:07:43 +01:00
Deftware 8290a95649
Add certificate revocation (#38) 2024-01-29 16:18:25 +01:00
Dirkjan Ochtman a800b1bff7 Upgrade rcgen to 0.12 2024-01-25 10:23:16 +01:00