I never got an answer to this last 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