E-mail encryption

Glenn Steen glenn.steen at GMAIL.COM
Sat Oct 22 15:27:06 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On 22/10/05, Spicer, Kevin <KevinS at bmrb.co.uk> wrote:
>  -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Glenn Steen
> On 21/10/05, Leif Neland <mailscanner-user at neland.dk> wrote:
> > >> But my .cer file looks like this:
> > >> -----BEGIN CERTIFICATE-----
> > >> MIIFMDCCBBigAwIBAgIEP7wCADANBgkqhkiG9w0BAQUFADAxMQswCQYDVQQGEwJESzE
> > >> MMAoGA1UE^M
> > >> ChMDVERDMRQwEgYDVQQDEwtUREMgT0NFUyBDQTAeFw0wMzEyMjcxNjAxMTVaFw0wNTE
> > >> yMjcxNjMx^M
> > >> MTVaMHMxCzAJBgNVBAYTAkRLMSkwJwYDVQQKEyBJbmdlbiBvcmdhbmlzYXRvcmlzayB
> > >> 0aWxrbnl0^M
>
> > Well then, either I'm completely off-base (wouldn't be the first
> time... this week either:-) or
> > there is something slightly wrong with the "raw key". Perhaps in the
> "line boundary" department?
>
> Yes, theres dos line endings there (^M) that shouldn't be.  run the file
> through dos2unix, or if you've not got that on your system...
>
> perl -e 'while (<STDIN>)  { s/\r\n/\n/; print }' < old.cer > new.cer
>
Only real risk with that on "raw binary data" is of course that you'll
sometimes perhaps truncate some CR/LF combinations that shouldn't be
truncated. Sigh. If the keys are mangled in some way by MS, it'd be
best if Jules took a look at it... Less margin for error (especially
compared to me looking, or worse... frobbbing:-)

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list