1 parent 50d51c3 commit 76f45b4Copy full SHA for 76f45b4
1 file changed
tesla_fleet_api/exceptions.py
@@ -480,7 +480,11 @@ class SessionInfoAuthenticationFault(TeslaFleetError):
480
Raised when the reply's ``session_info_tag`` HMAC does not verify, is
481
absent, the echoed ``request_uuid`` does not match the outstanding
482
request it claims to answer, or its clock time regresses within the same
483
- epoch. The session's prior state is left unmodified.
+ 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.
488
"""
489
490
message = "Session info reply failed authentication and was discarded."
0 commit comments