1063e5b6
email: make PGP private key optional
Services other than meta.sr.ht don't really have a use for the private PGP key. Add a CanPGPSign method so that meta.sr.ht can emit a warning or error when the PGP key is missing.
Simon Ser <contact@emersion.fr> — 2024-01-18 16:21:43 UTC
Commit 1063e5b6eca536af07040ba929e872c3fc256444 —
view raw patch
Parent(s):
583d0b1b
| File | Status | + | − |
|---|---|---|---|
email/worker.go
|
M | +38 | -23 |