OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-591-g5d53ed0

Gerrit Code Review
Fri, 15 May 2020 00:13:28 -0400

The following commit has been merged in the master branch:
commit 5d53ed0bdab6fea6d2426691bdef2b6f9cb7f2fe
Author: Yadavendra Yadav <>
Date:   Wed Apr 29 05:10:05 2020 +0000

    rxkad: Use krb5_enctype_keysize in tkt_DecodeTicket5
    Inside tkt_DecodeTicket5 (rxkad/ticket5.c) function, keysize is calculated
    using krb5_enctype_keybits and then dividing number of bits by 8. For 3DES
    number of keybits are 168, so keysize comes out to 21(168/8). However
    actual keysize of 3DES key is 24. This keysize is passed to
    _afsconf_GetRxkadKrb5Key where keysize comparison happens, since there is
    keysize mismatch it returns AFSCONF_BADKEY.
    To fix this issue get keysize from krb5_enctype_keysize function instead
    of krb5_enctype_keybits. Thanks to John Janosik (
    for analyzing and fixing this issue.
    Change-Id: Ia6f70b878feaa91855f9544ec1de81a6196a85a8
    Tested-by: BuildBot <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Benjamin Kaduk <>

 src/crypto/rfc3961/afsrfc3961.def |    1 +
 src/rxkad/ticket5.c               |    3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

OpenAFS Master Repository