Skip to content

Support TFTP as a keylocation #17819

@johnlane

Description

@johnlane

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions