Encode blobs with Base64 in ckm tools 17/199917/4
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 15 Feb 2019 12:40:39 +0000 (13:40 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Tue, 19 Feb 2019 16:15:25 +0000 (17:15 +0100)
commitf1fcc2e65a5ee398c8121621ddf10a259c395db3
tree0541d93245246c26bb0ba0378ab610dc9e4b02bb
parentee2c14eb1eafd0ecbdb660a8deb8568090230e33
Encode blobs with Base64 in ckm tools

If an unprintable data is returned as a result of sqlite query
execution it will be encoded in base64 and prefixed with "b64:". This
is to make binary data readable in ckm_db_tool/merge.

Also extend the maximum size of printed row to 64 characters.

Change-Id: I4471090977b19ded9b1bea76f26ff1b98d5ba826
tools/ckm_db_tool/db-wrapper.cpp