Skip to content

Make DataProtection warnings mention aka.ms/dataprotectionwarning #36174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 8, 2021
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
46 changes: 23 additions & 23 deletions src/DataProtection/DataProtection/src/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,34 +118,34 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CryptCommon_GenericError" xml:space="preserve">
<value>An error occurred during a cryptographic operation.</value>
<value>An error occurred during a cryptographic operation. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_BufferIncorrectlySized" xml:space="preserve">
<value>The provided buffer is of length {0} byte(s). It must instead be exactly {1} byte(s) in length.</value>
<value>The provided buffer is of length {0} byte(s). It must instead be exactly {1} byte(s) in length. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="CryptCommon_PayloadInvalid" xml:space="preserve">
<value>The payload was invalid.</value>
<value>The payload was invalid. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_PropertyCannotBeNullOrEmpty" xml:space="preserve">
<value>Property {0} cannot be null or empty.</value>
</data>
<data name="Common_DecryptionFailed" xml:space="preserve">
<value>The provided payload could not be decrypted. Refer to the inner exception for more information.</value>
<value>The provided payload could not be decrypted. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_EncryptionFailed" xml:space="preserve">
<value>An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information.</value>
<value>An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_KeyNotFound" xml:space="preserve">
<value>The key {0:B} was not found in the key ring.</value>
<value>The key {0:B} was not found in the key ring. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_KeyRevoked" xml:space="preserve">
<value>The key {0:B} has been revoked.</value>
<value>The key {0:B} has been revoked. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="ProtectionProvider_BadMagicHeader" xml:space="preserve">
<value>The provided payload cannot be decrypted because it was not protected with this protection provider.</value>
<value>The provided payload cannot be decrypted because it was not protected with this protection provider. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="ProtectionProvider_BadVersion" xml:space="preserve">
<value>The provided payload cannot be decrypted because it was protected with a newer version of the protection provider.</value>
<value>The provided payload cannot be decrypted because it was protected with a newer version of the protection provider. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_ValueMustBeNonNegative" xml:space="preserve">
<value>Value must be non-negative.</value>
Expand All @@ -154,45 +154,45 @@
<value>The type '{1}' is not assignable to '{0}'.</value>
</data>
<data name="KeyManagementOptions_MinNewKeyLifetimeViolated" xml:space="preserve">
<value>The new key lifetime must be at least one week.</value>
<value>The new key lifetime must be at least one week. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="XmlKeyManager_DuplicateKey" xml:space="preserve">
<value>The key {0:B} already exists in the keyring.</value>
<value>The key {0:B} already exists in the keyring. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Common_ArgumentCannotBeNullOrEmpty" xml:space="preserve">
<value>Argument cannot be null or empty.</value>
</data>
<data name="Common_PropertyMustBeNonNegative" xml:space="preserve">
<value>Property {0} must have a non-negative value.</value>
<value>Property {0} must have a non-negative value. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="Platform_WindowsRequiredForGcm" xml:space="preserve">
<value>GCM algorithms require the Windows platform.</value>
<value>GCM algorithms require the Windows platform. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="CertificateXmlEncryptor_CertificateNotFound" xml:space="preserve">
<value>A certificate with the thumbprint '{0}' could not be found.</value>
<value>A certificate with the thumbprint '{0}' could not be found. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="EncryptedXmlDecryptor_DoesNotWorkOnCoreClr" xml:space="preserve">
<value>Decrypting EncryptedXml-encapsulated payloads is not yet supported on Core CLR.</value>
<value>Decrypting EncryptedXml-encapsulated payloads is not yet supported on Core CLR. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="AlgorithmAssert_BadBlockSize" xml:space="preserve">
<value>The symmetric algorithm block size of {0} bits is invalid. The block size must be between 64 and 2048 bits, inclusive, and it must be a multiple of 8 bits.</value>
<value>The symmetric algorithm block size of {0} bits is invalid. The block size must be between 64 and 2048 bits, inclusive, and it must be a multiple of 8 bits. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="AlgorithmAssert_BadDigestSize" xml:space="preserve">
<value>The validation algorithm digest size of {0} bits is invalid. The digest size must be between 128 and 2048 bits, inclusive, and it must be a multiple of 8 bits.</value>
<value>The validation algorithm digest size of {0} bits is invalid. The digest size must be between 128 and 2048 bits, inclusive, and it must be a multiple of 8 bits. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="AlgorithmAssert_BadKeySize" xml:space="preserve">
<value>The symmetric algorithm key size of {0} bits is invalid. The key size must be between 128 and 2048 bits, inclusive, and it must be a multiple of 8 bits.</value>
<value>The symmetric algorithm key size of {0} bits is invalid. The key size must be between 128 and 2048 bits, inclusive, and it must be a multiple of 8 bits. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="KeyRingProvider_NoDefaultKey_AutoGenerateDisabled" xml:space="preserve">
<value>The key ring does not contain a valid default protection key. The data protection system cannot create a new key because auto-generation of keys is disabled.</value>
<value>The key ring does not contain a valid default protection key. The data protection system cannot create a new key because auto-generation of keys is disabled. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="LifetimeMustNotBeNegative" xml:space="preserve">
<value>{0} must not be negative</value>
<value>{0} must not be negative. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="XmlKeyManager_IXmlRepositoryNotFound" xml:space="preserve">
<value>The '{0}' instance could not be found. When an '{1}' instance is set, a corresponding '{0}' instance must also be set.</value>
<value>The '{0}' instance could not be found. When an '{1}' instance is set, a corresponding '{0}' instance must also be set. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="FileSystem_EphemeralKeysLocationInContainer" xml:space="preserve">
<value>Storing keys in a directory '{path}' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.</value>
<value>Storing keys in a directory '{path}' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
</root>
</root>
8 changes: 4 additions & 4 deletions src/DataProtection/Extensions/src/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CryptCommon_GenericError" xml:space="preserve">
<value>An error occurred during a cryptographic operation.</value>
<value>An error occurred during a cryptographic operation. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="TimeLimitedDataProtector_PayloadExpired" xml:space="preserve">
<value>The payload expired at {0}.</value>
<value>The payload expired at {0}. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
<data name="TimeLimitedDataProtector_PayloadInvalid" xml:space="preserve">
<value>The payload is invalid.</value>
<value>The payload is invalid. For more information go to http://aka.ms/dataprotectionwarning</value>
</data>
</root>
</root>