Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version of tickets #211

Open
Zubastic opened this issue Oct 26, 2020 · 2 comments
Open

Version of tickets #211

Zubastic opened this issue Oct 26, 2020 · 2 comments

Comments

@Zubastic
Copy link
Contributor

Is your feature request related to a problem? Please describe.
#180

Problem with different version of token and keytab file. So if token version is more than keytab version we shouldn't try to decrypt and could just throw error, isn't it?

Describe the solution you'd like
Check version and return Invalid checksum error.

@SteveSyfuhs
Copy link
Collaborator

You mean the kvno in the ticket encrypted data? There's no guarantee it'll be present, or match what's in the keytab unfortunately. In most cases the keytab version doesn't have knowledge of the version stored in the directory so it wouldn't make sense to compare.

@Zubastic
Copy link
Contributor Author

Zubastic commented Oct 26, 2020

You mean the kvno in the ticket encrypted data? There's no guarantee it'll be present, or match what's in the keytab unfortunately. In most cases the keytab version doesn't have knowledge of the version stored in the directory so it wouldn't make sense to compare.

I got invalid checksum version for multiple times and every time kvno and keytab version didn't match :(
Now I check it with KerbDump (KerbDumpCore fails with invalid checksum error).
Maybe log warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants