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

Method to generate sector key #1666

Closed
Tracked by #10316
magik6k opened this issue Feb 28, 2023 · 3 comments
Closed
Tracked by #10316

Method to generate sector key #1666

magik6k opened this issue Feb 28, 2023 · 3 comments

Comments

@magik6k
Copy link

magik6k commented Feb 28, 2023

There seems to be no good way to generate a sector key today - which is needed for snapdeals unsealing, and possibly for future unsealing service-type things.

One could call Precommit1 and Precommit2 with null bytes (PC1 alone doesn't generate the sector key - #1665)

@magik6k
Copy link
Author

magik6k commented Feb 28, 2023

This is needed to enable filecoin-project/lotus#10316, and also to properly fix snapdeals unsealing in lotus

@vmx
Copy link
Contributor

vmx commented Mar 9, 2023

This is about getting the same bytes as TreeR, but without building TreeD or PC2. Only the layer building is needed.

@vmx
Copy link
Contributor

vmx commented May 26, 2023

There is now an API to run SDR only. It's exposed in the FFI at filecoin-project/filecoin-ffi#402.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In Review
2 participants