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