Skip to content

Commit

Permalink
Update error messages for Enclave with forward links (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra authored May 17, 2021
1 parent 4316474 commit ca4957c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 58 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions src/Microsoft.Data.SqlClient/netcore/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1657,13 +1657,13 @@
<value>Invalid key store provider name specified. Key store provider names cannot be null or empty.</value>
</data>
<data name="TCE_EnclaveComputationsNotSupported" xml:space="preserve">
<value>You have specified the enclave attestation URL and attestation protocol in the connection string, but the SQL Server instance in use does not support enclave based computations.</value>
<value>You have specified the enclave attestation URL and attestation protocol in the connection string, but the SQL Server in use does not support enclave based computations - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details.</value>
</data>
<data name="TCE_AttestationURLNotSupported" xml:space="preserve">
<value>You have specified the enclave attestation URL in the connection string, but the SQL Server instance in use does not support enclave based computations.</value>
<value>You have specified the enclave attestation URL in the connection string, but the SQL Server in use does not support enclave based computations - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details.</value>
</data>
<data name="TCE_AttestationProtocolNotSupported" xml:space="preserve">
<value>You have specified the attestation protocol in the connection string, but the SQL Server instance in use does not support enclave based computations.</value>
<value>You have specified the attestation protocol in the connection string, but the SQL Server in use does not support enclave based computations - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details.</value>
</data>
<data name="TCE_EnclaveProviderNotFound" xml:space="preserve">
<value>No enclave provider found for enclave type '{0}' and attestation protocol '{1}'. Please specify the correct attestation protocol in the connection string.</value>
Expand All @@ -1672,7 +1672,7 @@
<value>Executing a query requires enclave computations, but the application configuration is missing the enclave provider section.</value>
</data>
<data name="TCE_EnclaveTypeNotReturned" xml:space="preserve">
<value>You have specified the enclave attestation URL in the connection string, but the SQL Server instance did not return an enclave type. Please make sure the enclave type is correctly configured in your instance.</value>
<value>You have specified the enclave attestation URL in the connection string, but the SQL Server did not return an enclave type. Please make sure the enclave type is correctly configured in your instance - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details.</value>
</data>
<data name="TCE_EnclaveTypeNullForEnclaveBasedQuery" xml:space="preserve">
<value>Internal Error. Enclave type received from SQL Server is null or empty when executing a query requiring enclave computations.</value>
Expand Down Expand Up @@ -1786,7 +1786,7 @@
<value>Globalization Invariant Mode is not supported.</value>
</data>
<data name="AttestationTokenSignatureValidationFailed" xml:space="preserve">
<value>The validation of an attestation token failed. The token signature does not match the signature computed using a public key retrieved from the attestation public key endpoint at '{0}'. Verify the DNS mapping for the endpoint. If correct, contact Customer Support Services.</value>
<value>The validation of an attestation token failed. The token signature does not match the signature computed using a public key retrieved from the attestation public key endpoint at '{0}'. Verify the DNS mapping for the endpoint - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details. If correct, contact Customer Support Services.</value>
</data>
<data name="EnclaveRetrySleepInSecondsValueException" xml:space="preserve">
<value>Internal error occurred when retrying the download of the HGS root certificate after the initial request failed. Contact Customer Support Services.</value>
Expand All @@ -1807,10 +1807,10 @@
<value>The validation of an attestation token failed. The token has an invalid format. Contact Customer Support Services. Error details: '{0}'.</value>
</data>
<data name="GetAttestationSigningCertificateFailedInvalidCertificate" xml:space="preserve">
<value>The attestation service returned an expired HGS root certificate for attestation URL '{0}'. Check the HGS root certificate configured for your HGS instance.</value>
<value>The attestation service returned an expired HGS root certificate for attestation URL '{0}'. Check the HGS root certificate configured for your HGS instance - see https://go.microsoft.com/fwlink/?linkid=2160553 for more details.</value>
</data>
<data name="GetAttestationSigningCertificateRequestFailedFormat" xml:space="preserve">
<value>The obtained HGS root certificate for attestation URL '{0}' has an invalid format. Verify the attestation URL is correct and the HGS server is online and fully initialized. For more information contact Customer Support Services. Error details: '{1}'.</value>
<value>The obtained HGS root certificate for attestation URL '{0}' has an invalid format. Verify the attestation URL is correct and the HGS server is online and fully initialized - see https://go.microsoft.com/fwlink/?linkid=2160553 for more details. For more information contact Customer Support Services. Error details: '{1}'.</value>
</data>
<data name="GetAttestationTokenSigningKeysFailed" xml:space="preserve">
<value>The validation of an attestation token failed. Cannot retrieve a public key from the attestation public key endpoint, or the retrieved key has an invalid format. Error details: '{0}'.</value>
Expand All @@ -1828,25 +1828,25 @@
<value>The validation of the attestation token has failed during signature validation. Exception: '{0}'.</value>
</data>
<data name="InvalidClaimInAttestationToken" xml:space="preserve">
<value>The validation of an attestation token failed. Claim '{0}' in the token has an invalid value of '{1}'. Verify the attestation policy. If the policy is correct, contact Customer Support Services.</value>
<value>The validation of an attestation token failed. Claim '{0}' in the token has an invalid value of '{1}'. Verify the attestation policy - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details. If the policy is correct, contact Customer Support Services.</value>
</data>
<data name="MissingClaimInAttestationToken" xml:space="preserve">
<value>The validation of the attestation token failed. Claim '{0}' is missing in the token. Verify the attestation policy. If the policy is correct, contact Customer Support Services.</value>
<value>The validation of the attestation token failed. Claim '{0}' is missing in the token. Verify the attestation policy - see https://go.microsoft.com/fwlink/?linkid=2157649 for more details. If the policy is correct, contact Customer Support Services.</value>
</data>
<data name="VerifyEnclaveDebuggable" xml:space="preserve">
<value>Failed to check if the enclave is running in the production mode. Contact Customer Support Services.</value>
</data>
<data name="VerifyEnclavePolicyFailedFormat" xml:space="preserve">
<value>Could not verify enclave policy due to a difference between the expected and actual values of the policy on property '{0}'. Actual: '{1}', Expected: '{2}'.</value>
<value>Could not verify enclave policy due to a difference between the expected and actual values of the policy on property '{0}'. Actual: '{1}', Expected: '{2}' - see https://go.microsoft.com/fwlink/?linkid=2160553 for more details.</value>
</data>
<data name="VerifyEnclaveReportFailed" xml:space="preserve">
<value>Signature verification of the enclave report failed. The report signature does not match the signature computed using the HGS root certificate. Verify the DNS mapping for the endpoint. If correct, contact Customer Support Services.</value>
<value>Signature verification of the enclave report failed. The report signature does not match the signature computed using the HGS root certificate. Verify the DNS mapping for the endpoint - see https://go.microsoft.com/fwlink/?linkid=2160553 for more details. If correct, contact Customer Support Services.</value>
</data>
<data name="VerifyEnclaveReportFormatFailed" xml:space="preserve">
<value>The enclave report received from SQL Server is not in the correct format. Contact Customer Support Services.</value>
</data>
<data name="VerifyHealthCertificateChainFormat" xml:space="preserve">
<value>Failed to build a chain of trust between the enclave host's health report and the HGS root certificate for attestation URL '{0}' with status: '{1}'. Verify the attestation URL matches the URL configured on the SQL Server machine. If both the client and SQL Server use the same attestation service, contact Customer Support Services.</value>
<value>Failed to build a chain of trust between the enclave host's health report and the HGS root certificate for attestation URL '{0}' with status: '{1}'. Verify the attestation URL matches the URL configured on the SQL Server - see https://go.microsoft.com/fwlink/?linkid=2160553 for more details. If both the client and SQL Server use the same attestation service, contact Customer Support Services.</value>
</data>
<data name="TCE_DbConnectionString_AttestationProtocol" xml:space="preserve">
<value>Specifies an attestation protocol for its corresponding enclave attestation service.</value>
Expand Down Expand Up @@ -1932,4 +1932,4 @@
<data name="SqlRetryLogic_InvalidMinMaxPair" xml:space="preserve">
<value>'{0}' is not less than '{1}'; '{2}' cannot be greater than '{3}'.</value>
</data>
</root>
</root>
Loading

0 comments on commit ca4957c

Please sign in to comment.