Describe the feature you would like to see added to OpenZFS
It would be good if keylocation could use TFTP (or any protocol offered by curl).
How will this feature improve OpenZFS?
It would increase options for key storage.
Additional context
If zfs already uses curl (or libcurl) for http/https keys then it ought to be a simple extension to allow the URL passed to curl to be anything that curl will accept. Currently attempting to use tftp results in an error becuase, I guess, zfs performs validity checking on the given url
# zfs set keylocation=tftp://192.168.123.45/keys/myhost-mypool-enc-dataset.key mypool/enc
cannot set property for 'mypool/enc': invalid keylocation
(I didn't expect it to work because it isn't documented; I just tried it hoping that it would.)
Describe the feature you would like to see added to OpenZFS
It would be good if
keylocationcould use TFTP (or any protocol offered bycurl).How will this feature improve OpenZFS?
It would increase options for key storage.
Additional context
If zfs already uses
curl(orlibcurl) for http/https keys then it ought to be a simple extension to allow the URL passed tocurlto be anything thatcurlwill accept. Currently attempting to usetftpresults in an error becuase, I guess, zfs performs validity checking on the given url(I didn't expect it to work because it isn't documented; I just tried it hoping that it would.)