twisted's conch does not support ed25519 and ecdsa ssh public keys
Bug #1590081 reported by
William
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Undecided
|
Gavin Panella | ||
twisted (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When adding public keys to a user account, ed25519 and ecdsa public keys are showing as not supported public key types; the UI presents "Invalid SSH public key" as feedback.
Related branches
lp://staging/~allenap/maas/other-ssh-key-types--bug-1590081
- Mike Pontillo (community): Approve
-
Diff: 463 lines (+354/-24)8 files modifiedsrc/maasserver/models/sshkey.py (+5/-17)
src/maasserver/models/tests/test_sshkey.py (+28/-7)
src/maasserver/tests/data/test_ecdsa256.pub (+1/-0)
src/maasserver/tests/data/test_ecdsa384.pub (+1/-0)
src/maasserver/tests/data/test_ecdsa521.pub (+1/-0)
src/maasserver/tests/data/test_ed25519.pub (+1/-0)
src/provisioningserver/utils/sshkey.py (+161/-0)
src/provisioningserver/utils/tests/test_sshkey.py (+156/-0)
lp://staging/~allenap/maas/packaging.other-ssh-key-types--bug-1590081
- Andres Rodriguez (community): Approve
-
Diff: 25 lines (+4/-0)2 files modifieddebian/changelog (+3/-0)
debian/control (+1/-0)
summary: |
when setting up ssh accounts for the key injection, allow specifying - ed25519 public keys + ed25519 and ecdsa public keys |
description: | updated |
description: | updated |
description: | updated |
Changed in maas: | |
milestone: | none → 2.0.0 |
description: | updated |
Changed in maas: | |
milestone: | 2.0.0 → 2.1.0 |
Changed in twisted (Ubuntu): | |
status: | New → Confirmed |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
milestone: | 2.1.0 → 2.0.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In /usr/lib/ python3/ dist-packages/ twisted/ conch/ssh/ keys.py, fromString does not support ed25519 and ecdsa keys.