[7485] in Kerberos

home help back first fref pref prev next nref lref last post

Re: des_string_to_key() anomoly?

daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Fri Jun 14 11:55:01 1996

To: hughes@bodhi.it.iupui.edu (Larry J. Hughes Jr.)
Cc: kerberos@MIT.EDU
In-Reply-To: hughes's message of 13 Jun 1996 14:48:42 +0000.
	     <4pp9oa$n0j@usenet.ucs.indiana.edu> 
Date: Fri, 14 Jun 1996 11:34:51 -0400
From: Bill Sommerfeld <sommerfeld@apollo.hp.com>

-----BEGIN PGP SIGNED MESSAGE-----

content-type: text/plain; charset=us-ascii

   Seems that I am doing something wrong above, otherwise I wouldn't
   even be able to kinit on the MSBFIRST systems (but of course I can).

The kerberos DES implementation treats the key as a sequence of 8
8-bit values, not as a string of 2 32-bit values.

Try:
	for (i=0; i<8; i++) {fprintf(stderr, "%02x ", key[i]);}

instead..

						- Bill




-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMcGGlFpj/0M1dMJ/AQEHwQP+KDTvSPJpKtaQC1SpkVgMcRkRbYFHz5g0
FLCIP0YpHzdiOSD3asMV1vGQydTrZOqGnLGklSuapYA7CO79jJT3cmdsy29rUZlg
Ay3D1rGAoP3/N5Tc1+lTCBxv3eLWiJ2oWQp3lFI7v55X+gSZEPszkJIHm8bDTP6K
MtA7352BeH8=
=dEf6
-----END PGP SIGNATURE-----

home help back first fref pref prev next nref lref last post