Commit Graph
12 Commits
Author SHA1 Message Date
Malte Meiboom e47b1b837c Sign encrypted mails.
- Husk now not only encrypts outgoing emails (if possible) but also adds
  a signature.
- Rework the internal handling of the signing key.
- Integrate the signing into the workflow of the daemon.
- Add a configuration option for a subject replacement.
2026-06-18 13:24:24 +02:00
Malte Meiboom 1f89d40cd3 Start with signing outgoing mails
- Add a scheme on how to discover Husk signing keys. Siging keys mut be
  certified by the `local trust root` with a signature having a notation
  with a name equal to `signing_keys@husk-projet.org`.
- Fetch the key from the keystore.
- Expand `authenticate()` so that notation can be added to the
  signature.
- Add a test to create a signing key and fetch it from the keystore.
2026-06-10 15:00:33 +02:00
Malte Meiboom ccfb8d6f36 Add shell completions
- Add a `build.rs` (plus dependencies) to generate the shell completions
  clap knows.
2026-06-03 14:38:35 +02:00
Malte Meiboom a007a296ff Upgrade Cargo.toml
- Upgrade Cargo.toml and Cargo.lock
2026-05-27 10:54:12 +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 c33feb1ee7 First dispatcher
- Create (sub)command structure.
- First experimental dispatcher to start the daemon.
2026-02-22 12:51:05 +01:00
Malte Meiboom 4093e1e8e7 Upgrade dependencies
- especially: upgrade bytes
2026-02-08 20:31:31 +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 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 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