Bug 3658 - Passphrase ignored during keypair generation with gpg2
Summary: Passphrase ignored during keypair generation with gpg2
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Privacy/PGP (show other bugs)
Version: 3.14.0
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-07-12 07:44 UTC by Andrej Kacian
Modified: 2016-07-13 22:02 UTC (History)
0 users

See Also:


Attachments

Description Andrej Kacian 2016-07-12 07:44:18 UTC
When generating new PGP key pair from within Claws Mail (e.g. "Generate new keypair" button in account preferences), the application asks for a passphrase twice, but this passphrase is then ignored by gpg2, which displays its own passphrase dialog, using pinentry.

This works fine when gpg 1.x (1.4.20 in my case) is forced on Claws Mail.
Comment 1 users 2016-07-13 21:53:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2016-07-13 21:53:02.855122722 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=55c93fe55aa02038aaae215bbb5352ae5ba79a3a
Merge: d9012f8 5e02bd9
Author: Colin Leroy <colin@colino.net>
Date:   Wed Jul 13 21:53:02 2016 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=5e02bd982ab0505bd75ffb17718e7750d7e2865f
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Wed Jul 13 21:50:52 2016 +0200

    When generating a PGP keypair, only ask for passphrase with gpg1.
    
    Also erase all copies of an entered passphrase from memory
    when done. Closes bug #3658.

Note You need to log in before you can comment on or make changes to this bug.