Commit Graph
17 Commits
Author SHA1 Message Date
Malte Meiboom 21b45d1702 Some cleanups
- Remove unused errors.
- Add doc comments.
2026-05-06 16:30:42 +02:00
Malte Meiboom e98f5f7576 Implement 'introducer remove'
- Implement the subcommand `remove` for `introducer`.
- Remove the introducer by adding a certification with trust level 1 and
  trust depth 0.
- Move `crypt.rs` into `common/` and add a generic authenticaton
  function to be used by `introducer add` and `... remove`.
2026-05-06 15:38:33 +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 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 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 d843c08425 Initial commit
- rough filestructure
- first simplistic daemon
2025-11-06 11:38:20 +01:00