Skip to content
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

[5.0.2] Fix | Addressing failure on providing correct error message when symmetric key decryption fails using Always Encrypted #1977

Conversation

lcheunglci
Copy link
Contributor

Backporting fix to the 5.0-servicing branch. This fix addresses the issue where the decrypt fail exception was not thrown properly caused by a partial read issue resulting a TDS invalid token exception instead. These changes are based on #1948

…etric key decryption fails using Always Encrypted. (dotnet#1948)
@lcheunglci lcheunglci added this to the 5.0.2 milestone Mar 30, 2023
@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.21 ⚠️

Comparison is base (4031ef9) 71.63% compared to head (466721f) 71.42%.

Additional details and impacted files
@@                Coverage Diff                @@
##           5.0-servicing    #1977      +/-   ##
=================================================
- Coverage          71.63%   71.42%   -0.21%     
=================================================
  Files                293      293              
  Lines              61377    61381       +4     
=================================================
- Hits               43965    43842     -123     
- Misses             17412    17539     +127     
Flag Coverage Δ
addons 92.38% <ø> (ø)
netcore 74.98% <0.00%> (-0.26%) ⬇️
netfx 69.28% <0.00%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../netcore/src/Microsoft/Data/SqlClient/TdsParser.cs 73.64% <0.00%> (-0.16%) ⬇️
...nt/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs 70.96% <0.00%> (-0.46%) ⬇️

... and 17 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lcheunglci lcheunglci merged commit 9bd90e6 into dotnet:5.0-servicing Mar 30, 2023
@lcheunglci lcheunglci deleted the 5.0-Backport-1948-AE-Decrypt-Fail-Message-Fix branch March 30, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants