Rodolphe Bréard
53f1c356b0
Removing empty elses
1 year ago
Rodolphe Bréard
0e1e9a818d
Prevent panic from selecting a random value from an empty range
Fixes #102
1 year ago
Rodolphe Bréard
e9522df9ef
Stop using the `Error` struct from `acme_common` in tacd
rel #83
1 year ago
Rodolphe Bréard
e302789bca
Stop exposing minijinja error type outside of the template module
1 year ago
Rodolphe Bréard
d73fbc3e93
Merge pull request #99 from jcgruenhage/minijinja-templating
Change the template engine to MiniJinja
1 year ago
Jan Christian Grünhage
c96c57cd70
Update dependencies
1 year ago
Jan Christian Grünhage
b74765187c
Update the MSRV
1 year ago
Jan Christian Grünhage
7567e7566c
Change the template engine to MiniJinja
1 year ago
Rodolphe Bréard
df40cde34c
Update dependencies
1 year ago
Rodolphe Bréard
606fe3f590
Merge branch 'main' of github.com:breard-r/acmed
2 years ago
Rodolphe Bréard
1a79d4de00
Remove needless references
2 years ago
Rodolphe Bréard
43b13d1979
Merge pull request #95 from eduardosm/fix-docker
Fix code path in build-docker.sh
2 years ago
Rodolphe Bréard
761c0a72c0
Merge pull request #96 from jcgruenhage/post-operation-expose-file-paths
Expose file paths to post-operation hook
2 years ago
Jan Christian Grünhage
30fa624afe
Expose file paths to post-operation hook
2 years ago
Eduardo Sánchez Muñoz
3307f59e05
Fix code path in build-docker.sh
2 years ago
Rodolphe Bréard
b87990e0b4
Update dependencies
This update includes a security fix for the h2 crate.
https://github.com/breard-r/acmed/security/dependabot/1
2 years ago
Rodolphe Bréard
6b51a7f952
Merge pull request #82 from jcgruenhage/async-http
Make http requests async, switch from attohttpc to reqwest
2 years ago
Jan Christian Grünhage
eeca233442
Make rate-limits async as well
2 years ago
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