summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-09-18 15:19:13 +0100
committerGitHub <noreply@github.com>2025-09-18 15:19:13 +0100
commit05b826ae7294e48f4483d9586f8f12a72c97347c (patch)
tree43efb7fac3e46801b89302a15154f92cbec0955e /python
parent098988988d3126d084482821c30d5332ce5bb66b (diff)
parent6deda171e8b5f5a65101436399bdbb308179e076 (diff)
downloadvyos-1x-05b826ae7294e48f4483d9586f8f12a72c97347c.tar.gz
vyos-1x-05b826ae7294e48f4483d9586f8f12a72c97347c.zip
Merge pull request #4731 from c-po/openssh-T7787
T7787: add deprecation warning for ssh-dss keys
Diffstat (limited to 'python')
-rw-r--r--python/vyos/defaults.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 027e4480d..43cde38e9 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -91,3 +91,8 @@ commit_hooks = {'pre': '/etc/commit/pre-hooks.d',
}
airbag_noteworthy_size = 20
+
+SSH_DSA_DEPRECATION_WARNING: str = \
+'Support for SSH-DSA keys is deprecated and will be removed in VyOS 1.6. ' \
+'Please update affected keys to a supported algorithm (e.g., RSA, ECDSA or ' \
+'ED25519) to avoid authentication failures after the upgrade.'