[#7080] add PGP public key can also add private key
Summary add PGP public key can also add private key
Queue IMP
Queue Version 4.2
Type Bug
State Resolved
Priority 1. Low
Owners Jan Schneider <jan (at) horde (dot) org>
Requester right_path (at) hotmail (dot) com
Created 07/17/2008 (52 days ago)
Due
Updated 07/17/2008 (52 days ago)
Assigned
Resolved 07/17/2008 (52 days ago)
Attachments
Milestone
Patch No

History
07/17/2008 Jan Schneider Assigned to Jan Schneider
 
07/17/2008 Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in CVS: it is no longer allowed to upload private keys as public keys.
07/17/2008 CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/pgp.php?r1=2.120&r2=2.121&ty=u
07/17/2008 right_path (at) hotmail (dot) com Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ add PGP public key can also add private key
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
I imported my public and private PGP from the same file into IMP.
IMP not only copies the public key section as public key but the whole 
file including the private key.

Using the option "attach PGP public key to message" while sending a 
message so also attaches the private key.

IMP should only import the public or private key section or warn that 
both key should not be in one file when imported into IMP!