[krbdev.mit.edu #9034] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Oct 28 15:34:05 EDT 2021


Thu Oct 28 15:34:05 2021: Request 9034 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9034 >



Use builtin MD4, RC4 for OpenSSL 3.0

In OpenSSL 3.0, to use MD4 or RC4 one must load the "legacy" crypto
provider.  To do this in libk5crypto, we would need to create and use
an OpenSSL library context to avoid interfering with other users of
the library.  Tearing down this context at finalization time would be
further complicated by OpenSSL's use of atexit() for library
finalization, which causes its finalizer to be run earlier than
properly registered finalizers on Linux.

For simplicity, use the builtin implementations of MD4 and RC4 for
OpenSSL 3.0 and later.  Also use the builtin DES key parity
implementation since OpenSSL 3.0 deprecates DES_set_odd_parity() with
no replacement.

https://github.com/krb5/krb5/commit/e557f051d1605ee980b136cae020866873ffb223
Author: Greg Hudson <ghudson at mit.edu>
Commit: e557f051d1605ee980b136cae020866873ffb223
Branch: master
 src/lib/crypto/krb/crypto_int.h |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list