Topic: Sign and encrypt

If I encrypt a message and then sign it, the signature is marked valid but the message cannot be decrypted

--Ben

Re: Sign and encrypt

It's beceause sing add - on the message.... Sign before encrypt (a option will came for this !) !

Re: Sign and encrypt

That is the standard for meeting the requirements of the RFC.  But more to the point, I believe this would have been easier using OpenPGP/MIME over INLINE.  I made a post in the Misc asking for a reason on this topic.  The reason why is that once it is decrypted, I have to copy from the decrypted panel into a buffer in an editor, save that to a file, and verify manually.  That is on Unix systems.  On Windows systems I suppose that would be easier with WinPT.
It is still a two step operation that would have been easier with OpenPGP/MIME (I think).

Re: Sign and encrypt

glu i did what you said and i'm having some strange issues.  i sign a piece of text, then i encrypt it.  it decrypts just fine, but the decrypted text that shows up in the popup window doesn't verify.  but if i copy the decrypted text back into the gmail window, hightlight it and select verify from the alternate menu, it verifies.

Steps to reproduce:

1. Write some text
2. Sign it
3. Encrypt it
4. Decrypt it into a popup window
5. Verify in popup window (should fail)
6. Copy back into gmail compose screen
7. Verify from alternate menu (should pass)

Here is the data, content is in {}

Original Text:
{test stuff here.

amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.
}

Signed Text:
{-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

test stuff here.

amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQ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4HI1S9IraP5TVSYJTF0IvkleDUEej
2rJ31TQrmRA7uDVWGfSDiiUYJgp2MqVgndRNGnXCv7Kh+QoKzrf5o9HJvFi0Cmo8
PFKWcMdaTG3iH7FNjDEBtg80OW5h5sCDODkVXBWKGPpAyuH2rIhw6T4YAtLJN1m0
1iAr5MbrKKb9oAXo9T/MA/jgCAPokWwAtqDLAEAqVh7/V2pzwCEc6biVEGiPygx9
h3FVG9T4tboVlHOKVABYF1si6N8SuRKMDococBpNK9kAeMoFUSn/JBCnbb9nFt6h
wLK1W8J4dIZCsAbPM2tFQQSdIZN82tCqf/uZ968vQMBM0Q==
=F9jq
-----END PGP MESSAGE-----
}

Decrypted Text:
{-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

test stuff here.

amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.  amdand some more there that can be added once in a while.  hasdfa asdf.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGcdGPgmo5+OPA3AIRAhsZAKCw6aKDPjsPhaWIT1oHhrLKEwEK2wCeIspG
2a31QLfgv0i7id995wHuucU=
=r9Wk
-----END PGP SIGNATURE-----
}

Public Key:
{-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (GNU/Linux)

mQGiBEZx0AgRBACXXzmB2V8rGRHX9NPF+Z2+aZgt7h137X+M9fs0UHYQ5IY0yd+6
fChw7mP2gtB8D7EJP9lVsaJkIcZVNyoNoWYWaIk6UUteyIOcjHga083zGhWPEfpB
soAQfbZ6vKyooHG2E8mNzxJeH++eIOeNQqElaaTX2zXKjfg2ed1Rc+iQpwCg7CM0
GpIXhmMzN9aG5olskV+OBiED/RfO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JHzgCg2Zy4FJWHlyXbbhh/C+vKy9rH
yywAoMMXpA9RgFKILkyLQuUn1vFRPQmx
=cwca
-----END PGP PRIVATE KEY BLOCK-----}

Passphrase:
{qwerty}

Re: Sign and encrypt

hhhobbit > We will support OpenPGP/Mine, for reception it's sure, for sending it's will be nonstandard, but should work with enigma !

aluink -> For the moment, gmai's sing is different from normal sign (like editor), but it's will be standard with the next release. You can yet sign and verify sign between FireGPG's users, it's work (in most of case).

Re: Sign and encrypt

I don't understand, this was all tested with FireGPG, nothing was taken to an editor or the console.

Re: Sign and encrypt

RightClick, FireGPG, Open editor ?