[Freeipa-devel] [PATCH] 364 base64-encode binary data for outputting to cli

2010-02-01 Thread Rob Crittenden
The python type (str or unicode) tells us whether a variable is binary or text. Use this knowledge to base64-encode binary data so we stop hosing up terminals, especially when displaying certificates. rob freeipa-364-cli.patch Description: application/mbox

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

2010-02-01 Thread Rob Crittenden
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

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

2010-02-01 Thread John Dennis
On 02/01/2010 02:05 PM, Rob Crittenden wrote: 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