Update cryptography requirement from <3,>=2.0.0 to >=2.0.0,<4 (#1206)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
dependabot[bot] 2020-07-27 11:43:10 +02:00 committed by GitHub
parent b9d55fd1ed
commit 27d4b3b8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -114,8 +114,6 @@ def _check_private_key_cert_match(key, cert):
def validate_eap(value): def validate_eap(value):
validate_cryptography_installed()
if CONF_USERNAME in value: if CONF_USERNAME in value:
if CONF_IDENTITY not in value: if CONF_IDENTITY not in value:
_LOGGER.info("EAP 'identity:' is not set, assuming username.") _LOGGER.info("EAP 'identity:' is not set, assuming username.")

View File

@ -1,7 +1,7 @@
pylint==2.5.3 pylint==2.5.3
flake8==3.8.3 flake8==3.8.3
pillow>4.0.0 pillow>4.0.0
cryptography>=2.0.0,<3 cryptography>=2.0.0,<4
pexpect==4.8.0 pexpect==4.8.0
# Unit tests # Unit tests