matcha
matcha copied to clipboard
BUG: Missing error wrapping for missing PGP key
Describe the bug
In sender/sender.go:1075, fmt.Errorf("missing PGP key for %s (tried .asc and .gpg): %w", email, err) uses %w for err but %s for email which is correct, but there are instances of %s missing wrapping in sender/sender.go:561 for S/MIME certs.
To reproduce
Attempt to send an encrypted email without certificates.
Expected behavior
Ensure all certificate and PGP errors are cleanly wrapped.
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.