Skip to content

Conversation

@clangenb
Copy link
Contributor

@clangenb clangenb commented May 29, 2020

This pull request fixes the mutual remove attestation, which was broken with to the introduction of shards. The enclave state is no longer provisioned in mutual remote attestation as each enclave can reproduce past worker requests upon block inclusion from the chain relay.

mutual remote attestation

  • fix mr_enclave check, which possibly never worked
  • remove state provisioning as every enclave can now calculate its state from genesis

worker

@clangenb clangenb force-pushed the cl-fix-running-multiple-workers branch from 513187f to 316fafd Compare May 29, 2020 08:55
@clangenb clangenb merged commit cdb7450 into master May 29, 2020
@clangenb clangenb changed the title fix running multiple workers fix mutual-remote-attestatoin May 29, 2020
@clangenb clangenb deleted the cl-fix-running-multiple-workers branch June 3, 2020 08:54
brenzi pushed a commit to encointer/encointer-worker that referenced this pull request Sep 8, 2020
* [worker] initialize chain after keys have been provisioned

* [worker] fix cli for key_provisioning tests

* [worker/mu-ra] pass shard that should be exchanged is passed to request_key_provisioning

* [enclave/cert] fix mr_enclave fetch and comparison

* [enclave/tls_ra] remove state exchange from ra as every new worker fetches calculates the state from 0.

* [worker] change get_most_recent_worker -> get_first_worker that is not equal to self

* [worker] ensure_shard_initialized now in any case as we do not fetch a state while provisioning secrets. And put it at the very beginning of `fn worker`

* [enclave/tls_ra] remove unsafe from request_key_provisioning

* bump version: 0.6.5-sub2.0.0-alpha.7
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.

w2 does not requests keys from w1 if w1 has not yet published a state update

2 participants