Enigmail may issue a header called "OpenPGP" upon sending a message. This task consists of the following steps in the sequence provided below:
remove the code that creates the header in enigmailMsgComposeOverlay.js
remove the dialog options that control this header. To get to this dialog, you need to 1st enable "Expert settings and menus" in the Enigmail Preferences. The dialog is then reachable via the Account Settings > OpenPGP security > Advanced.
remove the default setting in defaultPreferences.js
To test the current behaviour: follow the description in step 2 and enable the OpenPGP header. Then send an email to yourself and inspect the message source. You should then see that header being generated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
functional: as you removed the dialog entirely, there is no possibility anymore to change the default for "Attach my key to messages" (relating to the mail.identity.default.attachPgpKey option.
technical: you need to remove the deleted files from ui/content/Makefile and from util/genxpi, otherwise building Enigmail will fail. You can try this by doing make clean first.
Last edit: Patrick Brunschwig 2018-03-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for review.
What should I exactly do for functional nitpick ? Just remove the mail.identity.default.attachPgpKey from all the default option ?
Also, Should I make a patch for this new changes or have to combine them with above patch ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the mail.identity.default.attachPgpKey is useful - some users want it. I'd suggest you move it to the identity settings (enigmailEditIdentity.js|xul).
I'd prefer if you could combine everything in a single patch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, I want to work on this bug.
Can you guide me what should be done ? Which header is it referring to ?
Enigmail may issue a header called "OpenPGP" upon sending a message. This task consists of the following steps in the sequence provided below:
To test the current behaviour: follow the description in step 2 and enable the OpenPGP header. Then send an email to yourself and inspect the message source. You should then see that header being generated.
Thanks for the description. I will work upon this.
Removed OpenPGP Header from Enigmail
Last edit: Khushil Mistry 2018-03-20
Thanks for the patch, that looks good :-)
I have a functional and a technical nitpick:
mail.identity.default.attachPgpKeyoption.ui/content/Makefileand fromutil/genxpi, otherwise building Enigmail will fail. You can try this by doingmake cleanfirst.Last edit: Patrick Brunschwig 2018-03-21
Thanks for review.
What should I exactly do for functional nitpick ? Just remove the mail.identity.default.attachPgpKey from all the default option ?
Also, Should I make a patch for this new changes or have to combine them with above patch ?
I think the mail.identity.default.attachPgpKey is useful - some users want it. I'd suggest you move it to the identity settings (enigmailEditIdentity.js|xul).
I'd prefer if you could combine everything in a single patch.
Okay. Will Add Radio button for the same enigmailEditIdentity.js|xul.
Will make a combine Patch by end of the day.
I have done required changes and also checked the functionalities after building and integrating add on on thunderbird.
Thanks, I'll review the patch this evening.
Your patch is committed to master. Thanks - good work :-)