Nicolas Williams
03f06b9472
base: Prettier JSON output / options
...
- Add flags for indenting with 2, 4, or 8 spaces, still defaulting to
tabs if none of those are set.
- Don't emit a newline before emitting scalar values in dicts.
2022-10-01 00:15:37 -05:00
Nicolas Williams
c6a46f0c96
base: Implement JSON string escaping
...
We encode JSON in the KDC's audit logs, and soon in bx509d's /get-tgts.
Therefore, we should be reasonable in terms of what we encode.
2022-09-29 17:05:24 -05:00
Love Hörnquist Åstrand
37afa01be3
rename roken base64, fixes #107
2014-08-22 20:57:24 -07:00
Andrew Bartlett
1fad1f8984
lib/base: Rename strbuf to heim_strbuf to avoid conflict with stropts.h on linux
2014-03-24 23:07:52 -05:00
Love Hornquist Astrand
9f979d20d7
prefix json functions
2013-07-16 13:06:57 +02:00
Love Hornquist Astrand
b301e47fb8
rename heim_serialize to heim_copy_serialize to follow create/copy/get semantics
2013-06-03 21:46:20 -07:00
Love Hornquist Astrand
58ff480763
rewrite send to kdc to be more agressive, try kdcs in paralell and easier to configure behavior
2013-02-10 19:02:52 -08:00
Love Hornquist Astrand
029de6cfa4
pass back an heim_error from hx509_cert_init
2012-10-07 06:33:13 -07:00
Nicolas Williams
98809e86ce
Move base into lib
...
This involves reverting dd267e8fc3 ,
but that gets lost in the move.
This builds on Ubuntu and Windows at this time.
2012-06-20 19:32:08 -05:00