All of lore.kernel.org
 help / color / mirror / Atom feed
* LINUX NFS support for SHA256 hash types
@ 2022-09-28 12:04 jaganmohan kanakala
  2022-09-29 16:18 ` Chuck Lever III
  0 siblings, 1 reply; 5+ messages in thread
From: jaganmohan kanakala @ 2022-09-28 12:04 UTC (permalink / raw)
  To: linux-nfs

Hi Linux-NFS team,

I'm trying to set up the Kerberos5 setup with MIT as the KDC on my
RHEL 8 machines.
I'm able to get the setup working with Kerberos encryption types where
the hash type is SHA1 (aes128-cts-hmac-sha1-96 and
aes256-cts-hmac-sha1-96).

As SHA1 is kind of obsolete, my goal is to get my setup working for
SHA256 hash types (aes128-cts-hmac-sha256-128,
aes256-cts-hmac-sha384-192).

I tried that. The communication between the Linux client and MIT KDC
is aes128-cts-hmac-sha256-128, but the communication between the Linux
client and Linux NFS server is only aes256-cts-hmac-sha1-96.

When I checked the Linux upstream code I see that there is no support
for SHA256 (and above) hash types.

https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/net/sunrpc/auth_gss/gss_krb5_mech.c

Have I looked at the right source code?
Does the latest Linux NFS server has support for kerberos encryption
types aes128-cts-hmac-sha256-128, aes256-cts-hmac-sha384-192 ?

Can anyone confirm?

BR,
Jaganmohan K

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-28 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 12:04 LINUX NFS support for SHA256 hash types jaganmohan kanakala
2022-09-29 16:18 ` Chuck Lever III
2022-10-07  9:27   ` jaganmohan kanakala
     [not found]   ` <CAK6vGw=50xecARE1MHmB73VrQS_OFzSqA5c1JF9AuOmjusUDNg@mail.gmail.com>
2024-03-25 14:33     ` [External] : " Chuck Lever III
2024-03-28 19:42       ` Scott Mayhew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.