Darren J Moffat
2008-Jan-16 20:10 UTC
[zfs-code] PROP_TYPE_BINARY or base64 encode to PROP_TYPE_STRING
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