Skip to content
Merged
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
17 changes: 16 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

"sdk/applicationinsights/azure-applicationinsights/**",
"sdk/appconfiguration/azure-appconfiguration/**",
"sdk/attestation/azure-security-attestation/**",
"sdk/batch/azure-batch/**",
"sdk/cognitiveservices/azure-cognitiveservices-search-autosuggest/**",
"sdk/cognitiveservices/azure-cognitiveservices-search-customimagesearch/**",
Expand Down Expand Up @@ -790,6 +789,22 @@
]
},
{
"filename": "sdk/attestation/azure-security-attestation/**",
"words": [
"MRENCLAVE",
"ECDS",
"kwtype",
"clist",
"mrsigner",
"ECDH",
"TPMs",
"getopenidmetadata",
"getopenidmetadataasync",
"aikcert",
"shareduks"
]
},
{
"filename": "sdk/deviceupdate/azure-iot-deviceupdate/**",
"words": [
"wday",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def set_policy(self, attestation_type, attestation_policy, **kwargs):
:caption: Setting a security policy without a signing key.

.. admonition:: Example: Setting the attestation policy and verifying
that the policy was recieved by the service.
that the policy was received by the service.

.. literalinclude:: ../samples/sample_get_set_policy.py
:start-after: [START validate_policy_hash]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ def _create_secured_jwt(body, **kwargs):
"""Return a secured JWT expressing the body, secured with the specified signing key.
:param Any body: The body of the token to be serialized.
:keyword key: Signing key used to sign the token.
:kwtype key: cryptography.hazmat.primatives.asymmetric.ec or cryptography.hazmat.primatives.asymmetric.rsa
:kwtype key: cryptography.hazmat.primitives.asymmetric.ec or cryptography.hazmat.primitives.asymmetric.rsa
:keyword certificate: Certificate to be transmitted to attestation service
used to validate the token.
:kwtype certificate: Certificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async def set_policy(
:caption: Setting a security policy without a signing key.

.. admonition:: Example: Setting the attestation policy and verifying
that the policy was recieved by the service.
that the policy was received by the service.

.. literalinclude:: ../samples/sample_get_set_policy_async.py
:start-after: [START validate_policy_hash]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# an SGX "quote". The "report" has a 16 byte header attached to the front
# of an SGX "quote". That means a "report" can be transformed into a quote
# by stripping the first 16 bytes from the "report".
''' cSpell:disable '''
sample_open_enclave_report = (
"AQAAAAIAAADkEQAAAAAAAAMAAg"
+ "AAAAAABQAKAJOacjP3nEyplAoNs5V_Bgc42MPzGo7hPWS_h-3tExJrAAAAABERAwX_g"
Expand Down Expand Up @@ -116,7 +117,7 @@
+ "RHZvOGgyazVkdTFpV0RkQmtBbiswaWlBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0"
+ "tLQoA="
)

''' cSpell:enable '''

sample_runtime_data = (
"CiAgICAgICAgewogI"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
attestation_tenant_id="tenant",
# Note: attestation_isolated_url and attestation_aad_url must have the
# same region as the attestation_location_short_name. Otherwise there is a
# possiblity that the rewriting rules will miss these URLs.
# possibility that the rewriting rules will miss these URLs.
attestation_isolated_url="https://fakeresource.wus.attest.azure.net",
attestation_aad_url="https://fakeresource.wus.attest.azure.net",
# attestation_resource_manager_url='https://resourcemanager/zzz'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
AttestationType,
)

''' cSpell:disable '''
_open_enclave_report = (
"AQAAAAIAAADkEQAAAAAAAAMAAg"
+ "AAAAAABQAKAJOacjP3nEyplAoNs5V_Bgc42MPzGo7hPWS_h-3tExJrAAAAABERAwX_g"
Expand Down Expand Up @@ -119,7 +120,7 @@
+ "RHZvOGgyazVkdTFpV0RkQmtBbiswaWlBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0"
+ "tLQoA"
)

''' cSpell:enable '''

_runtime_data = (
"CiAgICAgICAgewogI"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

from helpers import base64url_decode


''' cSpell:disable '''
_open_enclave_report = (
"AQAAAAIAAADkEQAAAAAAAAMAAg"
+ "AAAAAABQAKAJOacjP3nEyplAoNs5V_Bgc42MPzGo7hPWS_h-3tExJrAAAAABERAwX_g"
Expand Down Expand Up @@ -123,7 +123,7 @@
+ "RHZvOGgyazVkdTFpV0RkQmtBbiswaWlBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0"
+ "tLQoA"
)

''' cSpell:enable '''

_runtime_data = (
"CiAgICAgICAgewogI"
Expand Down