[3214] in Kerberos-V5-bugs
krb5-libs/959: lib/crypto/dk_derive.c does not set enctype
daemon@ATHENA.MIT.EDU (Douglas Engert)
Tue May 29 17:00:09 2001
Resent-From: gnats@rt-11.mit.edu (GNATS Management)
Resent-To: krb5-unassigned@rt-11.mit.edu
Resent-Reply-To: krb5-bugs@MIT.EDU, b17783@achilles.ctd.anl.gov
Message-Id: <200105292059.PAA07185@orleans.ctd.anl.gov>
Date: Tue, 29 May 2001 15:59:29 -0500 (CDT)
From: Douglas Engert <b17783@achilles.ctd.anl.gov>
Reply-To: b17783@achilles.ctd.anl.gov
To: krb5-bugs@mit.edu
>Number: 959
>Category: krb5-libs
>Synopsis: dk_derive.c does not copy the enctype <to synopsis of the problem (one line)>
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue May 29 17:00:00 EDT 2001
>Last-Modified:
>Originator: Douglas Engert
>Organization:
Douglas E. Engert DEEngert@anl.gov
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
>Release: krb5-1.2.2
>Environment:
All
System: SunOS orleans.ctd.anl.gov 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
>Description:
When dk_derive creates a new keyblock, it leaves the enctype
undefined.
>How-To-Repeat:
Had problems when testing krb5-1.2.2 with GSS and FTP from
Windows to/from Unix.
>Fix:
*** ,derive.c Wed Feb 28 16:07:31 2001
--- derive.c Sun May 27 13:22:04 2001
***************
*** 99,104 ****
--- 99,106 ----
(*(enc->make_key))(&inblock, outkey);
+ outkey->enctype = inkey->enctype;
+
/* clean memory, free resources and exit */
memset(inblockdata, 0, blocksize);
>Audit-Trail:
>Unformatted: