You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[KeyVault] Update Keys with service version 7.6 (#50510)
* Move CkmAesKeyWrap to KeyWrapAlgorithm
* Update tests
* Update service version to 7.6
* Update CHANGELOG for breaking changes and default service version
* Export API
* Fix formatting
* nit: formatting
* nit: formatting
* Attempt: have different sizes for the KwyWrap and fix the Padding
* Hide CkmAesKeyWrap algorithm
* Updating implementation to remove local-only algorithm bits. This should allow the new algorithms to fallback to remote-only paths, which are necessary since the client lacks insight into the keysize and other factors needed for local operations.
* Clean up AesKw type
* Make CkmAesKeyWrap public
* Export API
* Update changelog with new features for stable version
* Re-record tests, the new keywrap algorithm tests are failing tho.
* Add support for CkmAesKeyWrap and CkmAesKeyWrapPad algorithms in CreateTestKey
* Remove CKM_AES_KEY_WRAP for non-HSM and local tests.
* re-record after merging main
* Apply suggestions from code review
Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
* Reverting AesKw.cs
* Ignore KeyWrapAlgorithm.CkmAesKeyWrap for non-hsm test
---------
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
/// Creates an instance of the <see cref="DecryptParameters"/> class using the <see cref="EncryptionAlgorithm.CkmAesKeyWrap"/> encryption algorithm.
110
-
/// </summary>
111
-
/// <param name="ciphertext">The cipher text to decrypt.</param>
112
-
/// <param name="iv">The initialization vector used during encryption.</param>
113
-
/// <returns>An instance of the <see cref="DecryptParameters"/> class using the <see cref="EncryptionAlgorithm.CkmAesKeyWrap"/> encryption algorithm.</returns>
114
-
/// <exception cref="ArgumentNullException"><paramref name="ciphertext"/> or <paramref name="iv"/> is null.</exception>
/// Creates an instance of the <see cref="DecryptParameters"/> class for the <see cref="EncryptionAlgorithm.A128CbcPad"/> encryption algorithm with PKCS#7 padding.
120
110
/// </summary>
@@ -145,16 +135,6 @@ public static DecryptParameters A192CbcPadParameters(byte[] ciphertext, byte[] i
/// Creates an instance of the <see cref="DecryptParameters"/> class for the <see cref="EncryptionAlgorithm.CkmAesKeyWrapPad"/> encryption algorithm with PKCS#7 padding.
150
-
/// </summary>
151
-
/// <param name="ciphertext">The ciphertext to decrypt.</param>
152
-
/// <param name="iv">The initialization vector used during encryption.</param>
153
-
/// <returns>An instance of the <see cref="DecryptParameters"/> class for the <see cref="EncryptionAlgorithm.CkmAesKeyWrapPad"/> encryption algorithm.</returns>
154
-
/// <exception cref="ArgumentNullException"><paramref name="ciphertext"/> or <paramref name="iv"/> is null.</exception>
0 commit comments