Skip to content

Commit

Permalink
chore: relicense as Apache 2
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Oct 13, 2023
1 parent b96efaa commit 7aad9a0
Show file tree
Hide file tree
Showing 27 changed files with 227 additions and 708 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sgx = { git = "https://github.com/enarx/sgx", rev = "c9bf274dd1a843b084bae92e182
name = "steward"
version = "0.2.0"
edition = "2021"
license = "AGPL-3.0"
license = "Apache-2.0"

[workspace.dependencies]
# Internal dependencies
Expand Down
862 changes: 201 additions & 661 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ connections.

Contributions to this project require copyright assignment to Profian.

License: AGPL-3.0
License: Apache-2.0
2 changes: 1 addition & 1 deletion crates/attestation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "attestation"
version = "0.2.0"
edition = "2021"
license = "AGPL-3.0"
license = "Apache-2.0"
description = "Common workload attestation validation library"

[features]
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/crypto/cert.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::*;

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/crypto/certreq.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use anyhow::{anyhow, Result};
use der::{asn1::BitStringRef, Encode};
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/crypto/crl.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use crate::crypto::{SubjectPublicKeyInfoExt, TbsCertificateExt};
use std::collections::HashSet;
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/crypto/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

mod cert;
mod certreq;
Expand Down
2 changes: 1 addition & 1 deletion crates/attestation/src/crypto/pki.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use anyhow::{anyhow, bail, Result};
use sec1::pkcs8::{EncodePrivateKey, ObjectIdentifier, PrivateKeyInfo, SubjectPublicKeyInfo};
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/crypto/spki.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use anyhow::{anyhow, Result};
use const_oid::ObjectIdentifier;
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

pub mod crypto;
#[cfg(feature = "sgx")]
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::super::Measurements;
use std::collections::HashSet;
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

pub mod config;
pub mod quote;
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/body.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::{FromBytes, ParseBytes};

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/es256.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::{qe::QuotingEnclave, FromBytes, ParseBytes};

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

//! Intel SGX Documentation is available at the following link.
//! Section references in further documentation refer to this document.
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/qe/auth.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::super::{FromBytes, ParseBytes, Steal};

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/qe/cert.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::super::{FromBytes, ParseBytes, Steal};

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/qe/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

pub mod auth;
pub mod cert;
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/tcb.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use chrono::DateTime;
use serde::{Deserialize, Serialize};
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/sgx/quote/traits.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use std::array::TryFromSliceError;

Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/snp/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use super::super::{Digest, Measurements};
use super::{PlatformInfoFlags, PolicyFlags};
Expand Down
3 changes: 1 addition & 2 deletions crates/attestation/src/snp/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

pub mod config;

Expand Down
2 changes: 1 addition & 1 deletion crates/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "steward-server"
version = "0.2.0"
edition = "2021"
license = "AGPL-3.0"
license = "Apache-2.0"
description = "Server library for Steward"

[dependencies]
Expand Down
3 changes: 1 addition & 2 deletions crates/server/src/kvm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

use anyhow::{anyhow, Result};
use const_oid::ObjectIdentifier;
Expand Down
3 changes: 1 addition & 2 deletions crates/server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

#![warn(rust_2018_idioms, unused_lifetimes, unused_qualifications, clippy::all)]

Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-FileCopyrightText: 2022 Profian Inc. <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-License-Identifier: Apache-2.0

//!
//! # Overview
Expand Down

0 comments on commit 7aad9a0

Please sign in to comment.