You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the kvno is zero then the latest kvno will be returned. The kvno is also returned for
states that the latest key will be returned if knvo is zero. This appears to be false: if knvo=0 then the function returns the key contained in the first entry of kt with matching principal and enctype, because of the assignment here:
As a consequence, the same function returns different keys in v7 and v8.
A solution would be to use a separate variable for the knvo of the returned key.
I noticed this since migration to v8 broke the clients in a library of mine. Connection with v7 is possible without problems, v8 fails.
The text was updated successfully, but these errors were encountered:
The comment here
gokrb5/v8/keytab/keytab.go
Line 71 in 9822c92
knvo
is zero. This appears to be false: ifknvo=0
then the function returns the key contained in the first entry ofkt
with matching principal andenctype
, because of the assignment here:gokrb5/v8/keytab/keytab.go
Line 89 in 9822c92
As a consequence, the same function returns different keys in v7 and v8.
A solution would be to use a separate variable for the knvo of the returned key.
I noticed this since migration to v8 broke the clients in a library of mine. Connection with v7 is possible without problems, v8 fails.
The text was updated successfully, but these errors were encountered: