Skip to content

Add new enctypes for gss_krb5 (Round 4)

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22gss_krb5: introduce encryption type frameworkinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_gss/gss_krb5_crypto.c +3 more+123 -85 replies
2/22Don't expect blocksize to always be 8 when calculating paddingnet/sunrpc/auth_gss/gss_krb5_wrap.c+1 -43 replies
3/22gss_krb5: gss_krb5: split up functions in preparation of adding new enctypesinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_mech.c net/sunrpc/auth_gss/gss_krb5_seal.c +2 more+69 -120 replies
4/22gss_krb5: prepare for new context formatnet/sunrpc/auth_gss/gss_krb5_mech.c+31 -80 replies
5/22gss_krb5: introduce encryption type frameworkinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_mech.c +3 more+203 -681 reply
6/22gss_krb5: add ability to have a keyed checksum (hmac)include/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_mech.c +3 more+88 -340 replies
7/22gss_krb5: import functionality to derive keys into the kernelinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/Makefile net/sunrpc/auth_gss/gss_krb5_keys.c +1 more+285 -10 replies
8/22gss_krb5: handle new context format from gssdinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_mech.c+255 -10 replies
9/22gss_krb5: add support for triple-des encryptioninclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_keys.c +4 more+88 -00 replies
10/22Add new pipefs file indicating which Kerberos enctypes the kernel supportsnet/sunrpc/rpc_pipe.c+31 -03 replies
11/22Update pipefs file indicating which Kerberos enctypes the kernel supportsnet/sunrpc/rpc_pipe.c+1 -10 replies
12/22xdr: Add an export for the helper function write_bytes_to_xdr_buf()net/sunrpc/xdr.c+1 -01 reply
13/22gss_krb5: add support for new token formats in rfc4121include/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_seal.c +2 more+480 -01 reply
14/22gss_krb5: add remaining pieces to enable AES encryption supportinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_keys.c +2 more+376 -100 replies
15/22gss_krb5: Update pipefs filenet/sunrpc/rpc_pipe.c+1 -10 replies
16/22arcfour-hmac supportinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_seal.c +2 more+32 -160 replies
17/22Save the raw session key in the contextinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_mech.c+14 -140 replies
18/22More arcfour-hmac supportinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_seal.c net/sunrpc/auth_gss/gss_krb5_seqnum.c +2 more+15 -111 reply
19/22Use confounder length in wrap codeinclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_mech.c +1 more+17 -80 replies
20/22Add support for rc4-hmac encryptioninclude/linux/sunrpc/gss_krb5.h net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_krb5_mech.c +4 more+492 -130 replies
21/22Update the pipefs filenet/sunrpc/rpc_pipe.c+1 -10 replies
22/22Fixed memory leak in gss_import_v1_context()net/sunrpc/auth_gss/gss_krb5_mech.c net/sunrpc/auth_gss/gss_krb5_unseal.c+12 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/22] Add new enctypes for gss_krb5 (Round 4)

From: Steve Dickson <[email protected]>

This is round 4 of the Kevin Coffman's patches that added three additional encryption types to the rpcsec_gss kernel code. Here is a pointer to Kevin's last posting

    http://marc.info/?l=linux-nfs&m=121010783625159&w=2

These patches were tested a this year's connectathon in which not issues were found.

There are also a three nfs-utils patches that needed to be applied to the gssd daemons to complete this. Those will be posted asap...

Please consider including these in the next kernel release...

steved.

Kevin Coffman (21):
gss_krb5: introduce encryption type framework
Don't expect blocksize to always be 8 when calculating padding
gss_krb5: gss_krb5: split up functions in preparation of adding new
enctypes
gss_krb5: prepare for new context format
gss_krb5: introduce encryption type framework
gss_krb5: add ability to have a keyed checksum (hmac)
gss_krb5: import functionality to derive keys into the kernel
gss_krb5: handle new context format from gssd
gss_krb5: add support for triple-des encryption
Add new pipefs file indicating which Kerberos enctypes the kernel
supports
Update pipefs file indicating which Kerberos enctypes the kernel
supports
xdr: Add an export for the helper function write_bytes_to_xdr_buf()
gss_krb5: add support for new token formats in rfc4121
gss_krb5: add remaining pieces to enable AES encryption support
gss_krb5: Update pipefs file
arcfour-hmac support
Save the raw session key in the context
More arcfour-hmac support
Use confounder length in wrap code
Add support for rc4-hmac encryption
Update the pipefs file

Peter Staubach (1):
Fixed memory leak in gss_import_v1_context()

 include/linux/sunrpc/gss_krb5.h       |  184 ++++++++-
 net/sunrpc/auth_gss/Makefile          |    2 +-
 net/sunrpc/auth_gss/auth_gss.c        |   14 +-
 net/sunrpc/auth_gss/gss_krb5_crypto.c |  715 ++++++++++++++++++++++++++++++++-
 net/sunrpc/auth_gss/gss_krb5_keys.c   |  335 +++++++++++++++
 net/sunrpc/auth_gss/gss_krb5_mech.c   |  581 +++++++++++++++++++++++++--
 net/sunrpc/auth_gss/gss_krb5_seal.c   |  156 ++++++--
 net/sunrpc/auth_gss/gss_krb5_seqnum.c |   83 ++++-
 net/sunrpc/auth_gss/gss_krb5_unseal.c |  113 +++++-
 net/sunrpc/auth_gss/gss_krb5_wrap.c   |  476 +++++++++++++++++++---
 net/sunrpc/auth_gss/gss_mech_switch.c |   14 +
 net/sunrpc/auth_gss/svcauth_gss.c     |   15 +
 net/sunrpc/rpc_pipe.c                 |   31 ++
 net/sunrpc/xdr.c                      |    1 +
 14 files changed, 2553 insertions(+), 167 deletions(-)
 create mode 100644 net/sunrpc/auth_gss/gss_krb5_keys.c