Commit Graph

950 Commits

Author SHA1 Message Date
Tim Burke 6cd44b572b Ignore ENOTCONN during shutdown 2024-07-26 11:33:56 -04:00
arp102 9d5b287f4c Revert "Rely on close() to close sockets and stop using shutdown()"
This reverts commit 64e4f18dd0
because it broke the CI tests.
2024-07-26 11:33:07 -04:00
Takashi Kajinami feec443cf8 Remove deprecation warning in old python versions
... because now this is not installable in these versions.
2024-07-26 11:22:52 -04:00
Takashi Kajinami cb11131010 Update supported python versions
... according to the versions actually tested now.
2024-07-26 11:22:52 -04:00
Shane Harvey 64e4f18dd0 Rely on close() to close sockets and stop using shutdown() 2024-07-26 11:21:11 -04:00
Takashi Kajinami 4d3b5a52ae Fix compatibility with cryptography >= 42.0.0
The load_der_public_key method and the load_pem_private_key method were
removed from Backend class in cryptography 42.0.0[1].

Closes #713

[1] 41daf2d86d
2024-03-29 13:48:09 -04:00
arp102 cae5747a19 Update CI configuration. 2023-09-12 16:03:27 -04:00
justin-h-loi 400c29bc4f Removing bandit/pyaml version requirements 2023-08-29 16:33:43 -04:00
justin-h-loi a664187bc4 Fix code syntax and docs 2023-08-29 16:33:43 -04:00
justin-h-loi e9a63e2659 Actions file name change and fixes 2023-08-29 16:33:43 -04:00
justin-h-loi 4f8b3161e3 Fix to include integration tests for py builds 2023-08-29 16:33:43 -04:00
justin-h-loi 8800e0b641 Test fix 2023-08-29 16:33:43 -04:00
justin-h-loi d275a68d3f (tox.ini): Forgot to add python versions to tox envlist 2023-08-29 16:33:43 -04:00
justin-h-loi 8783e881be Adding ubuntu20 and extra python versions to git actions 2023-08-29 16:33:43 -04:00
justin-h-loi 6130e18cf1 Update git actions to node16 runtime 2023-08-29 16:33:43 -04:00
justin-h-loi 0cf89ebbcb Readding setup.py and adding permissions to /usr/local/lib/ 2023-08-29 16:33:43 -04:00
justin-h-loi 7299fa7305 Removing setup.py install for test 2023-08-29 16:33:43 -04:00
justin-h-loi ab580ee813 Adding integration tests to git actions 2023-08-29 16:33:43 -04:00
justin-h-loi 483fc6c57f alternate config unit test fix 2023-08-29 16:33:43 -04:00
justin-h-loi ff69f85091 pep8 fixes 2023-08-29 16:33:43 -04:00
justin-h-loi 084fbcdb61 Make unit tests use default config 2023-08-29 16:33:43 -04:00
justin-h-loi bfa3c01893 Extending flake8 test max line length 2023-08-29 16:33:43 -04:00
justin-h-loi a10215191a tox passenv change 2023-08-29 16:33:43 -04:00
justin-h-loi 0fd1e1f275 Remove old installs and attempt at doc test fix 2023-08-29 16:33:43 -04:00
justin-h-loi 66e7b331c1 test reduction 2023-08-29 16:33:43 -04:00
justin-h-loi 11db2e5b85 test number conditions 2023-08-29 16:33:43 -04:00
justin-h-loi f7043f7a72 test number conditions 2023-08-29 16:33:43 -04:00
justin-h-loi 19c57b257c Reformat test number conditions 2023-08-29 16:33:43 -04:00
justin-h-loi 5fbf13fd45 Adding test number conditions 2023-08-29 16:33:43 -04:00
justin-h-loi 8f681ba457 Changing python versions 2023-08-29 16:33:43 -04:00
justin-h-loi 77620f34be Changing ubuntu image versions 2023-08-29 16:33:43 -04:00
justin-h-loi ec5f138c43 code reduction 2023-08-29 16:33:43 -04:00
justin-h-loi 8692e346cd Remove setup.py in .travis setup 2023-08-29 16:33:43 -04:00
justin-h-loi 4041e77693 Folder permissions for run.sh in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi 7339254e52 File permissions for run.sh in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi 01b3e54c50 Backtrack to try using sudo instead for setup in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi 059e8c4fb1 Add missing virtualenv install for builds in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi fd25dda1b8 Setup virtualenv inside builds in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi 2eb3f784c8 Permissions fix in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi a7d035e985 Directory fix in .travis.yml action 2023-08-29 16:33:43 -04:00
justin-h-loi 46986498f9 .travis.yml build fix 2023-08-29 16:33:43 -04:00
justin-h-loi 142ee4f0d0 Added converted git action version of travis.yml 2023-08-29 16:33:43 -04:00
justin-h-loi 4c65eb8326 Changing file path of .travis workflow 2023-08-29 16:33:43 -04:00
justin-h-loi 111f1e5361 Run travis.yml workflow 2023-08-29 16:33:43 -04:00
arp102 0b63de97ee Fix test_mac_with_cryptographic_failure unit test.
This test is meant to intentionally trigger an exception in the cryptography library
by creating a CMAC with a non-block cipher algorithm, IDEA.
That doesn't work any more because IDEA is now treated as a block cipher algorithm.
To fix this, we now use the ARC4 algorithm instead,
which does trigger the expected exception.
2023-08-11 18:36:27 -04:00
Litao Xia f0a44b26ce Fix pykmip client error with server_correlation_value issue 2023-08-01 14:34:13 -04:00
Zsolt Parragi 5f34baee0d Do not leak database connections 2023-08-01 14:33:22 -04:00
locula 1a0f63af61 add original 2023-08-01 14:29:45 -04:00
Kevin Albertson fc5917365b check if shared_ciphers() is None before logging 2023-08-01 14:28:49 -04:00
Konstantin Trushin 263cb34662 Fix source code style to comply with PEP8 2023-03-27 11:16:46 -04:00