heimdal icon indicating copy to clipboard operation
heimdal copied to clipboard

Fix handling of FILE ccache removed creds

Open jaltman opened this issue 8 months ago • 0 comments

For compatibility with MIT both endtime and authtime must be modified in order for the cred to be ignored when iterating the ccache contents.

Heimdal fcc_next_cred() must ignore removed credentials when iterating and not pass them back to the application. Returning a cred with endtime < authtime violates the spirit of RFC4120 which requires that a KDC not return a cred with an endtime < the starttime or authtime.

jaltman avatar Jun 17 '24 16:06 jaltman