Jan Christian Grünhage
e4b97d6b4f
Make http requests async, switch from attohttpc to reqwest
2 years ago
Rodolphe Bréard
b41f1165ca
Merge pull request #79 from jcgruenhage/renewal-scheduling
Scheduling renewals
2 years ago
Jan Christian Grünhage
9502acf6e7
Switch to a default renew_delay of 30d
This is in line with the recommendations of the Let's Encrypt
integration guide, and the default most other clients implement as well.
2 years ago
Jan Christian Grünhage
59326edc7a
Randomized early renew
Let's Encrypt suggests in the integration guide, that for spacing out
renewals after issueing a lot of new certificates in a batch, you renew
a few of them a bit early until it's evened out. This adds a config
option that allows to set a timeframe in which early random delays are
attempted.
2 years ago
Jan Christian Grünhage
e79441b431
Sleep until certificate is due instead of looping and rechecking
2 years ago
Rodolphe Bréard
23e8a31bed
Update the cargo deny configuration
2 years ago
Rodolphe Bréard
e48576b515
Commit the Cargo.lock
fixes #61
2 years ago
Rodolphe Bréard
82e4c5b2b1
Update the daemonize dependency
2 years ago
Rodolphe Bréard
66dd6921da
Merge the licenses badges
2 years ago
Rodolphe Bréard
2d9fdb0ce3
Add Rust 1.68.2 to the CI
2 years ago
Rodolphe Bréard
ca911655c5
Remove the outdated MSRV badge
2 years ago
Rodolphe Bréard
4defb170bf
Add a note on the man pages format
2 years ago
Rodolphe Bréard
23ff7d0b28
Update the contributing guide
2 years ago
Rodolphe Bréard
24c2668c60
Update the CI
2 years ago
Rodolphe Bréard
1322814ebc
Update the change log
2 years ago
Rodolphe Bréard
a2084c10a8
Bring async to the hooks and the file storage
2 years ago
Rodolphe Bréard
9d43f72466
Propagate async through the request_certificate function
2 years ago
Rodolphe Bréard
f4d645bb68
Remove the useless CertificateManager struct
2 years ago
Rodolphe Bréard
4fc1f0cb8b
Rewrite the main event loop using async
Manual threads have some huge drawbacks and are therefore not well
suited for this task. Using async with a multi-threaded runtime,
however, does not have those drawbacks and keep the advantage of a
multi-threaded environment.
This is only the first part of the switch to async, the next step being
to use it in file operation, HTTP requests and sleeps.
2 years ago
Rodolphe Bréard
abebe6b49e
Use `checked_sub` instead of an unchecked subtraction
https://rust-lang.github.io/rust-clippy/master/index.html#unchecked_duration_subtraction
2 years ago
Rodolphe Bréard
213d057d08
Fix the indentation
2 years ago
Rodolphe Bréard
e900138503
Inline the format args
2 years ago
Rodolphe Bréard
1afc6dc27e
Indent with tabs instead of spaces
https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/
2 years ago
Rodolphe Bréard
fb002c5a04
Update the base64 dependency
2 years ago
Rodolphe Bréard
50728d718a
Update the toml dependency
2 years ago
Rodolphe Bréard
3d41aea381
Update the MSRV
2 years ago
Rodolphe Bréard
83a10b0153
Upgrade the toml dependency
2 years ago
Rodolphe Bréard
c0b09d5267
Update the change log
2 years ago
Rodolphe Bréard
65ff3ae54e
ACMEd v0.21.0
2 years ago
Rodolphe Bréard
b898f54880
Fix the flags
2 years ago
Rodolphe Bréard
717757c8e7
Remove the useless `let` bindings
2 years ago
Rodolphe Bréard
2895ce4495
Regroup the chained calls to `.replace()` into a single one
2 years ago
Rodolphe Bréard
39a96aa4a7
Remove useless references
2 years ago
Rodolphe Bréard
400cf6016f
Update the env_logger dependency
2 years ago
Rodolphe Bréard
1ee0b39aa9
Update the base64 dependency
2 years ago
Rodolphe Bréard
bdc954fbe4
Update the attohttpc dependency
2 years ago
Rodolphe Bréard
f2dc5ff633
Update the nix dependency
2 years ago
Rodolphe Bréard
79b259afe4
Add Rust 1.65.0 and 1.66.0 to the workflow
2 years ago
Rodolphe Bréard
db58ca0832
Update the change log
2 years ago
Rodolphe Bréard
9253eef8df
Merge pull request #70 from mateusz834/pad-ecdsa-pubkey
pad ECDSA public key coordinates with zeros
2 years ago
Mateusz Poliwczak
083a8151fe
pad public key with zeros
2 years ago
Rodolphe Bréard
390b67f898
Add a rc.d script
2 years ago
Rodolphe Bréard
a0843c326a
Update the minimal rust version
2 years ago
Rodolphe Bréard
2b1ed2a8c2
Upgrade to clap 4.0
2 years ago
Rodolphe Bréard
a9b55ff788
Add cargo fmt to the CI
2 years ago
Rodolphe Bréard
ca4bc269e5
Rename the CI test job
2 years ago
Rodolphe Bréard
cecdece56d
Update the minimal rust version
2 years ago
Rodolphe Bréard
82dc393d5c
Update CI to checkout v3
2 years ago
Rodolphe Bréard
eba4aacba9
Update the nix dependency
2 years ago
Rodolphe Bréard
b196431dce
Allow the Unicode data files and software license
2 years ago