Skip to content

python-bareos: fallback to ssl.PROTOCOL_SSLv23#748

Merged
franku merged 1 commit intomasterfrom
dev/joergs/master/python-bareos-python2.7.5
Feb 25, 2021
Merged

python-bareos: fallback to ssl.PROTOCOL_SSLv23#748
franku merged 1 commit intomasterfrom
dev/joergs/master/python-bareos-python2.7.5

Conversation

@joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Feb 24, 2021

By default we set ssl.PROTOCOL_TLS.
However, this requires Python >= 2.7.13, which is not available by default on RHEL/CentOS 7.
Therefore we added a fallback to ssl.PROTOCOL_SSLv23.

This requires backports down to bareos-19.2.

Please follow these few prerequisites before you hand in a PR

Consider the following chapters in the Bareos Developer Documentation

Add some information

  • Add a small description to the CHANGELOG.md file and refer to your PR using this syntax '[PR #xyz]'
  • Add your name to the AUTHORS file

Keep spirit!

  • Do not be afraid to hand in a PR!

@joergsteffens joergsteffens force-pushed the dev/joergs/master/python-bareos-python2.7.5 branch from 40a8422 to 34e76dd Compare February 24, 2021 18:12
@joergsteffens joergsteffens force-pushed the dev/joergs/master/python-bareos-python2.7.5 branch from 34e76dd to 281c5b3 Compare February 25, 2021 10:03
@joergsteffens joergsteffens requested a review from arogge February 25, 2021 11:15
Copy link
Contributor

@franku franku left a comment

Choose a reason for hiding this comment

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

Please remove the mentioned comments as they do not add an obvious information.

By default we set ssl.PROTOCOL_TLS.
However, this requires Python >= 2.7.13, which is not available by default on RHEL/CentOS 7.
Therefore we added a fallback to ssl.PROTOCOL_SSLv23.
@joergsteffens joergsteffens force-pushed the dev/joergs/master/python-bareos-python2.7.5 branch from 281c5b3 to a3897f5 Compare February 25, 2021 11:47
@joergsteffens joergsteffens requested a review from franku February 25, 2021 11:49
@franku franku removed the request for review from arogge February 25, 2021 14:21
@franku franku merged commit e8922b1 into master Feb 25, 2021
@joergsteffens joergsteffens deleted the dev/joergs/master/python-bareos-python2.7.5 branch April 1, 2021 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants