Proto commits in veracruz-project/veracruz

These 30 commits are when the Protocol Buffers files have changed:

Commit:a02f91e
Author:Mathias Brossard
Committer:Mathias Brossard

Move documentation into docs Change extension from .markdown to .md

The documentation is generated from this commit.

Commit:e78d18d
Author:Mathias Brossard
Committer:Mathias Brossard

Move all crates to crates directory

Commit:63f0821
Author:Kyle Pereira
Committer:Kyle Pereira

Add system to broadcast stdout to listening clients. This includes a few changes to the architecture of VC: - An additional 'data' connection is added between vc-server and runtime-manager. This allows for the runtime manager to asynchronously broadcast messages. - Allow execution to run concurrently with other operations. This allows the broadcast messages to be sent during execution. - Set sockets to non-blocking to allow multithreading (in presense of enclave lock in vc-server). This involves new methods for tx/rx that may return None. - Add a new 'Subscribe' message that allows a client to indicate it wishes to subscribe to stdout (or in future other files). - Add a new 'UpgradeAsync' message to allow the server to upgrade a client connection to receive async broadcast messages from the runtime-manager (instead of the normal request-response model)

Commit:9cb3467
Author:EC2 Default User
Committer:Derek Miller

Changed to use the new Veraison-based proxy-attestation-server

Commit:adc8b1b
Author:Shale Xiong
Committer:Shale Xiong

Add the pipeline request in transport protocol

Commit:97709e7
Author:Shale Xiong

Update the server key and cert type.

Commit:0f705c7
Author:Shale Xiong
Committer:Shale Xiong

Address several comments from reviewers. - Remove primitive type change of form, e.g. `as u32`, use explicit try_from call. - Update comments. - Remove the loops in next_fd and next_inode, but optimistically pick the next (add 1) Fd and inode.

Commit:0d2aa6f
Author:Shale Xiong
Committer:Shale Xiong

Update the transport protocol. - Remove several unused protocol. - Modify or add file read, write and append protocol. - Request result message is no long reading the output file but only return the exeuction return code. Note: More changes and renaming should be made to veracruz client but it should come as a separate merge request.

Commit:5bf8d16
Author:Christopher Haster
Committer:Christopher Haster

Added (modified really) SignalDone request into the enclave This renames RequestShutdown with hopefully a clearer name, while also tweaking some bits of it's behavior: - SignalDone can be sent by any client, however the enclave will shutdown when every client with read permission to any file (previously RequestResult permissions) has signaled they are done with the computation. This notably omits clients with only write-access. This does mean write-only clients may end up in a situation where their upload 404s, however they can handle this gracefully by simply disposing the data and treating the error as a noop. - SignalDone allows an enclave to signal to the VeracruzServer that the enclave should be torn down. Now that the VeracruzServer's lifetime is distinct from the enclave's, this leaves the VeracruzServer with no active computation, but available for a new computation to be requested. - VeracruzServer now also has an --auto-shutdown flag, which allows the server to automatically shutdown when computation is done. So now a single one-shot computation can be done like this: vc-server :3017 policy.json --auto-shutdown It's worth noting that this doesn't really add much new functionality to the RuntimeManager, as the RequestShutdown request mostly worked in the same way, it was just somewhat misunderstood in the context of the VeracruzServer's lifetime.

Commit:5b0e25d
Author:Christopher Haster
Committer:Christopher Haster

MCU: Add rule to copy transport_protocol.proto from the crate instead of maintaining a copy I don't think there's a great solution to this, since of course symlinks from Docker to the containing directory won't work. Not even a Docker COPY works here because the relevant file is outside of the build context.

Commit:a42d36d
Author:Christopher Haster
Committer:Christopher Haster

Updated veracruz-mcu-client's transport_protoco.proto and removed lingering MexicoCity reference

Commit:2fe5a10
Author:Christopher Haster

Add 'veracruz-mcu-client/' from commit '53fb9a2de556e61663fceded72776355859dd90c' git-subtree-dir: veracruz-mcu-client git-subtree-mainline: 1e1ebf7fe3cdeb6e322908d2b78d570fb3953524 git-subtree-split: 53fb9a2de556e61663fceded72776355859dd90c

Commit:4e13226
Author:Guilhem Bryant

Replace every occurence of `LICENSE.markdown` with `LICENSE_MIT.markdown` Remove symbolic link to `LICENSE_MIT.markdown`

Commit:d28af69
Author:Derek Miller
Committer:Derek D. Miller

veracruz-server-test and veracruz-test passing on TrustZone with CA Attestation

Commit:3f74b8a
Author:Derek D. Miller
Committer:Derek D. Miller

CA Attestatio now passing on Nitro

Commit:1f4f7cc
Author:Derek Miller
Committer:Derek D. Miller

Removed some obsolete messages from transport-protocol

Commit:f0e75d0
Author:Derek Miller
Committer:Derek D. Miller

Some improvements to the CA flow. Still not entirely working

Commit:9e8df80
Author:Derek Miller
Committer:Derek D. Miller

Added paths/protobuf messages for the CA flow in proxy server

Commit:8354ea0
Author:Derek Miller
Committer:Derek D. Miller

Removed pubkey_hash from token collateral as it is redundant to the CSR

Commit:3021c5e
Author:Christopher Haster

Successfully sent data to Veracruz server

Commit:94af11f
Author:Christopher Haster
Committer:Christopher Haster

Simple PAT request working

Commit:5fd4914
Author:Christopher Haster
Committer:Christopher Haster

Added simple protobuf test

Commit:2cc05a2
Author:Shale Xiong
Committer:Shale Xiong

Modify colima for the upcoming file system. [ci skip]

Commit:c414622
Author:Dominic Mulligan

hoovering-up: fixing various bits of renamings that have been missed across the great renaming

Commit:d11aba3
Author:Dominic Mulligan
Committer:Dominic Mulligan

mexico-city-renaming: more expunging of Mexico City and variants from codebase [ci skip]

Commit:27c253c
Author:Guilhem Bryant
Committer:Guilhem Bryant

Rename Colima module to TransportProtocol

Commit:39e08c0
Author:Dominic Mulligan
Committer:Dominic Mulligan

tabasco-renaming: missed some instances of Tabasco in initial renaming

Commit:3017c50
Author:Dominic Mulligan
Committer:Dominic Mulligan

tabasco-renaming: renamed in colima Also, forced build.rs to run again if `colima.proto` changes.

Commit:f1d5b1b
Author:Shale Xiong
Committer:Shale Xiong

Add the support for batch process. - Two new messages: stream data and next round. - Streaming_order field in policy, which specifies in each round, the order of streaming data. - New state machine: In the situation where Streaming_order field in policy is NOT empty, when next_round is called under finishing execution, it goes back to the start of streaming and waiting for new streaming data. - Hcalls for reading current streaming data and the previous result.

Commit:b10d116
Author:The Veracruz Team
Committer:Shale Xiong

Initial open source release