Commit graph

27 commits

Author SHA1 Message Date
Rodolphe Bréard
08297ac5e0 Sign the message 2023-04-15 19:24:04 +02:00
Rodolphe Bréard
4164274ad2 Check keys at least every 3 hours
Doing so will permit to regularly populate the revocation file with the
new entries.
2023-04-10 11:18:11 +02:00
Rodolphe Bréard
699424bfcb Format code 2023-04-09 23:31:32 +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
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
3358982c31 Add verbose to the CLI 2023-03-26 21:49:34 +02:00
Rodolphe Bréard
4748360380 Add header to the CLI 2023-03-26 17:52:15 +02:00
Rodolphe Bréard
3dba0451cd Add algorithm to the CLI 2023-03-26 17:15:41 +02:00
Rodolphe Bréard
cb7c4d4263 Add a minimal CLI 2023-03-26 16:07:49 +02:00
Rodolphe Bréard
38a4229fbd Implement canonicalization 2023-03-25 19:10:06 +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
fdc915cd66 Write the messages to stdout 2023-03-19 21:42:36 +01:00
Rodolphe Bréard
1945abfc2a Aggregate entries in messages 2023-03-19 20:32:11 +01:00
Rodolphe Bréard
420a23ad35 Improve reading from stdin 2023-03-19 19:29:02 +01:00
Rodolphe Bréard
9f8232f7f1 Read entries 2023-03-19 19:06:29 +01:00
Rodolphe Bréard
04a47e18e4 Implement the initial handshake 2023-03-19 17:13:49 +01:00
Rodolphe Bréard
a39c3d47d9 First commit 2023-03-19 14:59:32 +01:00