Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should we handle updates that are location-focused? #161

Closed
tkfu opened this issue Mar 17, 2020 · 10 comments · Fixed by uptane/deployment-considerations#44
Closed

How should we handle updates that are location-focused? #161

tkfu opened this issue Mar 17, 2020 · 10 comments · Fixed by uptane/deployment-considerations#44

Comments

@tkfu
Copy link
Member

tkfu commented Mar 17, 2020

There are certain types of updates, like maps, rules-of-the-road, or emergency traffic notifications, that are relevant to vehicles based on their specific location. How can Uptane be extended to help secure these use cases?

Note: this issue is split off from #120 to consider the location-specific use case. Discussion of the factory flashing/updating use case for non-ECU-targeted updates continues on that issue.

@kyusuk
Copy link

kyusuk commented Mar 18, 2020

Interesting topic. By the way, maps and rules are static, while emergency traffic notification is dynamic and needs real-time communication. We may need to consider Uptane principle for data stream for later case.

@pattivacek
Copy link
Collaborator

pattivacek commented Mar 18, 2020

maps and rules are static

I don't agree. They might be static, and it's true that emergency notifications are likely to change more quickly and perhaps demand a higher level of dynamic control, but maps and rules can absolutely change over time.

@pattivacek
Copy link
Collaborator

pattivacek commented Mar 31, 2020

To summarize some of our discussion on the call and my understanding:

  • There might again actually be two issues issues here:
  1. Emergency government override, which should have a higher authority than the OEM. This may require two Directors (one from the government and one from the OEM) or this may be outside of Uptane as we know it.
  2. Maps, rules-of-the-road, or other non-emergency information that can still use the OEM's Director for distribution, but are non-unique to a vehicle and instead are tied to a location or something else.
  • The first case I don't have a good handle on, but the second I might. Here are my thoughts:
    • Image repo would have to indicate the target applies only to a specific region (instead of a hardware identifier?).
    • There is a URL type for describing location that we could use. It includes a way to specify a radius. (See Ira's comment in #120.)
    • The device would report its location in the manifest and Director would respond (presumably automatically) to the device using that location and the device identifier.

@JustinCappos
Copy link
Contributor

JustinCappos commented Mar 31, 2020 via email

@pattivacek
Copy link
Collaborator

The emergency government override isn't in scope here. It would be a separate issue (multi-director / image repo) as you correctly pointed out.

That makes sense to me. I've created #162 to cover the government emergency use case (item 1 in my previous comment) while we can continue discussing non-emergency location-based updates (item 2 in my previous comment) here.

@jhdalek55
Copy link
Contributor

Could we get some additional feedback and/or maybe a draft PR here before our next meeting?

@pattivacek
Copy link
Collaborator

Should we approach this by changing the Standard to explicitly allow it, or should we add a chapter to the Deployment Considerations that lays out how to do it? I'm leaning towards the latter with the aim of keeping the "default" or "normal" use case as simple as we can.

@iramcdonald
Copy link

iramcdonald commented Apr 14, 2020 via email

@jhdalek55
Copy link
Contributor

jhdalek55 commented Apr 27, 2020

PR#44 has been merged on the Deployment pages. Have we sufficiently addressed this issue, or should we continue to leave it open?

@pattivacek
Copy link
Collaborator

PR#44 has been merged on the Deployment pages. Have we sufficiently addressed this issue, or should we continue to leave it open?

In my opinion, this has been addressed and we should focus on the other open issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants