Re: removing CHAP-MD5 from IScsiDxe
Daniel P. Berrangé <berrange@...>
On Thu, Apr 01, 2021 at 04:24:27PM +0200, Rabeda, Maciej wrote:
Hi,Linux kernel gained support for the SHA* family of hashes: commit a572d24af4d16e70743feb0b4decb17aaae7ce43 Author: Maurizio Lombardi <mlombard@...> Date: Mon Oct 28 13:38:20 2019 +0100 scsi: target: iscsi: CHAP: add support for SHA1, SHA256 and SHA3-256 This patch modifies the chap_server_compute_hash() function to make it agnostic to the choice of hash algorithm that is used. It also adds support to three new hash algorithms: SHA1, SHA256 and SHA3-256. The chap_got_response() function has been removed because the digest type validity is already checked by chap_server_open() Link: https://lore.kernel.org/r/20191028123822.5864-2-mlombard@redhat.com Signed-off-by: Maurizio Lombardi <mlombard@...> Tested-by: Chris Leech <cleech@...> Signed-off-by: Martin K. Petersen <martin.petersen@...> NB SHA1 is just as undesirable as MD5 these days, so only the other two are especially interesting/useful. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
|
|