Skip to content

Commit b1cad7b

Browse files
devolutionsbotCBenoitCopilot
authored
chore(release): prepare for publishing (#754)
Co-authored-by: Benoît CORTIER <git.divisible626@passmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 0a5a3b8 commit b1cad7b

5 files changed

Lines changed: 114 additions & 78 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [[0.22.1](https://github.com/Devolutions/sspi-rs/compare/sspi-v0.22.0...sspi-v0.22.1)] - 2026-09-29
10+
11+
### <!-- 4 -->Bug Fixes
12+
13+
- 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
30+
when the local clock differs from the KDC's.
31+
932
## [[0.22.0](https://github.com/Devolutions/sspi-rs/compare/sspi-v0.21.3...sspi-v0.22.0)] - 2026-09-15
1033

1134
### <!-- 1 -->Features

0 commit comments

Comments
 (0)