Whamcloud - gitweb
LU-15408 sec: confirm encrypted file's hash 64/45964/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 4 Jan 2022 17:16:47 +0000 (18:16 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Jan 2022 06:19:23 +0000 (06:19 +0000)
commit9d98d1f7739e05bb4decf2614899ccb99b34826c
tree004f2c2a5418b1ac8920fe5bdcbc9c544ef81074
parent64ba2b18349b56c5d7ade944ea713bade84bc02e
LU-15408 sec: confirm encrypted file's hash

It is a good practice to always confirm on server side the encrypted
file's hash included in the digested form sent by the client.

Fixes: ed4a625d88 ("LU-13717 sec: filename encryption - digest support")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I42212a36b23e4e6e41184a78fa8244c5e2d8dd1f
Reviewed-on: https://review.whamcloud.com/45964
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_reint.c