dappnode / DNP_DAPPMANAGER

Dappnode package responsible for providing the Dappnode Package Manager
GNU General Public License v3.0
29 stars 35 forks source link

Package signature verification using Safe #1954

Open dappnodedev opened 1 month ago

dappnodedev commented 1 month ago

There will be a new way of publishing packages, which will involve approving the publishing using a Safe.

To identify if a package is verified:

  1. Look for the signature inside the package and check if the public key is among the trusted ones (current method)
  2. If there is no signature inside the package, check if any of the developer addresses (or, maybe, owner addresses) is a Safe. In case it is, perform a call to a function that returns whether the package has been authorized by it.