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

RFC: Add-on verified #2762

Open
pvizeli opened this issue Mar 28, 2021 · 0 comments
Open

RFC: Add-on verified #2762

pvizeli opened this issue Mar 28, 2021 · 0 comments
Labels
rfc RFC

Comments

@pvizeli
Copy link
Member

pvizeli commented Mar 28, 2021

Context

Today, we have only the rating to see how carefully an add-on can affect the Host system (not the ecosystem itself).
However, we have no way to show bad actors or show users which add-on comes from a trusted source which is not part of the rating.

Decision

We create a new badge on the add-on front view and show a mdi:certificate in the corner and color based on the verified state. We have new API attributes for add-ons verified they can hold 4 states: owner, none, malware, full. Full is for the internal preinstalled repository only.

We create a new file on our fetch URL: store_verification.json:

"owner": [
   {
       "name": "XY",
       "repository": "http://xy",
   }
],
"full": [
   {
       "name": "XY",
       "repository": "http://xy",
   }
],
"malware": [
   {
       "name": "XY",
       "repository": "http://xy"
   }
]

The repository field work as a matcher and doesn't need the full URL to the repository.

We only add stores to the verified owner list, if they are:

  • Well known community or other public projects leaders
  • We have the full contact details of the Person
  • These people sign a promise to not affect people installation and follow the best praxis

Malware stores get listed if there exists a risk that people destroy their installation or data get leaked.

This list is part of the codebase and can be updated over CF.

@pvizeli pvizeli added the rfc RFC label Mar 28, 2021
@home-assistant home-assistant locked as too heated and limited conversation to collaborators Mar 28, 2021
@pvizeli pvizeli changed the title RFC: Add-on certificate of Trust RFC: Add-on verified Mar 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
rfc RFC
Projects
None yet
Development

No branches or pull requests

1 participant