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

pRuntime: InitRuntime with secret keys for debug #48

Merged
merged 2 commits into from Sep 28, 2020

Conversation

h4x3rotab
Copy link
Contributor

@h4x3rotab h4x3rotab commented Sep 28, 2020

This PR allows to inject dev secret key to pRuntime for debugging. It doesn't allow to enable this feature with remote attestation.

  • Dev secret key: 0x1, for both ECDH and identity key (so far, secp256k1)
  • Add optional field debug_set_key in InitRuntimeReq
  • Add --use-dev-key flag to trigger key injection in phost

@h4x3rotab h4x3rotab requested a review from jasl September 28, 2020 05:57
@h4x3rotab h4x3rotab changed the title (WIP) pRuntime: InitRuntime with secret keys for debug pRuntime: InitRuntime with secret keys for debug Sep 28, 2020
@h4x3rotab h4x3rotab merged commit ce551d2 into master Sep 28, 2020
@h4x3rotab h4x3rotab deleted the init-with-secretkeys branch September 28, 2020 19:22
tolak pushed a commit to tolak/phala-blockchain that referenced this pull request Nov 29, 2020
* update substrate

* fix tests

* update orml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant