Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cgpuvm-attest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tracing = "0.1"
thiserror = "1"

[dependencies.ohttp]
path= "../ohttp"
git = "https://github.com/microsoft/ohttp.git"
branch = "main"
features = ["server"]
default-features = false
3 changes: 3 additions & 0 deletions cgpuvm-attest/src/err.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use thiserror::Error;

#[derive(Error, Debug)]
Expand Down
3 changes: 3 additions & 0 deletions cgpuvm-attest/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

pub mod err;

use err::AttestError;
Expand Down
5 changes: 1 addition & 4 deletions docker/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM rust:1.75 AS builder

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -yq \
ca-certificates coreutils curl git make mercurial \
build-essential clang llvm libclang-dev lld \
gyp ninja-build pkg-config zlib1g-dev libssl-dev
RUN apt-get update && apt-get install -yq openssl libssl-dev

WORKDIR /usr/src/ohttp
COPY . .
Expand Down
12 changes: 6 additions & 6 deletions ohttp-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ohttp-client"
version = "0.5.3"
authors = ["Martin Thomson <[email protected]>"]
version = "0.1.0"
authors = ["Kapil Vaswani <[email protected]>"]
edition = "2021"

[features]
Expand Down Expand Up @@ -30,12 +30,12 @@ infer = "0.16.0"
path= "../verifier"

[dependencies.bhttp]
git = "https://github.com/kapilvgit/ohttp.git"
branch = "kapilv/upstream"
git = "https://github.com/microsoft/ohttp.git"
branch = "main"
features = ["bhttp", "http"]

[dependencies.ohttp]
git = "https://github.com/kapilvgit/ohttp.git"
branch = "kapilv/upstream"
git = "https://github.com/microsoft/ohttp.git"
branch = "main"
features = ["client"]
default-features = false
17 changes: 10 additions & 7 deletions ohttp-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ohttp-server"
version = "0.5.3"
authors = ["Martin Thomson <[email protected]>"]
version = "0.1.0"
authors = ["Kapil Vaswani <[email protected]>"]
edition = "2021"

[features]
Expand Down Expand Up @@ -32,15 +32,18 @@ tracing-subscriber = { version = "0.3.18", features = ["default", "json", "env-f
thiserror = "1"
uuid = { version = "1.0", features = ["v4"] }

[dependencies.cgpuvm-attest]
path= "../cgpuvm-attest"
features = []

[dependencies.bhttp]
path= "../bhttp"
git = "https://github.com/microsoft/ohttp.git"
branch = "main"
features = ["bhttp", "write-http"]

[dependencies.ohttp]
path= "../ohttp"
git = "https://github.com/microsoft/ohttp.git"
branch = "main"
features = ["server"]
default-features = false

[dependencies.cgpuvm-attest]
path= "../cgpuvm-attest"
features = []
3 changes: 3 additions & 0 deletions ohttp-server/src/err.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use thiserror::Error;

#[derive(Error, Debug)]
Expand Down
3 changes: 3 additions & 0 deletions ohttp-server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#![deny(clippy::pedantic)]

pub mod err;
Expand Down
3 changes: 3 additions & 0 deletions scripts/service_wait.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#!/bin/bash

SERVICE_HOST=$1
Expand Down