Repository navigation
Conversation
Bcc recipients go to gpg as hidden recipients, so To and Cc cannot see whose keys were Bcc'd. A good signature from a key without the From address shows amber, not green. Encrypting to a key the keyring does not vouch for asks first in the composer, and each address is encrypted to the checked key by fingerprint, preferring a vouched one.
Bcc recipients go to gpg as hidden recipients, so To and Cc cannot see whose keys were Bcc'd. A good signature from a key without the From address shows amber, not green. Encrypting to a key the keyring does not vouch for asks first in the composer, and each address is encrypted to the checked key by fingerprint, preferring a vouched one. Co-Authored-By: James Reilly <5840441+hanthor@users.noreply.github.com>
gpg's trust line is the key's best validity, so an address added after a key was trusted passed as checked. Green now needs that address vouched for, and Trust covers it. The unchecked-key prompt came at every send and could not always be cleared: Send Anyway is remembered per address and fingerprint, Settings offers Trust for an added address, and trusting with an imported key of one's own now counts.
Send Anyway was remembered with no way back short of editing a file. Settings → OpenPGP lists those keys while the answer still matters, and Ask Again takes it back. Removing a key forgets it too. The page reads again on each visit, since the composer changes the list while Settings sits hidden.
|
Agentic reply: Your Bcc, signer and unchecked-key changes are in the 1.48.0-beta.3 release, landed by hand and credited to you. At landing, Send Anyway is remembered per address and key, and Settings → OpenPGP lists those keys with Ask Again. The From address is checked against each of the key's addresses, an address added to a trusted key stays amber until the key is trusted again, and trusting an imported key of your own now works. Please test it there and report anything that doesn't look right. It reaches the stable channel with the next stable release. #602 and #603 are built on this branch, so they need rebasing onto main. The beta build is in the repo now. If you already have the beta installed, flatpak install --user --from https://hylki.hyprlab.co/flatpak/co.hyprlab.Hylki.Beta.flatpakrefRPM, Debian and AppImage betas: Beta channel. |
Three OpenPGP fixes:
--hidden-recipient, each resolved to the fingerprint of the checked key so gpg uses that key and not the first match for the address.PgpSignature::Goodgainsfrom_mismatch, serde-defaulted and skipped when false, so cache goldens don't change.--trust-model always, but the composer now asks before sending to a recipient whose key nothing vouches for (Send Anyway keeps it possible), andpublic_key_forprefers a vouched key when an address has several.Tests run against real throwaway gpg keyrings: the Bcc key id is zeroed in the packet and still decrypts, the From mismatch (case-insensitive), vouched-key choice per user id.