This is a proposed use case? of accessors. Perhaps it could use the Signpost
Scenario
- The user is in a car that parks itself at a parking meter.
- The parking meter offers an accessor to the system on the car
- The car accepts that accessor and authenticates it (IotAuth)
- The car runs the parking meter accessor in a Sandbox
- The car asks the user if they want to pay using their wallet accessor.
Discussion
- A common interface for parking meters would need be defined
- Current Rate and valid time period
- The user would state how long they want to park and the accessor would check to see if the time period was valid
- Valid vehicle type or permit
- Commercial plates with city permit can park in a yellow zone
- Handicap tag and person with a handicap card park for free
- Etc.
The key thing is that a simple interface is defined and it is up to the implementer to define how the car communicates with the parking meter.
There might be different protocols and different communication methods (BLE, WiFi etc.)
Security
- Authentication: The accessor downloaded from the parking meter must be associated with the local parking meter authority, not some random person
- The accessor downloaded must not have been tampered with (Secure Checksum)
- Running the accessor in a Sandbox is a good idea
To Do
- Figure out what is necessary to deploy an accessor to the Signpost
- This could involve the Rust Host
- Resolve authentication issues, perhaps using IotAuth
- Use the Sandbox
See Also