Skip to content

Commit 9bfb3a4

Browse files
committed
tests: fix dropbearconvert ed25519 against openssh 10.3
OpenSSH ssh-keygen has always written its own format for ed25519 keys, but silently accepted "-m PEM". OpenSSH 10.3 stopped doing that. Closes #461 on github
1 parent d2c4c35 commit 9bfb3a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/test_dropbearconvert.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def test_from_openssh(request, tmp_path, keytype, keyformat):
2828
if kt == 'dss' and keyformat is None:
2929
pytest.skip("dss doesn't support openssh format")
3030

31+
if kt == 'ed25519' and keyformat == "PEM":
32+
# openssh 10.3 PEM fails, earlier is silently ignored
33+
pytest.skip("ed25519 doesn't support PEM format")
34+
3135
os_kt = kt
3236
if os_kt == 'dss':
3337
# OpenSSH calls it 'dsa', Dropbear calls it 'dss'

0 commit comments

Comments
 (0)