Commit graph

55 commits

Author SHA1 Message Date
Rodolphe Bréard
bbfa08fd75 Use native-tls instead of rustls
Rustls uses ring, which does not declare an SPDX license. Because of
that, cargo deny signals this license as incompatible.

The correct change would be to completely disable TLS since it is
neither used nor needed, however `sqlx` does not currently support that.

https://github.com/launchbadge/sqlx/issues/914
https://github.com/launchbadge/sqlx/issues/1750
2023-04-10 10:52:33 +02:00
Rodolphe Bréard
eb2cce8edb Add an entry to the FAQ regarding manual key revocation 2023-04-10 00:31:22 +02:00
Rodolphe Bréard
49493f06f7 Store the dates using unix timestamps 2023-04-10 00:30:31 +02:00
Rodolphe Bréard
617230664c Remove useless imports 2023-04-09 23:33:05 +02:00
Rodolphe Bréard
699424bfcb Format code 2023-04-09 23:31:32 +02:00
Rodolphe Bréard
9265550fc8 Generate keys 2023-04-09 23:31:16 +02:00
Rodolphe Bréard
ea762d139f Rotate keys before registering the filter 2023-04-09 19:28:25 +02:00
Rodolphe Bréard
ade9532c36 Centralize the use of ActionResult 2023-04-09 17:54:07 +02:00
Rodolphe Bréard
977555bbee Rationalize the new_action parameters 2023-04-09 17:44:17 +02:00
Rodolphe Bréard
558ffb2392 Connect to the key database 2023-04-09 17:21:17 +02:00
Rodolphe Bréard
06d3b8dfca Move the main loop to async 2023-04-09 15:13:18 +02:00
Rodolphe Bréard
1b9ae7fa2b Remove useless references 2023-04-09 11:09:28 +02:00
Rodolphe Bréard
648bf5d2c6 Start moving to async 2023-04-09 11:07:16 +02:00
Rodolphe Bréard
d4f92bc430 Prevent an eventual out of range index 2023-03-27 23:29:53 +02:00
Rodolphe Bréard
d9eecf1f5f Refactor the build script 2023-03-27 22:46:50 +02:00
Rodolphe Bréard
9821a9888e Replace the mailparse crate by a custom header pseudo-parser 2023-03-27 22:46:17 +02:00
Rodolphe Bréard
5a403eccae Allow to customize VARLIBDIR at build 2023-03-26 23:42:16 +02:00
Rodolphe Bréard
838981a4a9 Define the default values in main.rs 2023-03-26 23:08:44 +02:00
Rodolphe Bréard
ebdb91fda4 Add key_data_base to the CLI 2023-03-26 22:46:49 +02:00
Rodolphe Bréard
9438ab4af4 Add the missing revocation_list method 2023-03-26 22:18:42 +02:00
Rodolphe Bréard
1576a990fe Reorder the config members and functions based on the short parameter 2023-03-26 22:12:50 +02:00
Rodolphe Bréard
7ac2f2645e Add dns_update_cmd to the CLI 2023-03-26 22:09:19 +02:00
Rodolphe Bréard
c10ba5a49a Add revocation to the CLI 2023-03-26 22:04:15 +02:00
Rodolphe Bréard
eeaca968b4 Rename the --revocation-list flag from -r to -f 2023-03-26 22:00:02 +02:00
Rodolphe Bréard
efb88b6dc0 Add cryptoperiod to the CLI 2023-03-26 21:57:01 +02:00
Rodolphe Bréard
3358982c31 Add verbose to the CLI 2023-03-26 21:49:34 +02:00
Rodolphe Bréard
0b8c0a6195 Add a display method to the Algorithm struct 2023-03-26 20:33:43 +02:00
Rodolphe Bréard
c23f2bd573 Use rsa2048-sha256 as the default algorithm 2023-03-26 20:10:21 +02:00
Rodolphe Bréard
25f7796629 Add a README file 2023-03-26 19:55:44 +02:00
Rodolphe Bréard
cf21f69316 Remove default features in dependencies 2023-03-26 19:05:24 +02:00
Rodolphe Bréard
649cfdf5fb Update the CI 2023-03-26 18:42:18 +02:00
Rodolphe Bréard
8cdb3983c7 Allow the Unicode-DFS-2016 license 2023-03-26 18:35:01 +02:00
Rodolphe Bréard
f31f002013 Cleanup the domain config 2023-03-26 18:02:20 +02:00
Rodolphe Bréard
4748360380 Add header to the CLI 2023-03-26 17:52:15 +02:00
Rodolphe Bréard
7ca05e92b9 Add expiration to the CLI 2023-03-26 17:21:20 +02:00
Rodolphe Bréard
3dba0451cd Add algorithm to the CLI 2023-03-26 17:15:41 +02:00
Rodolphe Bréard
c38fa94f1d Add canonicalization to the CLI 2023-03-26 16:30:53 +02:00
Rodolphe Bréard
cb7c4d4263 Add a minimal CLI 2023-03-26 16:07:49 +02:00
Rodolphe Bréard
3cd5071cd3 Include the licenses 2023-03-26 14:51:39 +02:00
Rodolphe Bréard
b97fbad6ec Add a CI 2023-03-25 20:09:29 +01:00
Rodolphe Bréard
38a4229fbd Implement canonicalization 2023-03-25 19:10:06 +01:00
Rodolphe Bréard
d95daff90c Parse the message 2023-03-25 15:42:46 +01:00
Rodolphe Bréard
6042058b21 Add a cargo-deny configuration file 2023-03-25 15:35:09 +01:00
Rodolphe Bréard
19dfa05660 Allow empty lines 2023-03-24 22:13:51 +01:00
Rodolphe Bréard
c4a0ccae3c Update test samples 2023-03-24 22:13:05 +01:00
Rodolphe Bréard
6b86c3889b Store the message in a vector of bytes 2023-03-23 20:54:20 +01:00
Rodolphe Bréard
4210a91d59 Adapt the logs to OpenSMTPD 2023-03-23 14:57:24 +01:00
Rodolphe Bréard
dd955fcb44 Add logs 2023-03-21 13:00:44 +01:00
Rodolphe Bréard
d0e63c8318 Add the test sample from the man page 2023-03-19 21:42:57 +01:00
Rodolphe Bréard
fdc915cd66 Write the messages to stdout 2023-03-19 21:42:36 +01:00