Darren J Moffat
2008-Mar-10 12:35 UTC
[zfs-code] PROP_TYPE_BINARY or base64 encode to PROP_TYPE_STRING
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
Seemingly Similar Threads
- RubyRails ActiveRecord base64 encode/decode of binary data
- [PATCH 0/1] Base64-encode non-printable data
- Convert base64 encode string into image using paperclip
- have anyone configured "synproxy state" beforce (Sorry for the previouly base64 encode mail caused by M$ outlook)
- On disk SMI & EFI label documentation