Skip to content

Commit

Permalink
[Key Vault] Remove AAD in CBC decryption tests (#24879)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp authored Jul 8, 2022
1 parent fecfc99 commit bd68763
Show file tree
Hide file tree
Showing 10 changed files with 361 additions and 370 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Connection": "keep-alive",
"Content-Length": "0",
"Content-Type": "application/json",
"User-Agent": "azsdk-python-keyvault-keys/4.5.1 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"User-Agent": "azsdk-python-keyvault-keys/4.6.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": null,
"StatusCode": 401,
Expand All @@ -33,7 +33,7 @@
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"User-Agent": "azsdk-python-identity/1.11.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": null,
"StatusCode": 200,
Expand All @@ -43,16 +43,16 @@
"Cache-Control": "max-age=86400, private",
"Content-Length": "1753",
"Content-Type": "application/json; charset=utf-8",
"Date": "Fri, 22 Apr 2022 15:48:28 GMT",
"Date": "Fri, 17 Jun 2022 23:46:00 GMT",
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
"Set-Cookie": [
"fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; expires=Sun, 22-May-2022 15:48:28 GMT; path=/; secure; HttpOnly; SameSite=None",
"fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBgAAADIJP9oOAAAA; expires=Sun, 17-Jul-2022 23:46:01 GMT; path=/; secure; HttpOnly; SameSite=None",
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
],
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices",
"x-ms-ests-server": "2.1.13006.6 - EUS ProdSlices",
"X-XSS-Protection": "0"
},
"ResponseBody": {
Expand Down Expand Up @@ -130,8 +130,8 @@
"Accept": "application/json",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Cookie": "fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
"User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"Cookie": "fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBgAAADIJP9oOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
"User-Agent": "azsdk-python-identity/1.11.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": null,
"StatusCode": 200,
Expand All @@ -141,16 +141,16 @@
"Cache-Control": "max-age=86400, private",
"Content-Length": "945",
"Content-Type": "application/json; charset=utf-8",
"Date": "Fri, 22 Apr 2022 15:48:28 GMT",
"Date": "Fri, 17 Jun 2022 23:46:00 GMT",
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
"Set-Cookie": [
"fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; expires=Sun, 22-May-2022 15:48:28 GMT; path=/; secure; HttpOnly; SameSite=None",
"fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBgAAADIJP9oOAAAA; expires=Sun, 17-Jul-2022 23:46:01 GMT; path=/; secure; HttpOnly; SameSite=None",
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
],
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices",
"x-ms-ests-server": "2.1.12851.7 - WUS2 ProdSlices",
"X-XSS-Protection": "0"
},
"ResponseBody": {
Expand Down Expand Up @@ -209,7 +209,7 @@
"Connection": "keep-alive",
"Content-Length": "138",
"Content-Type": "application/json",
"User-Agent": "azsdk-python-keyvault-keys/4.5.1 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"User-Agent": "azsdk-python-keyvault-keys/4.6.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": {
"key": {
Expand All @@ -232,18 +232,18 @@
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=73.232.137.144;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus2",
"x-ms-server-latency": "187"
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "canadacentral",
"x-ms-server-latency": "216"
},
"ResponseBody": {
"attributes": {
"created": 1650642509,
"created": 1655509561,
"enabled": true,
"exportable": false,
"recoverableDays": 7,
"recoveryLevel": "CustomizedRecoverable\u002BPurgeable",
"updated": 1650642509
"updated": 1655509561
},
"key": {
"key_ops": [
Expand All @@ -252,7 +252,7 @@
"unwrapKey",
"wrapKey"
],
"kid": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/68333332075f4fcd8902a47c8d7f01e2",
"kid": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/fd080ac4c2c406002019757894b7c945",
"kty": "oct-HSM"
}
}
Expand All @@ -264,7 +264,7 @@
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"User-Agent": "azsdk-python-identity/1.11.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": null,
"StatusCode": 200,
Expand All @@ -274,16 +274,16 @@
"Cache-Control": "max-age=86400, private",
"Content-Length": "1753",
"Content-Type": "application/json; charset=utf-8",
"Date": "Fri, 22 Apr 2022 15:48:29 GMT",
"Date": "Fri, 17 Jun 2022 23:46:01 GMT",
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
"Set-Cookie": [
"fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; expires=Sun, 22-May-2022 15:48:29 GMT; path=/; secure; HttpOnly; SameSite=None",
"fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBwAAADIJP9oOAAAA; expires=Sun, 17-Jul-2022 23:46:01 GMT; path=/; secure; HttpOnly; SameSite=None",
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
],
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices",
"x-ms-ests-server": "2.1.13006.6 - NCUS ProdSlices",
"X-XSS-Protection": "0"
},
"ResponseBody": {
Expand Down Expand Up @@ -361,8 +361,8 @@
"Accept": "application/json",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Cookie": "fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
"User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"Cookie": "fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBwAAADIJP9oOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
"User-Agent": "azsdk-python-identity/1.11.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": null,
"StatusCode": 200,
Expand All @@ -372,16 +372,16 @@
"Cache-Control": "max-age=86400, private",
"Content-Length": "945",
"Content-Type": "application/json; charset=utf-8",
"Date": "Fri, 22 Apr 2022 15:48:29 GMT",
"Date": "Fri, 17 Jun 2022 23:46:01 GMT",
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
"Set-Cookie": [
"fpc=AoYECHYVsYZBnicRrY_2H34hRuoAFAAAABTF9NkOAAAA; expires=Sun, 22-May-2022 15:48:29 GMT; path=/; secure; HttpOnly; SameSite=None",
"fpc=AsGfAVlNHCxLgpkjl-uL_NOiNiroBwAAADIJP9oOAAAA; expires=Sun, 17-Jul-2022 23:46:01 GMT; path=/; secure; HttpOnly; SameSite=None",
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
],
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices",
"x-ms-ests-server": "2.1.12890.7 - EUS ProdSlices",
"X-XSS-Protection": "0"
},
"ResponseBody": {
Expand Down Expand Up @@ -432,21 +432,20 @@
}
},
{
"RequestUri": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/68333332075f4fcd8902a47c8d7f01e2/decrypt?api-version=7.2",
"RequestUri": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/fd080ac4c2c406002019757894b7c945/decrypt?api-version=7.2",
"RequestMethod": "POST",
"RequestHeaders": {
"Accept": "application/json",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "361",
"Content-Length": "344",
"Content-Type": "application/json",
"User-Agent": "azsdk-python-keyvault-keys/4.5.1 Python/3.9.9 (Windows-10-10.0.22000-SP0)"
"User-Agent": "azsdk-python-keyvault-keys/4.6.0b2 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
},
"RequestBody": {
"alg": "A256CBCPAD",
"value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg",
"iv": "ibitv7BzReNZiTKgnFF0QQ",
"aad": "dGVzdA"
"iv": "ibitv7BzReNZiTKgnFF0QQ"
},
"StatusCode": 200,
"ResponseHeaders": {
Expand All @@ -457,13 +456,13 @@
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=73.232.137.144;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus2",
"x-ms-server-latency": "56"
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "canadacentral",
"x-ms-server-latency": "60"
},
"ResponseBody": {
"alg": "A256CBCPAD",
"kid": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/68333332075f4fcd8902a47c8d7f01e2",
"kid": "https://managedhsmvaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt34a730b0/fd080ac4c2c406002019757894b7c945",
"value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"
}
}
Expand Down
Loading

0 comments on commit bd68763

Please sign in to comment.