appl/simple/client/sim_client.c uses internal APIs

Greg Hudson ghudson at mit.edu
Fri Feb 24 14:06:59 EST 2023


On 2/23/23 12:34, Sam Hartman wrote:
> I also think that the simple client referred to in the subject has a
> bunch of anti-patterns.
> As an example, I don't think it integrity protects or encrypts its
> exchanges

I think appl/simple actually does protect messages but appl/sample does not.

It looks like the uses of krb5_gen_portaddr() and krb5_gen_replay_name() 
in sim_client.c don't do anything after commit 
dcb853ac32779b173f39e19c0f24b0087de85771 so they can be removed (I just 
didn't realize it at the time).


More information about the Kerberos mailing list