Displaying 1 result from an estimated 1 matches for "prop_type_string".
2008 Mar 10
0
PROP_TYPE_BINARY or base64 encode to PROP_TYPE_STRING
...time and I really need to know the
answer to this. I have PROP_TYPE_BINARY implemented but I think it is
causing some issues elsewhere (it might be incomplete).
-- original question asked 2008-01-16 --
For storing the wrapped per dataset encryption keys as a (hidden)
property I have been using PROP_TYPE_STRING. However this isn''t really
correct since they aren''t strings but binary data.
Should I a) add PROP_TYPE_BINARY - which I would likely map to
uint8_array for nvlists.
Or b) base64 encode the wrapped key and store it in PROP_TYPE_STRING
--
Darren J Moffat