Malte Meiboom
9a6de637ea
Fix tests in crypto.rs
2026-05-06 12:39:55 +02:00
Malte Meiboom
f2260bc335
Move crypto.rs into common
...
- Refactor code and move crypto.rs into the common subdirectory.
- Fixed comments
2026-05-06 12:34:21 +02:00
Malte Meiboom
bf53af50ec
Add introducer add command
...
- Create a command to add an introducer (with domains).
- Add a module for escaping regular expressions used in certifications
- Add some helper functions.
2026-05-04 22:55:02 +02:00
Malte Meiboom
5f50624478
Add escape/unescape helpers for regexes
...
- Add helpers for escape/unescape control characters used in regular
expressions.
2026-04-30 12:57:23 +02:00
Malte Meiboom
4e28e636a1
Make clippy happy
...
- Applied many of the `clippy` suggestions.
2026-04-27 13:42:47 +02:00
Malte Meiboom
799f6eb588
Complete skeleton dispatcher
...
- Complete the dispatcher for the 'introducer' and 'local' command. This
is currently only a skeleton.
- The 'introducer list' command is added.
2026-04-27 13:17:03 +02:00
Malte Meiboom
c33feb1ee7
First dispatcher
...
- Create (sub)command structure.
- First experimental dispatcher to start the daemon.
2026-02-22 12:51:05 +01:00
Malte Meiboom
30b1d29274
Start milestone 3
...
- Add functionality to query online sources (Keyservers, etc) for
certificates.
- Use introducers to determine which UserIDs should be fetched from
online soources. Check certifications before importing certifiactes
into the local cert store.
- start docker image for local end-to-end testing.
2026-01-23 12:57:26 +01:00
Malte Meiboom
b7e01a446c
Refactoring loading of config file
...
- let `HuskConfig::load` return a `Result` instead of an `Option`.
- added comments
2026-01-05 12:32:30 +01:00
Malte Meiboom
eeda63f5ab
Add encryption
...
- actually encrypt the body of a mail
2025-12-17 11:11:28 +01:00
Malte Meiboom
64312da01d
Add tests for is_encrypted()
...
- add some tests to ensure that is_encrypted() works correctly.
2025-12-16 12:29:14 +01:00
Malte Meiboom
9b41457b8e
Check for encryption
...
- collect body of incoming mail.
- check if incoming mail is already encrypted - dont touch it if it is.
- check if recipients of that mail can encrypt.
2025-12-16 12:04:26 +01:00
Malte Meiboom
e56eb8eb9a
Add introducers
...
- add the `Introducer` types
- get introducers from the certificate store (and log them)
2025-12-15 12:27:20 +01:00
Malte Meiboom
dd71b89485
Add certificates
...
- Refactor `Recipient` out of `MailContext`.
- Add lookup of authenticated certificates for recipients.
2025-12-11 16:03:34 +01:00
Malte Meiboom
23c698f445
Start collecting recipients
...
- Collect recipients for processed email.
- Add proper email parsing
2025-12-11 11:53:55 +01:00
Malte Meiboom
cc2dfbfcf1
add missing StoreUpdate
2025-12-10 10:56:09 +01:00
Malte Meiboom
56647806b7
Steps towards encryption
...
- Added certstore and retrieval of the local trust root.
- Major work on keeping the context between calls to the milter.
- Added a context for an email in processing
- Added Husk specific errors
2025-12-09 12:11:07 +01:00
Malte Meiboom
a729a5b626
Add anyhow and configurable TcpListener
...
- add anyhow to Cargo.toml
- make the connection parameter (for the TcpListener) configurable
2025-11-12 12:10:03 +01:00
malte
d843c08425
Initial commit
...
- rough filestructure
- first simplistic daemon
2025-11-06 11:38:20 +01:00