Re: Successful LDAP signing test

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Sat, 20 Feb 2010 00:02:39 -0800 (PST)

On Sat, 20 Feb 2010, SM wrote:
>> We might be able to have dkim_sign() auto-select PEM/DER based on whether
>> or not the first five bytes are "-----", but I'm not sure how safe that is.
>
> That sounds like a good idea. However, if the header is stripped, you are
> then assuming that the format is DER.

More accurately: If the first five bytes aren't hyphens, then treat it
like we do public keys and base64-decode them, leaving us with a DER key.
Received on Sat Feb 20 2010 - 08:03:07 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:52 PST