lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250816031640.GA1309@sol>
Date: Fri, 15 Aug 2025 20:16:40 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: netdev@...r.kernel.org, David Ahern <dsahern@...il.com>,
	Stephen Hemminger <stephen@...workplumber.org>
Cc: Andrea Mayer <andrea.mayer@...roma2.it>,
	David Lebrun <dlebrun@...gle.com>
Subject: Re: [PATCH iproute2-next] man8: ip-sr: Document that passphrase must
 be high-entropy

On Fri, Aug 15, 2025 at 08:01:29PM -0700, Eric Biggers wrote:
> 'ip sr hmac set' takes a newline-terminated "passphrase", but it fails
> to stretch it.  The "passphrase" actually gets used directly as the key.
> This makes it difficult to use securely.
> 
> I recommend deprecating this command and replacing it with a command
> that either stretches the passphrase or explicitly takes a key instead
> of a passphrase.  But for now, let's at least document this pitfall.
> 
> Signed-off-by: Eric Biggers <ebiggers@...nel.org>
> ---
>  man/man8/ip-sr.8 | 20 ++++++++++++++++----
>  1 file changed, 16 insertions(+), 4 deletions(-)

Sorry, please disregard this version.  I had a (small) unstaged change
that I meant to include.  I'll send v2 with it included.

- Eric

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ