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
{{ message }}
Repository navigation
Commit b1cad7b
Browse filesBrowse the repository at this point in the historyBrowse files
- Preserve the NTLM RC4 sealing state across MIC generation and verification ([#753](https://github.com/Devolutions/sspi-rs/issues/753)) ([5b2b137e13](https://github.com/Devolutions/sspi-rs/commit/5b2b137e13b6839790049727bdb742e967cb1248))
14
+
15
+
Generating or verifying a MIC no longer resets the NTLM RC4 sealing
16
+
handles, so a message sealed right after a MIC keeps the correct state.
17
+
CredSSP relies on this: it wraps `pubKeyAuth` after the initiator sends
18
+
its `mechListMIC` but before it verifies the acceptor's MIC, and the
19
+
previous reset dropped the advanced send state, corrupting the next
20
+
wrapped message. Sequence numbers are unchanged.
21
+
22
+
- Recover from KDC clock skew during the Kerberos AS exchange ([#757](https://github.com/Devolutions/sspi-rs/issues/757)) ([24c9c52352](https://github.com/Devolutions/sspi-rs/commit/24c9c5235204174e8d64b685c7633794a07fcc68))
23
+
24
+
When a KDC rejects encrypted AS pre-authentication with
25
+
`KRB_AP_ERR_SKEW`, the client derives the KDC time offset from the
26
+
error's `stime`/`susec` and retries once; a second skew error or any
27
+
other error is returned as before. The offset is applied to password,
28
+
keytab, and smart-card pre-authentication timestamps, and to subsequent
29
+
TGS, AP, and password-change authenticators, so Kerberos logon succeeds
0 commit comments