9 Commits

Author SHA1 Message Date
Anton Kolesnyk
b8ac6696e3
[azure-security-attestation-cpp] Use non-deprecated syntax (#40203)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-08-01 16:00:41 -07:00
Anton Kolesnyk
8150939b69
[azure-*-cpp] Add HEAD_REF to manifests (#38331)
In #38085, we released 4 azure SDK libraries, and updated port manifest
files to use `HEAD_REF` and `${VERSION}`.
This PR updates the rest of the
https://github.com/Azure/azure-sdk-for-cpp/ ports to have the same
changes, and also updates the remaining Azure SDK for C++ ports to have
multi-line `$comment`.

This will keep all Azure SDK for C++ ports in uniform state when it
comes to portfiles, reflects the mainfest changes from the repo, and
will help to see minimalistic diffs during the next releases and in
daily validation runs (#34835).

cc @WangWeiLin-MV

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-23 15:54:46 -04:00
Anton Kolesnyk
10d497f148
[azure-*-cpp] Append note to manifest files (#36222)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-19 12:27:36 -08:00
Anton Kolesnyk
7d5ed6bd1b
[azure-*-cpp] Shorten source paths (#33880)
* [azure-messaging-eventhubs-cpp] Shorten source paths

* use cmake to rename directories, and also include azure-storage ports (#4)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>

* Shorten the paths down to _/_/_/

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-22 16:08:59 -07:00
Azure SDK Bot
e04123425c
[azure-security-attestation-cpp] Update to 1.1.0 (#29516)
## 1.1.0 (2023-02-07)

### Breaking Changes

- Changed `AttestationClient::AttestTpm` to match `AttestOpenEnclave` and `AttestSgxEnclave`:
  - Added `std::vector<uint8_t>` dataToAttest parameter to the `AttestTpm()` client method.
  - Removed `Payload` in `TpmAttestationOptions`.
  - Changed `TpmResult` in `TpmAttestationResult` to type `std::vector<uint8_t>`.
2023-02-09 10:54:26 -08:00
Azure SDK Bot
a480fb0fa3
[azure-security-attestation-cpp] Update to 1.0.0 (#25629)
## 1.0.0 (2022-07-07)

### Breaking Changes

- Renamed `Version` field to `ApiVersion` and removed the `ServiceVersion` enumeration.

Co-authored-by: Victor Romero <viromer@microsoft.com>
2022-07-14 13:17:49 -07:00
Azure SDK Bot
85e04c67af
[azure-security-attestation-cpp] Update to 1.0.0-beta.3 (#25119)
## 1.0.0-beta.3 (2022-06-07)

### Breaking Changes

- `ValueToSend` field in `TpmAttestationOptions` becomes `Payload`.
- `AddIsolatedModeCertificatesOptions` becomes `AddIsolatedModeCertificateOptions`
- `RemoveIsolatedModeCertificatesOptions` becomes `RemoveIsolatedModeCertificateOptions`
- Renamed `AttestEnclaveOptions` to `AttestSgxEnclaveOptions` and `AttestOpenEnclaveOptions`.
- `AttestationClient` and `AttestationAdministrationClient` creation is now done using the factory method `AttestationClient::Create()` and `AttestationAdministrationClient::Create()`.
2022-06-08 04:47:41 -07:00
Azure SDK Bot
e9ac4bd503
[azure-security-attestation-cpp] Update to 1.0.0-beta.2 (#24651)
## 1.0.0-beta.2 (2022-05-10)

### Breaking Changes

- Renamed `AttestationOpenIdMetadata` type to `OpenIdMetadata`.
- Renamed `AttestationSigningCertificateResult` type to `TokenValidationCertificateResult` to more accurately reflect the
  purpose of the type.
- Removed the `AttestationTokenBase` class and moved its contents to the `AttestationToken` class.
- Empty `AttestationToken` types are now represented with `AttestationToken<void>` rather than `AttestationToken<>` to more idiomatically express the idea of a nullable attestation token.
- Renamed `RuntimeClaims` field to `RunTimeClaims` to align with `InitTimeClaims` type name; standardized spelling of
  `InitTimeClaims`.
- Changed input parameter to `AttestTpm` to be `AttestTpmOptions` instead of `std::string`.
- Changed output parameter of `AttestTpm` to be `TpmAttestationResult` instead of `std::string`.
- Renamed `AttestationTokenValidationOptions::ValidationTimeSlack` to `AttestationTokenValidationOptions::TimeValidationSlack`
  to improve consistency with other attestation SDKs.
- Removed the unused `AttestationValidationCollateral` API.
- Renamed `AttestOptions` to `AttestEnclaveOptions`
- Renamed `TokenValidationOptions` field in various API Options structures to be `TokenValidationOptionsOverride` to better
  reflect the semantics of the field.
- Renamed `PolicyCertificate` types to `IsolatedMode`.
  - `PolicyCertificateModificationResult` becomes `IsolatedModeCertificateModificationResult`
  - `PolicyCertificateListResult` becomes `IsolatedModeCertificateListResult`
  - `GetPolicyManagementCertificateOptions` becomes `GetIsolatedModeCertificatesOptions`
  - `AddPolicyManagementCertificatesOptions` becomes `AddIsolatedModeCertificatesOptions`
  - `RemovePolicyManagementCertificatesOptions` becomes `RemoveIsolatedModeCertificatesOptions`
  - `AttestationAdministrationClient::GetPolicyManagementCertificates` becomes `AttestationAdministrationClient::GetIsolatedModeCertificates`.
  - `AttestationAdministrationClient::AddPolicyManagementCertificate` becomes `AttestationAdministrationClient::AddIsolatedModeCertificate`.
  - `AttestationAdministrationClient::RemovePolicyManagementCertificate` becomes `AttestationAdministrationClient::RemoveIsolatedModeCertificate`.
- Removed `ClientVersion` API from `AttestationClient` and `AttestationAdministrationClient`

### Other Changes

- Added `Endpoint` property to `AttestationClient` and `AttestationAdministrationClient`
2022-05-11 16:48:31 -07:00
Victor Vazquez
89295c9fe2
[Azure SDK Attestation] Apr 2022 release - First beta port (#23996)
* adding azure sdk attestation beta

* fix version

* format

* sha
2022-04-05 18:16:54 -07:00