From 9cbc2ed20f710326d16e8fe7357999eaa3f90142 Mon Sep 17 00:00:00 2001 From: наб Date: Thu, 13 May 2021 06:21:35 +0200 Subject: libzfs: add keylocation=https://, backed by fetch(3) or libcurl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for http and https to the keylocation properly to allow encryption keys to be fetched from the specified URL. Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia Ziemiańska Issue #9543 Closes #9947 Closes #11956 --- include/libzfs_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libzfs_impl.h b/include/libzfs_impl.h index dfb63285c..96b11dad1 100644 --- a/include/libzfs_impl.h +++ b/include/libzfs_impl.h @@ -72,6 +72,8 @@ struct libzfs_handle { boolean_t libzfs_prop_debug; regex_t libzfs_urire; uint64_t libzfs_max_nvlist; + void *libfetch; + char *libfetch_load_error; }; struct zfs_handle { -- cgit v1.2.3