Re: inline pgp not working in evolution (when using base64 encoding?)

2008-11-18 Thread Paul Johnson
Bob Cox wrote:
> [EMAIL PROTECTED]:~$ base64 -d email_inline_pgp_failes.txt | gpg -d
> gpg: encrypted with ELG-E key, ID 5515B7F0
> gpg: decryption failed: secret key not available
>
> Presumably this is the sender's key - but where is the recipient's?
>
> Something is not quite right.  But you already knew that ;-)
>   

If I were the OP, I'd have the original sender send again, this time
making sure to encrypt against your public key in addition to himself...




signature.asc
Description: OpenPGP digital signature


Re: inline pgp not working in evolution (when using base64 encoding?)

2008-11-15 Thread Bob Cox
On Sat, Nov 15, 2008 at 12:18:17 +0200, subscriptions ([EMAIL PROTECTED]) 
wrote: 

> 
> Hi all,
> 
> I use PGP at home and at work using Evolution 2.22.3.1 (both Debian
> Lenny, appears identical setup). When clicking the email in Evolution at
> work, it prompts for a password. However at home, Evolution does not
> prompt for a password.
> 
> The Evolution program at home *does* prompt for a password when a work
> email message is imported! In contrast, when home emails are opened at
> work, no prompt. So there is something wrong with the emails sent to the
> home address.
> 
> Attached are two sources of the emails sent to home and work.
> 
> The 'obvious' difference between the sources is the encoding: it looks
> like the email which does not prompt for a password is wrapped in
> another envelope:
> 
> --_003_122674231513134camellocalhost_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> 
> However, I do not know how to change this. I tried to change encoding
> while sending, but this does not help.
> 
> Any suggestions?
> 
> Thank you in advance.

I am not an expert in this but have had a bit of a play.

The attachment that works (email_inline_pgp_works.txt) does indeed look
ok:

[EMAIL PROTECTED]:~$ gpg -d email_inline_pgp_works.txt
gpg: encrypted with ELG-E key, ID 5515B7F0
gpg: encrypted with ELG-E key, ID 823A6E92
gpg: decryption failed: secret key not available


The second one is, as you say, base64 encoded after the encryption was
applied, but by first editing away the text other than the encoded
section, it is possible to extract this:

[EMAIL PROTECTED]:~$ base64 -d email_inline_pgp_failes.txt | gpg -d
gpg: encrypted with ELG-E key, ID 5515B7F0
gpg: decryption failed: secret key not available

Presumably this is the sender's key - but where is the recipient's?

Something is not quite right.  But you already knew that ;-)

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Debian on the NSLU2: http://bobcox.com/slug/
Registered user #445000 with the Linux Counter - http://counter.li.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



inline pgp not working in evolution (when using base64 encoding?)

2008-11-15 Thread subscriptions

Hi all,

I use PGP at home and at work using Evolution 2.22.3.1 (both Debian
Lenny, appears identical setup). When clicking the email in Evolution at
work, it prompts for a password. However at home, Evolution does not
prompt for a password.

The Evolution program at home *does* prompt for a password when a work
email message is imported! In contrast, when home emails are opened at
work, no prompt. So there is something wrong with the emails sent to the
home address.

Attached are two sources of the emails sent to home and work.

The 'obvious' difference between the sources is the encoding: it looks
like the email which does not prompt for a password is wrapped in
another envelope:

--_003_122674231513134camellocalhost_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

However, I do not know how to change this. I tried to change encoding
while sending, but this does not help.

Any suggestions?

Thank you in advance.

Best,

Rob de Graaf

--_003_122674231513134camellocalhost_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


--_003_122674231513134camellocalhost_
Content-Type: application/pgp-encrypted; name="ATT1"
Content-Description: ATT1
Content-Disposition: attachment; filename="ATT1"; size=76; creation-date="Sat, 15 Nov 2008 10:45:28 GMT"; modification-date="Sat, 15 Nov 2008 10:45:28 GMT"
Content-Transfer-Encoding: base64

VmVyc2lvbjogMQ0K

--_003_122674231513134camellocalhost_
Content-Type: application/octet-stream; name="encrypted.asc"
Content-Description: This is a digitally encrypted message part.asc
Content-Disposition: attachment; filename="encrypted.asc"; size=890; creation-date="Sat, 15 Nov 2008 10:45:28 GMT"; modification-date="Sat, 15 Nov 2008 10:45:28 GMT"
Content-Transfer-Encoding: base64

LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tDQpWZXJzaW9uOiBHbn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RVNTQUdFLS0tLS0NCg==

--_003_122674231513134camellocalhost_--



--=-TvZkoeQVnb1UIA0aD+VY
Content-Type: application/pgp-encrypted
Content-Transfer-Encoding: 7bit

Version: 1

--=-TvZkoeQVnb1UIA0aD+VY
Content-Type: application/octet-stream; name=encrypted.asc
Content-Description: This is a digitally encrypted message part
Content-Transfer-Encoding: 7bit

-BEGIN PGP MESSAGE-
Version: GnuPG v1.4.9 (GNU/Linux)

hQIOA+wMGESCOm6SEAf+MULjFySpSYAZEO4SFZwlXpxzQ7Geo/RzKjqmxUeEhP63
vLrl7o9qRnKN4bNSJM2XXmfEK9immNw+6GKhEAAtnlhv2gszYTl3dVfOQLn015+U
cieh+80dlfK33SIJ/y+Qvvx9xjuBk4J28lPiqjM6k7U4JhfwiyyCVBH39ski40s2
/Z9ELh9GFii268BfdUO+BQfhDb6o1Y0N1eCipMh89W5co+cyGpcB8iT1VgaBJGQv
gUJGZLVCBu1Aux7a9Mcs3afsv4Qiq1oPxIiOOhqjcCSpYjIdMgqmfGg7V+aZESrh
Z14VDjfslpaRtJIzEY+HHO8mXRv7t2uhvVvf+cHQiQf+JFWmHrGnMiqAqkWJY7hw
J1ch6omjd0n0Fw6qVA/klAKWypAXur4jnaIfeLvEfH+/z0SClLHHbkBiNTmNaGqW
18zW+3ceF3YKKtN/vKrfpV9Wmi9U2qKSWWuMf06QjIt84iQAn6O0u+HKMYqXS0oq
QAEi3yUkBvofNRmH0sszO11KmmnzIq1Pm4O6VroSiYdlRoAbhLzb3g2dvUB8QZlO
yAhdyuyY8J9WpdSUNmG57D0xhS67UrYw+Z79+85YR7IwwcJxfVXfdEuNUO/OQ97F
fRWWE+n5CdQsZWvMbDDBc0/MmZ0WWnUufmCJF33r21pP7W5/NShRYJmI3Ei9aD8f
KoUBDgP/hj7wVRW38BAD/jcNrnyTsG5nhaxVSCZh2uUJdkuPYVn/2MNarnBgjNye
10aU9rOr1FNslLqLZ1R23MnnqHirVP9AmTFktN0XDx7ssOV+7SmwC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