Bug 3597

Summary: 'Always sign messages when replying to a signed message' option does not work
Product: Claws Mail (GTK 2) Reporter: olivierthnicole
Component: Plugins/Privacy/PGPAssignee: users
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 3.13.1   
Hardware: PC   
OS: Linux   

Description olivierthnicole 2016-01-19 21:11:11 UTC
Hi there,

When I check the box 'Always sign messages when replying to a signed message' in the Preferences > Privacy section, replies to signed messages are still not signed automatically, even though Claws prints that my correspondent's message has a "Good signature" in the status bar.

Keep up the good work!
Comment 1 Paul 2016-01-20 11:15:52 UTC
The option works fine for me.

How many accounts do you have? Do they all have this option set?

Could it be that the account is switched (manually or automatically) and the account which is switched to does not have this option set?
Comment 2 olivierthnicole 2016-01-20 15:58:51 UTC
This is my only account on Claws.

And I'm afraid I don't know what a switched account is… could you explain it?
Comment 3 Paul 2016-01-20 16:02:06 UTC
What is your account's 'Default privacy system'?

(We'll leave general questions for the users' mailing list or IRC)
Comment 4 olivierthnicole 2016-01-20 16:06:28 UTC
It's PGP inline.
Comment 5 olivierthnicole 2016-01-20 16:08:03 UTC
But setting to 'PGP/MIME' or 'None' doesn't change anything.
Comment 6 Paul 2016-01-20 16:17:03 UTC
You have to activate the 'Sign' menu item manually?
Comment 7 olivierthnicole 2016-01-20 16:48:43 UTC
Yes. And my messages are not signed if I don't.
Comment 8 Paul 2016-01-20 16:52:48 UTC
What's the output of the following?

grep sign_ ~/.claws-mail/accountrc
Comment 9 olivierthnicole 2016-01-20 16:58:12 UTC
default_sign_reply=1
Comment 10 Paul 2016-01-20 17:04:37 UTC
It works for me and I don't see how it could fail.

There's not really an debug output around the option, but if you can apply a patch and build, then I can send you a patch to gather more debug info.

Otherwise, while you are alone in having this failure, this is very likely to be closed as WORKSFORME.
Comment 11 olivierthnicole 2016-01-20 17:34:14 UTC
I can't see why it fails either! But yes, I can build a patched version.
Comment 12 olivierthnicole 2016-01-20 17:46:06 UTC
Update: I launched the program from command line (I should've done this firsthand…) and whenever I choose 'Reply' to a signed message I get the following debug message:

(claws-mail:24268): Claws-Mail-WARNING **: can't open signature file: '/home/olivier/.signature'
Comment 13 Paul 2016-01-20 17:56:50 UTC
(In reply to comment #12)
> Update: I launched the program from command line (I should've done this
> firsthand…) and whenever I choose 'Reply' to a signed message I get the
> following debug message:
> 
> (claws-mail:24268): Claws-Mail-WARNING **: can't open signature file:
> '/home/olivier/.signature'

False alarm. That is not the GnuPG signature but a standard email signature typically appended to each message you send.