summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix ordering of context.check_hostname and context.verify_mode so as to not ↵Colton Hicks2021-02-224-4/+66
| | | | raise ValueError if cert_reqs=ssl.CERT_NONE.
* Pass long_description to setup() (#353)Philipp A2021-02-091-27/+16
| | | | | * Pass long_description to setup() * Remove unused import
* remove TCP_USER_TIMEOUT option for SolarisCiaran McGirl2021-02-061-0/+2
|
* Fix for tox-docker 2.0Jorrit2021-01-281-3/+4
| | | | tox-docker 2.0.0 changed its ini section format.
* Bump version: 5.0.4 → 5.0.5v5.0.5Asif Saif Uddin (Auvi)2021-01-284-4/+4
|
* added changelog for 5.0.5Asif Saif Uddin (Auvi)2021-01-281-0/+11
|
* remove wrong imports occured by commits from another branchAsif Saif Uddin (Auvi)2021-01-281-566/+0
|
* remove wrong imports occured by commits from another branchAsif Saif Uddin (Auvi)2021-01-281-1/+0
|
* Bump version: 5.0.3 → 5.0.4v5.0.4Asif Saif Uddin (Auvi)2021-01-284-4/+4
|
* changelog entry for v5.0.4Asif Saif Uddin (Auvi)2021-01-281-0/+10
|
* Merge branch 'master' of https://github.com/celery/py-amqpAsif Saif Uddin (Auvi)2021-01-289-121/+228
|\
| * Add missing load_default_certs() call. (#350)Moisés Guimarães de Medeiros2021-01-273-56/+124
| | | | | | Fixes: #349
| * Bump version: 5.0.2 → 5.0.3v5.0.3Asif Saif Uddin (Auvi)2021-01-204-4/+4
| |
| * changlog entry for 5.0.3Asif Saif Uddin (Auvi)2021-01-191-0/+29
| |
| * Fix _wrap_socket_sni (#347)Moisés Guimarães de Medeiros2020-12-224-95/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change the default value of ssl_version to None. When not set, the proper value between ssl.PROTOCOL_TLS_CLIENT and ssl.PROTOCOL_TLS_SERVER will be selected based on the param server_side in order to create a TLS Context object with better defaults that fit the desired connection side. * Change the default value of cert_reqs to None. The default value of ctx.verify_mode is ssl.CERT_NONE, but when ssl.PROTOCOL_TLS_CLIENT is used, ctx.verify_mode defaults to ssl.CERT_REQUIRED. * Fix context.check_hostname logic. Checking the hostname depends on having support of the SNI TLS extension and being provided with a server_hostname value. Another important thing to mention is that enabling hostname checking automatically sets verify_mode from ssl.CERT_NONE to ssl.CERT_REQUIRED in the stdlib ssl and it cannot be set back to ssl.CERT_NONE as long as hostname checking is enabled. * Refactor the SNI tests to test one thing at a time and removing some tests that were being repeated over and over. Signed-off-by: Moisés Guimarães de Medeiros <guimaraes@pm.me>
* | import types to initAsif Saif Uddin (Auvi)2021-01-191-0/+1
| |
* | initial abstract typestypesAsif Saif Uddin (Auvi)2020-12-131-4/+565
| |
* | initial base typesAsif Saif Uddin (Auvi)2020-12-131-0/+5
|/
* Reworks _wrap_soscket_sni doctextMoisés Guimarães de Medeiros2020-11-271-12/+16
| | | | | | | | | | * Normalizes all params descriptions starting with a capitalized letter. * Removes 'client' reference from key and cert, as the server_side param states, this can be used by either side of the conversation. * Enhances cert_reqs description covering all the possible values with a more acurate behaviour explanation. Signed-off-by: Moisés Guimarães de Medeiros <guimaraes@pm.me>
* Make apicheck happyMatus Valo2020-11-112-1/+2
|
* Initial reference documentation amqp.transportMatus Valo2020-11-103-16/+191
|
* Make flake8 happyMatus Valo2020-11-081-2/+4
|
* Bump version: 5.0.1 → 5.0.2v5.0.2Omer Katz2020-11-084-4/+4
|
* Update changelog.Omer Katz2020-11-081-0/+25
|
* autopep8 + isortOmer Katz2020-11-087-35/+39
|
* Basic publish confirm timeout fix (#343)RezaSi2020-11-082-6/+32
| | | | | | | | | | | | | | | * Reuse the timeout for publishing to wait for a response. * Added the confirm_timeout keyword argument. If a timeout was specified and confirm_timeout was not use the timeout. Otherwise, use the confirm_timeout. * Fix unit test. * Add document for timeout and confirm_timeout in _basic_publish Co-authored-by: Omer Katz <omer.drow@gmail.com> Co-authored-by: Reza Shiri <rezashiri@cafebazaar.ir>
* Reintroduce ca_certs and ciphers parameters of ↵Matus Valo2020-11-082-10/+136
| | | | | SSLTransport._wrap_socket_sni() (#344) This fixes issue introduced in commit: 53d677754b4e820acf673711532c1a1dc8e57124
* Update README.rstAsif Saif Uddin2020-11-031-2/+2
| | | migrate to travisci.com
* Cosmetic improvements to read_frame()Matus Valo2020-10-132-4/+17
|
* Explicitely test userid, pass and vhost in repr() testsMatus Valo2020-09-141-6/+22
|
* Added __repr__ to Connection() and *Transport() classesMatus Valo2020-09-145-0/+69
|
* trivial - ignore python virtualenv from gitHervé Beraud2020-09-131-0/+1
|
* Wheels are no longer universal.Omer Katz2020-09-061-1/+1
|
* Bump version: 5.0.0 → 5.0.1v5.0.1Omer Katz2020-09-064-4/+4
|
* Update changelog.Omer Katz2020-09-061-0/+11
|
* Bump vine version to 5.0.0.Omer Katz2020-09-061-1/+1
|
* Bump version: 5.0.0b1 → 5.0.0v5.0.0Omer Katz2020-09-034-4/+4
|
* Update changelog.Omer Katz2020-09-031-0/+11
|
* pyupgrade.Omer Katz2020-09-0319-61/+54
|
* Bump version: 5.0.0a1 → 5.0.0b1Omer Katz2020-09-035-7/+6
|
* Update changelog.Omer Katz2020-09-031-5/+20
|
* Stop to use deprecated method ssl.wrap_socket (#327)Hervé Beraud2020-09-023-28/+16
| | | | | | | | | | | | | | | | | | `ssl.wrap_socket` is deprecated since python 3.7 and since python 3.2 and 2.7.9 (released in 2014) it is recommended to use the SSLContext.wrap_socket() instead of wrap_socket(). The top-level function is limited and creates an insecure client socket without server name indication or hostname matching [1]. Python 2.7 is now officially unmaintained, latest version of python 2.7 is 2.7.18, py-amqp only support python versions who are compatible with these changes [2]. These changes move away from `ssl.wrap_socket` by using now `ssl.SSLContext.wrap_socket` [3]. [1] https://docs.python.org/3/library/ssl.html#ssl.wrap_socket [2] https://github.com/celery/py-amqp/blob/master/setup.py#L24,L29 [3] https://docs.python.org/3/library/ssl.html#ssl.SSLContext.wrap_socket
* Migrate another case imports to unittest.mock after dropping python 3.5Matus Valo2020-09-024-13/+5
|
* Happify linters without errors.Omer Katz2020-08-311-3/+5
|
* Happify linters.Omer Katz2020-08-318-70/+65
|
* Adjust test to actual default.Omer Katz2020-08-311-1/+2
|
* isort.Omer Katz2020-08-317-40/+19
|
* Default to ssl.PROTOCOL_TLS.Omer Katz2020-08-311-1/+1
|
* CI for Python 3 only.Omer Katz2020-08-313-25/+17
|
* Prepare setup.py for Python 3 only support.Omer Katz2020-08-311-15/+10
|