From b1443ca52a1f8594bd82ed9e9973e58bf4b254b6 Mon Sep 17 00:00:00 2001 From: Xynnn007 Date: Thu, 16 Nov 2023 14:22:19 +0800 Subject: [PATCH 1/2] docs: fix links Signed-off-by: Xynnn007 --- attestation-agent/README.md | 2 +- attestation-agent/docs/KBS_URI.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/attestation-agent/README.md b/attestation-agent/README.md index c61b14fad..7f871b07d 100644 --- a/attestation-agent/README.md +++ b/attestation-agent/README.md @@ -113,7 +113,7 @@ List of supported KBC modules: | eaa_kbc | [EAA KBC](kbc/src/eaa_kbc/README.md) | EAA protocol | Alibaba Cloud | | offline_sev_kbc | [Offline SEV KBC](kbc/src/offline_sev_kbc/README.md) | Null | IBM | | online_sev_kbc | [Online SEV KBC](kbc/src/online_sev_kbc/README.md) | simple-kbs | IBM | -| cc_kbc | [CC KBC](kbc/src/cc_kbc/README.md) | [CoCo KBS protocol](https://github.com/confidential-containers/kbs/blob/main/docs/kbs_attestation_protocol.md) | CoCo Community | +| cc_kbc | [CC KBC](kbc/src/cc_kbc/README.md) | [CoCo KBS protocol](https://github.com/confidential-containers/kbs/blob/main/kbs/docs/kbs_attestation_protocol.md) | CoCo Community | ### CC KBC diff --git a/attestation-agent/docs/KBS_URI.md b/attestation-agent/docs/KBS_URI.md index d14b31966..58064c484 100644 --- a/attestation-agent/docs/KBS_URI.md +++ b/attestation-agent/docs/KBS_URI.md @@ -14,7 +14,7 @@ kbs://:/// where: -- `kbs://`: This is the fixed, custom KBS resource scheme. It indicates that this URI for a [CoCo KBS](https://github.com/confidential-containers/kbs) resource. +- `kbs://`: This is the fixed, custom KBS resource scheme. It indicates that this URI for a [CoCo KBS](https://github.com/confidential-containers/kbs/tree/main/kbs) resource. - `:`: This the KBS host address and port. It is either an IP address or a domain name, and an *optional* TCP/UDP port. Also can be treated as a `confidential resource registry`. - `//`: This is the resource path. Typically, `` would be a user name, `` would be the type of the resource, and `` would help distinguish between different resource instances of the same type. The default value of `` is `default`. @@ -24,7 +24,7 @@ For example: `kbs://example.cckbs.org:8081/alice/decryption-key/1` ### CC-KBC -`CC-KBC` will convert a KBS Resource URI into a [CoCo KBS Resource API](https://github.com/confidential-containers/kbs/blob/main/docs/kbs.yaml#L74) compliant HTTP/HTTPS request. +`CC-KBC` will convert a KBS Resource URI into a [CoCo KBS Resource API](https://github.com/confidential-containers/kbs/blob/main/kbs/docs/kbs.yaml#L100) compliant HTTP/HTTPS request. For example, a KBS Resource URI `kbs://example.cckbs.org/alice/decryption-key/1` will be converted to `http://example.cckbs.org/kbs/v0/resource/alice/decryption-key/1`. ### EAA KBC & Online SEV KBC From a11ee8e991e02d49fca792e45136d0f3d902b7c2 Mon Sep 17 00:00:00 2001 From: Xynnn007 Date: Thu, 16 Nov 2023 14:22:33 +0800 Subject: [PATCH 2/2] AA/kbs-protocol: fix links inside code Signed-off-by: Xynnn007 --- attestation-agent/kbs_protocol/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attestation-agent/kbs_protocol/src/lib.rs b/attestation-agent/kbs_protocol/src/lib.rs index 9db6a71f4..eb4bd6d0b 100644 --- a/attestation-agent/kbs_protocol/src/lib.rs +++ b/attestation-agent/kbs_protocol/src/lib.rs @@ -9,7 +9,7 @@ //! //! ## Protocol //! -//! Please refer to +//! Please refer to //! //! ## Usage //!