Closed Bug 1993943 Opened 1 month ago Closed 19 days ago

Unable to sign/encrypt (PGP) when stared with -compose parameter and Thunderbird wasn't already running

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 143
defect

Tracking

(thunderbird_esr140 wontfix, thunderbird145 wontfix)

RESOLVED FIXED
146 Branch
Tracking Status
thunderbird_esr140 --- wontfix
thunderbird145 --- wontfix

People

(Reporter: it, Assigned: mkmelin)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image key-error.png

Steps to reproduce:

Start Thunderbird with the -compose parameter

Actual results:

Error message when trying to send:
"Unable to send the message, because there is a problem with your personal key. You do not seem to have the secret key for xxx <xxx@xxx.xx> (key ID 0x...) on your keyring; you cannot use the key for signing."

Expected results:

Email should be sent without errors.

There is no problem with the key since everything works fine when starting Thunderbird without the -compose parameter.

Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1972857
Summary: Unable to sign/encrypt (PGP) when stared with -compose parameter → Unable to sign/encrypt (PGP) when stared with -compose parameter and Thunderbird wasn't already running
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED

Move the compose commmand line handling to MessengerContentHandler to where it belongs.
It had some extra processing which wasn't needed when handled in the correct place,
and not as a weird side effect of validate().

Thanks!

Attachment #9521934 - Attachment description: Bug 1993943 - Unable to sign/encrypt (PGP) when stared with -compose parameter and Thunderbird wasn't already running. r=#thunderbird-reviewers → Bug 1993943 - Unable to sign/encrypt (PGP) when started with -compose parameter and Thunderbird wasn't already running. r=#thunderbird-reviewers
Attachment #9521934 - Attachment description: Bug 1993943 - Unable to sign/encrypt (PGP) when started with -compose parameter and Thunderbird wasn't already running. r=#thunderbird-reviewers → Bug 1993943 - Unable to sign/encrypt (PGP) when started with -compose parameter and Thunderbird wasn't already running. r=kaie
Target Milestone: --- → 146 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/68dd9381972a
Unable to sign/encrypt (PGP) when started with -compose parameter and Thunderbird wasn't already running. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: