Skip to content

security v3: valid_at_location #262

@khevessy

Description

@khevessy

I am not completely sure if we did not already discuss this, but some of the location checks for V3 certificate are not implemented:

https://github.com/riebl/vanetza/blame/40776241ecc758100b0b3b17caac7dcdfcacb0ec/vanetza/security/v3/certificate.cpp#L107

https://github.com/riebl/vanetza/blame/40776241ecc758100b0b3b17caac7dcdfcacb0ec/vanetza/security/v3/certificate.cpp#L110

We encountered the Region one in real life. Our fix was to just put return true; in the appropriate case. To be honest this approach does not seem right, but basically silently failing took a little time to debug. Maybe there could be some option for toggling this check on/off?

Btw the region restriction seems like a nightmare to check based on location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions