https://bugs.documentfoundation.org/show_bug.cgi?id=160184

--- Comment #10 from Patrick Luby (volunteer) <[email protected]> ---
(In reply to steve from comment #9)
> Command line gpg does ask the user how to proceed when the key is untrusted.
> 
> I am fine either way for LO, leaning towards allowing encryption without a
> warning. Current behavior certainly is not intended.

Maybe I can mimic the gpg command line behavior by using the existing code
(i.e. with the strictest trust model) and then, if it fails with this specific
error, I modify the code to display a "Yes/No" dialog that asks "The public key
is untrusted. Do you still want to encrypt with this key?". If yes, then the
code retries encrypting with either "tofu+pgp" or "always" as the trust model.

I am a bit busy this week, but if that seems like a reasonable approach, I'll
see if I can implement it when I have some spare time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to