Skip Menu |
 

Download (untitled) / with headers
text/plain 2.2KiB
From b17783@atalanta.ctd.anl.gov Tue May 29 16:59:31 2001
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id QAA22271
for <bugs@RT-11.mit.edu>; Tue, 29 May 2001 16:59:30 -0400 (EDT)
Received: from atalanta.ctd.anl.gov (atalanta.ctd.anl.gov [146.137.64.60])
by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id QAA00571
for <krb5-bugs@mit.edu>; Tue, 29 May 2001 16:59:30 -0400 (EDT)
Received: from orleans.ctd.anl.gov (localhost [127.0.0.1])
by atalanta.ctd.anl.gov (8.9.1a/8.9.1) with ESMTP id PAA11131
for <krb5-bugs@mit.edu>; Tue, 29 May 2001 15:59:29 -0500 (CDT)
Received: (from b17783@localhost)
by orleans.ctd.anl.gov (8.9.3+Sun/8.9.1) id PAA07185;
Tue, 29 May 2001 15:59:29 -0500 (CDT)
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
Subject: lib/crypto/dk_derive.c does not set enctype
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 959
>Category: krb5-libs
>Synopsis: dk_derive.c does not copy the enctype
>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: Thu Oct 18 21:23:59 EDT 2001
>Originator: Douglas Engert
>Organization:

Douglas E. Engert DEEngert@anl.gov
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
Show quoted text
>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

Show quoted text
>Description:

When dk_derive creates a new keyblock, it leaves the enctype
undefined.
Show quoted text
>How-To-Repeat:

Had problems when testing krb5-1.2.2 with GSS and FTP from
Windows to/from Unix.
Show quoted text
>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);


Show quoted text
>Audit-Trail:
>Unformatted:
krb5int_derive_keyblock still doesn't set the enctype of the result
keyblock, but none of its callers expect it to, so there shouldn't be any
visible bugs as a result. (I can't tell from the description in this
issue what the original visible bug was, so I don't know what fixed it,
but I'm pretty certain it's not present any more.)