Skip to content

Easee cached session proof survives an offline gap #1241

Closed

Description

@frahlg

In the Easee driver candidate, the early return for offline observations skips invalidation of previously verified session identity. If the car changes during the outage and observation 223 still contains the old session when the charger reconnects, Core can receive the old vehicle identity without another ongoing-session check.

Local reproduction: validate session A, return mode 0 without new telemetry, change the ongoing endpoint to session B, then return connected mode 2 with historical observation A. The new regression fails with offline proof restored an old vehicle before the fix. Unreadable observation responses need the same invalidation.

Expected: emit no invented unplug during the outage, invalidate cached proof, and revalidate when fresh observations return. Keep the previous battery record separate from proof that it belongs to the currently connected car. Fix and regression are in srcfl/device-drivers#116, integrated by #1240.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions