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

Simple multi-sig #287

Open
awantoch opened this issue May 23, 2022 · 0 comments
Open

Simple multi-sig #287

awantoch opened this issue May 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@awantoch
Copy link
Contributor

Aside from Gnosis safes, we need to support a lightweight multi-sig system natively. In Valist v1, this was built into the smart contracts. For security and maintenance purposes, this was split off and multi-sig is now an outside factor of the contract.

However, since our releases are a linked list on-chain, and access control is also on-chain, we can perform client-side checks to configure multi-sig rules. This is a similar system to Ceramic, ION, and other DID + anchor based systems.

This will be at the Project-level. Account-level admins should continue using Safes for multi-sig.

An example flow:

  • Key generated for CI/CD environment
  • Address for this key is added to project member list
  • Multi-sig configuration is set for the project, containing the addresses and threshold
  • Valist clients check each release for the multi-sig configuration and mark whether or not it's valid

This makes the release tag unreliable for telling which version is actually live/production. This means we'll need to make the tag part of the metadata, and include this in the checks. Related to #285. Tags will become timestamp-based and continuous.

The logic will also be similar to Vercel and Netlify, in that each build has its own identifier and there can be logs of failed builds, but the builds that are promoted to specific environments are what the client sees.

@awantoch awantoch added the enhancement New feature or request label May 23, 2022
@awantoch awantoch self-assigned this May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant