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

Warn users of sslCommonName deprecation. #2704

Merged
merged 4 commits into from
Jun 28, 2022

Conversation

dlm6693
Copy link
Contributor

@dlm6693 dlm6693 commented Jun 21, 2022

This somewhat addresses #2376. Since we changes to endpoints are coming soon, we aren't addressing the root of the problem at the moment, but sending a warning that it will be soon.

@dlm6693 dlm6693 requested review from joguSD and nateprewitt June 21, 2022 22:07
@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2022

Codecov Report

Merging #2704 (cd84c27) into develop (4fd99f3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #2704   +/-   ##
========================================
  Coverage    95.22%   95.23%           
========================================
  Files           60       60           
  Lines        12283    12290    +7     
========================================
+ Hits         11697    11704    +7     
  Misses         586      586           
Impacted Files Coverage Δ
botocore/client.py 98.74% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4fd99f3...cd84c27. Read the comment docs.

@dlm6693 dlm6693 force-pushed the deprecate-ssl-common-name branch 2 times, most recently from 66d6567 to 55848b5 Compare June 21, 2022 23:00
Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick note on testing and a minor nit. Otherwise, looks good.

@dlm6693 dlm6693 requested a review from nateprewitt June 22, 2022 16:59
f'The {service_name} client is currently using a '
f'deprecated endpoint: {sslCommonName}. In the next '
f'minor version this will be moved to {hostname}. '
'See https://github.com/boto/botocore/issues/2376 '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it might be better if we create an issue that's a bit more explicit on the what/why surrounding this deprecation. It feels a little weird to link to a closed issue that doesn't really explain the deprecation beyond describing one of the affected services.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes sense I'll make one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlm6693 dlm6693 force-pushed the deprecate-ssl-common-name branch 4 times, most recently from f2cb691 to cd1e8b4 Compare June 23, 2022 21:23
Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last tweak and I think this is set!

@dlm6693 dlm6693 force-pushed the deprecate-ssl-common-name branch from d3534c8 to e3ef3d9 Compare June 28, 2022 19:14
@nateprewitt nateprewitt merged commit 184f7c8 into boto:develop Jun 28, 2022
Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@nateprewitt nateprewitt self-requested a review June 28, 2022 21:57
@dlm6693 dlm6693 deleted the deprecate-ssl-common-name branch June 28, 2022 22:02
nateprewitt added a commit to nateprewitt/botocore that referenced this pull request Jun 28, 2022
nateprewitt added a commit that referenced this pull request Jun 29, 2022
aws-sdk-python-automation added a commit that referenced this pull request Jun 29, 2022
* release-1.27.20:
  Bumping version to 1.27.20
  Update to latest endpoints
  Update to latest models
  Revert "Warn users of `sslCommonName` deprecation." (#2712)
  Add changelog entry for #2704 (#2711)
  Warn users of `sslCommonName` deprecation. (#2704)
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.

4 participants