https://bugzilla.novell.com/show_bug.cgi?id=251131
Summary: pgp4pine fails to find recipient nor sender keys when
sending email.
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: robin.listas@telefonica.net
QAContact: qa@suse.de
When sending an email with Pine + pgp4pine, it fails to find the keys for the
sender or the recipient.
The session goes like this (sending from local test user cer2 to my email
address, with debug enabled):
|
|pgp4pine 1.76
|by Holger Lamm
|Homepage: http://pgp4pine.flatline.de/
|This program is protected by the GPL v2.
|DEBUG flags on
|
|Loading profiles: pgp5, pgp2, gpg, pgp6, done.
|
|You have the following profiles:
|a: PGP 5 Profile "pgp5"
|b: PGP 2 Profile "pgp2"
|c: GnuPG Profile "gpg"
|d: PGP 6 Profile "pgp6"
|Select one to use [a]:c
|
|Loading public keyring (this may take a couple of seconds)...
|............
|Loading secret keyring (this may take a couple of seconds)...
|...
|
|Warning! It appears that you don't have a secret key defined! Please see
|your PGP/GPG documentation for assistance in making a key pair!
|
|Checking recipients ...
|
|robin.listas@*******.net... - no key found
|
|
|Your recipient list has unknown keys. You may:
|a) Sign the message
|b) Send it unmodified
|c) Ask the Keyserver for unknown keys and start over
|d) Open a shell to add their key manually,
|q) Abort and Quit
|
|Make your choice [a]:
|
|You need a passphrase to unlock the secret key for
|user: "Carlos (local) "
|1024-bit DSA key, ID A0D31350, created 2007-03-04
|
|Enter passphrase:
Ok, the first error is that it claims that I don't have a secret key defined,
when I do. next, it claims not be able to find the recipient key, for
"robin.listas@*******.net", when it does exist (you can see it in the debug log
below). In fact, for this test user I created a secret key and imported the
public key of "robin.listas@*******.net".
(Note: my real mail address is munged here with "*******")
Finally, if I choose "sign", it does sign correctly, but it doesn't ask to
choose a key if there are several (a situation that happens with my real user
"cer").
Debug log (lines wrapped by this edit control, not me):
----------------------------------- pgp4pine.debug
---------------------------------------------------------------
================= NEW SESSION version 1.76 ===================
---------------------------------------------------------------
In File: /tmp/sf544902
Out File:
Tmp File:
main: recipients: robin.listas@*******.net
common.c: askAlphaRange (prompt = 'Select one to use ', maxVal = 'd')
common.c: askAlphaRange Return: c
Preferences: s?,e?,a+,c+,d-
pki.c:
pipe_pgp (cmd = 'gpg --list-keys --with-colons --no-greeting 2>
/dev/null', FILE **in, FILE **out)
tru::1:1173030879:0:3:1:5pub:u:1024:17:D906F950A0D31350:2007-03-04:::u:Carlos
(local)
::scESC:sub:u:2048:16:24B51299A2B28FB3:2007-03-04::::::e:pub:-:1024:17:B533181C6D8D47D5:2004-03-22:
::-:Carlos Robinson (Carlos)
::scESC:uid:-::::2005-12-06::07832B629EB3E59ED00F05F
E45BBBCB3DF29D01C::Carlos E. R. (Carlos)
:uid:-::::2004-03-22::AD153E158E7252E
FBF0CFB3782F678318CACD99E::Carlos E. R. (Carlos)
:uid:-::::2004-03-24::6E7D8B2
7C535CB9369E6F4BAE6F0D0AF557EF3D2::Carlos E. R. (Carlos)
:uid:-::::2004-
11-28::D56A1D3E98C91544DD9B5F877FDD34AC45EF542F::Carlos E. R. (Carlos)
<*****.search@*****.es>:u
id:-::::2005-12-06::93402589EC48541C0BFE5164591D676A55DA3A29::Carlos E. R.
:uid:
-::::2006-04-02::0C1E78DC42A9F8F9E7554AD5982E93FF8635B5F5::Carlos E. R. (cer)
:sub:-:1024:16:E0CC1B24BA963606:2004-03-22::::::e:sub:-:1024:16:E0CC1B24BA963606:2004-03-22::::::e:pk
i.c:
pipe_pgp (cmd = 'gpg --list-secret-keys --with-colons --no-greeting 2>
/dev/null', FILE **in, FILE **out)
sec::1024:17:D906F950A0D31350:2007-03-04::::Carlos (local)
:::ssb::2048:16:24B512
99A2B28FB3:2007-03-04:::::::ssb::2048:16:24B51299A2B28FB3:2007-03-04:::::::keyrings.c:
chooseSecretKey()
Leaving secret area!
pki.c
parseRecipientList (recipients = 'robin.listas@*******.net .
',addDashR = 1)
pki.c
checkRecipient (thisRecip = 'robin.listas@*******.net')
No key found for robin.listas@*******.net
Recipients: with key: without key: "robin.listas@*******.net"
Presenting menu for ask sign/ask encrypt with unknown keys
common.c: askAlphaRange (prompt = 'Make your choice ', maxVal = 'd')
common.c: askAlphaRange Return: a
Selection: S+E-
pki.c
fileSignEncrypt (inFile = '/tmp/sf544902', outFile =
'/home/cer2/pgp4pine.tmp', sign = 1, encryp
t = 0, recipient = ', asciiArmor = 1, universalText = 1, encryptToSelf = 0,
detachSigs = 0')
DEBUG: GnuPG Run: "gpg -o /home/cer2/pgp4pine.tmp --no-batch --comment "Made
with pgp4pine 1.76" --no-gr
eeting -a -t -s /tmp/sf544902"
common.c: runProcessFG (commandToRun ='gpg -o /home/cer2/pgp4pine.tmp
--no-batch --comment "Made with pg
p4pine 1.76" --no-greeting -a -t -s /tmp/sf544902')
almost closed...
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.