Add new enctypes for gss_krb5 (Round 4)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | gss_krb5: introduce encryption type frameworkinclude/ net/ net/ +3 more | +123 | 5 replies | |
| 2/22 | Don't expect blocksize to always be 8 when calculating paddingnet/ | +1 | 3 replies | |
| 3/22 | gss_krb5: gss_krb5: split up functions in preparation of adding new enctypesinclude/ net/ net/ +2 more | +69 | 0 replies | |
| 4/22 | gss_krb5: prepare for new context formatnet/ | +31 | 0 replies | |
| 5/22 | gss_krb5: introduce encryption type frameworkinclude/ net/ net/ +3 more | +203 | 1 reply | |
| 6/22 | gss_krb5: add ability to have a keyed checksum (hmac)include/ net/ net/ +3 more | +88 | 0 replies | |
| 7/22 | gss_krb5: import functionality to derive keys into the kernelinclude/ net/ net/ +1 more | +285 | 0 replies | |
| 8/22 | gss_krb5: handle new context format from gssdinclude/ net/ | +255 | 0 replies | |
| 9/22 | gss_krb5: add support for triple-des encryptioninclude/ net/ net/ +4 more | +88 | 0 replies | |
| 10/22 | Add new pipefs file indicating which Kerberos enctypes the kernel supportsnet/ | +31 | 3 replies | |
| 11/22 | Update pipefs file indicating which Kerberos enctypes the kernel supportsnet/ | +1 | 0 replies | |
| 12/22 | xdr: Add an export for the helper function write_bytes_to_xdr_buf()net/ | +1 | 1 reply | |
| 13/22 | gss_krb5: add support for new token formats in rfc4121include/ net/ net/ +2 more | +480 | 1 reply | |
| 14/22 | gss_krb5: add remaining pieces to enable AES encryption supportinclude/ net/ net/ +2 more | +376 | 0 replies | |
| 15/22 | gss_krb5: Update pipefs filenet/ | +1 | 0 replies | |
| 16/22 | arcfour-hmac supportinclude/ net/ net/ +2 more | +32 | 0 replies | |
| 17/22 | Save the raw session key in the contextinclude/ net/ | +14 | 0 replies | |
| 18/22 | More arcfour-hmac supportinclude/ net/ net/ +2 more | +15 | 1 reply | |
| 19/22 | Use confounder length in wrap codeinclude/ net/ net/ +1 more | +17 | 0 replies | |
| 20/22 | Add support for rc4-hmac encryptioninclude/ net/ net/ +4 more | +492 | 0 replies | |
| 21/22 | Update the pipefs filenet/ | +1 | 0 replies | |
| 22/22 | Fixed memory leak in gss_import_v1_context()net/ net/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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