Skip to content

Commit 76f45b4

Browse files
committed
no-mistakes(document): Fix stale SessionInfoAuthenticationFault docstring for empty-publicKey case
1 parent 50d51c3 commit 76f45b4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tesla_fleet_api/exceptions.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,11 @@ class SessionInfoAuthenticationFault(TeslaFleetError):
480480
Raised when the reply's ``session_info_tag`` HMAC does not verify, is
481481
absent, the echoed ``request_uuid`` does not match the outstanding
482482
request it claims to answer, or its clock time regresses within the same
483-
epoch. The session's prior state is left unmodified.
483+
epoch. Also raised when the reply carries an empty ``publicKey`` (so no
484+
shared key can be derived to verify a tag) with a status other than
485+
``SESSION_INFO_STATUS_KEY_NOT_ON_WHITELIST``, which raises
486+
``NotOnWhitelistFault`` instead. The session's prior state is left
487+
unmodified.
484488
"""
485489

486490
message = "Session info reply failed authentication and was discarded."

0 commit comments

Comments
 (0)