nfs-utils: encrypted filehandle support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nfsdctl: Add support for passing encrypted filehandle keyconfigure.ac nfs.conf systemd/ +4 more | +145 | 0 replies | |
| 2/2 | exportfs: Add support for export option encrypt_fhsupport/ support/ utils/ +1 more | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] nfs-utils: encrypted filehandle support
Here are two patches allowing userspace to set a secret key for kNFSD to encrypt filehandles, and also set the option to encrypt filehandles for an export.
The secret key is only implemented via nfs.conf and "nfsdctl autostart", as further interfaces to set it into the kernel have not yet been built. I expect we may need a way for rpc.nfsd to set the key - but perhaps the community would like to continue to transition to nfsdctl for future features.
Comments and critique welcomed.
Benjamin Coddington (2):
nfsdctl: Add support for passing encrypted filehandle key
exportfs: Add support for export option encrypt_fh
configure.ac | 4 +- nfs.conf | 1 + support/include/nfs/export.h | 2 +- support/nfs/exports.c | 4 ++ systemd/nfs.conf.man | 1 + utils/exportfs/exportfs.c | 2 + utils/exportfs/exports.man | 6 ++ utils/nfsdctl/Makefile.am | 2 +- utils/nfsdctl/nfsd_netlink.h | 2 + utils/nfsdctl/nfsdctl.c | 132 ++++++++++++++++++++++++++++++++++- utils/nfsdctl/nfsdctl.h | 10 ++- 11 files changed, 158 insertions(+), 8 deletions(-)
Signature · 1 line
2.50.1