[Freeipa-devel] [PATCH] 365 be smarter about base64 decoding

Rob Crittenden rcritten at redhat.com
Mon Feb 1 19:05:36 UTC 2010


Try to be a little smarter about base64 decoding certificates. For the 
most part certificates are handled as DER blobs internally. When loading 
certs from files or an NSS database they may come in as base64-endoded 
blobs but they will also have BEGIN/END headers to use those to 
distinguish between what should and shouldn't be decoded.

Hopefully this will be the last we see of this.

I was going to address some of the code duplication that John pointed 
out earlier in this patch but figured I'd keep this short and simple and 
do that work later.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-365-der.patch
Type: application/mbox
Size: 4065 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100201/11fa8c32/attachment.mbox>


More information about the Freeipa-devel mailing list