Skip to content

Commit 6caedfd

Browse files
committed
Require at least cryptography>=2.7
Version 2.6 of the cryptography library [1] added support for ed25519 ssh keys. This works with OpenSSL >= 1.1.1b. In nova, we can enable people to use ed25519 ssh keys by using the necessary cryptography library version. Users must make sure they have a new enough OpenSSL version, else they won't be able to generate ed25519 ssh keys using ssh-keygen in the first place. I did a local test using Ubuntu 18.04 and things "just worked" when I generated a ed25519 ssh key and imported it into nova. I left a comment on the launchpad bug accordingly. This updates our minimum version to the latest available version 2.7. Closes-Bug: #1555521 [1] https://cryptography.io/en/latest/changelog/#v2-6 Change-Id: Id4a4e1ae4c0acd40c1fc32c3b82a8d8a62d4624d
1 parent 6e59cc3 commit 6caedfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lower-constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cmd2==0.8.1
1414
colorama==0.3.9
1515
contextlib2==0.5.5;python_version=='2.7'
1616
coverage==4.0
17-
cryptography==2.1.4
17+
cryptography==2.7
1818
cursive==0.2.1
1919
ddt==1.0.1
2020
debtcollector==1.19.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Jinja2>=2.10 # BSD License (3 clause)
1010
keystonemiddleware>=4.20.0 # Apache-2.0
1111
lxml!=3.7.0,>=3.4.1 # BSD
1212
Routes>=2.3.1 # MIT
13-
cryptography>=2.1.4 # BSD/Apache-2.0
13+
cryptography>=2.7 # BSD/Apache-2.0
1414
WebOb>=1.8.2 # MIT
1515
# NOTE(mriedem): greenlet 0.4.14 does not work with older versions of gcc on
1616
# ppc64le systems, see https://github.com/python-greenlet/greenlet/issues/136.

0 commit comments

Comments
 (0)