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.2.0+W3C-0.50 : Sat Feb 20 2010 - 14:50:02 PST