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

Add anti-grinding defense before accessing sealed keys #48

Open
amiller opened this issue Jun 5, 2024 · 0 comments
Open

Add anti-grinding defense before accessing sealed keys #48

amiller opened this issue Jun 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@amiller
Copy link
Collaborator

amiller commented Jun 5, 2024

The initial version of Sirrah had the nice feature that you had to check in on chain before accessing any sensitive information. Of course this is brittle since now the whole network can crash if nodes go offline. Now we used sealed files instead.

The issue is that since a node can access the sealed file entirely offline, after a public disclosure of a vulnerability, unpatched nodes would be able to try running an exploit to get at the sealed data.

A good compromise is the following: still use sealed files, but go through an on-chain check-in process before the node will access it. Now we don't rely on enclave nodes to be up, just the plaintext blockchain. But attackers tipped off by a public disclosure would be limited to exploiting already-running processes, which is harder.

@amiller amiller added the bug Something isn't working label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant