[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: decoding



On 05/09/2008 06:31 PM, Frank McCormick wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Someone sent me an email which **appears* to be base64 encoded?


here's the first few lines:

- --Boundary_(ID_lsgMnwyfMlYdcpjna13q/Q)
Content-type: text/plain; charset=utf-8
Content-language:
Content-transfer-encoding: base64

U29tZSBSZWFsbHkgR3JlYXQgTW9tZW50cyBvZiBSYWRpbyB0aGlzIHdlZWsuIFdlIGhlYXJkIGZy
b20gaW5zaWRlIEJ1cm1hIGEgUXVlYmVjZXIncyBmaXJzdCBoYW5kIGFjY291bnQuIFdlIGxhdWdo
ZWQgb3ZlciB0aGUgVm9nZWwgZmFtaWx5J3Mgc3RpbGwgZHVyaW5nIFByb2hpYml0aW9uIGFuZCB3



It ends with :


- --Boundary_(ID_Ta8U5Dd8tk/FeCjCVPGiyw)--


Huh?

That's not the right boundary. Below is the right boundary.

- --Boundary_(ID_lsgMnwyfMlYdcpjna13q/Q)--


Base64 doesn't know what to do with this file.


Of course not. Base64 expects each message part to have a beginning and an end, and message parts cannot (AFAIK) be interleaved.

Help anyone?


I suspect that whatever software created the message is broken. Delete the spurious message boundary line and decode using munpack or another Base64 decoder. Since that is a private message to you, I won't ask you to send it to me, but I am curious...



Reply to: