github Azure/azure-sdk-for-python azure-security-attestation_1.0.0b4

latest releases: azure-cognitiveservices-language-textanalytics_0.2.2, azure-cognitiveservices-anomalydetector_0.3.1, azure-communication-callautomation_1.2.0...
pre-release2 years ago

1.0.0b4 (2021-06-08)

Features Added

  • Added reset_policy API which was missed in the previous API.
  • Added models for all the generated API types.
  • Documentation cleanup for several APIs.

Breaking Changes

  • Creating the StoredAttestationPolicy model type means that the attestation_policy
    kwargs parameter for the constructor has been replaced with a positional policy parameter. As a result of this change, this code:
StoredAttestationPolicy(attestation_policy=str(attestation_policy).encode('utf-8')))

changes to:

StoredAttestationPolicy(attestation_policy)
  • Several parameters for the AttestationResult type have been renamed, and
    several parameters which were shared with AttestationToken have been
    removed. In general, the naming changes removed some protocol specific
    elements and replaced them with friendlier names. Finally, the deprecated
    attributes have been removed from the AttestationResult

    Full set of changes:

    • iss renamed to issuer
    • cnf renamed to confirmation
    • jti renamed to unique_identifier
    • iat removed
    • exp removed
    • nbf removed
    • deprecated_version removed
    • deprecated_is_debuggable removed
    • deprecated_sgx_collateral removed
    • deprecated_enclave_held_data removed
    • deprecated_enclave_held_data2 removed
    • deprecated_product_id removed
    • deprecated_mr_enclave removed
    • deprecated_mr_signer removed
    • deprecated_svn removed
    • deprecated_tee removed
    • deprecated_policy_signer removed
    • deprecated_policy_hash removed
    • deprecated_rp_data removed

    If customers need to access the removed or renamed fields directly, they can
    use the get_body method of the AttestationResponse object:

      if response.token.get_body().deprecated_tee != 'sgx':
          print("Unexpected tee claim in token")

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.