summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMason Elmore <masonelmore@users.noreply.github.com>2026-09-11 04:32:37 -0500
committerGitHub <noreply@github.com>2026-09-11 12:32:37 +0300
commit25635b0560863eb4a5b34434bb34dfd7c43d77f9 (patch)
tree2972ea1315b42576ce9ca85fb20e54fa074c7d55 /plugins
parent497022e13c372ed68afe49aeafca66285e2f8001 (diff)
downloadvyos.vyos-25635b0560863eb4a5b34434bb34dfd7c43d77f9.tar.gz
vyos.vyos-25635b0560863eb4a5b34434bb34dfd7c43d77f9.zip
T9251: accept OpenSSH sk-* key types in vyos_user (#500)HEADmain
* T9251: accept OpenSSH sk-* key types in vyos_user VyOS has accepted sk-ecdsa-sha2-nistp256@openssh.com and sk-ssh-ed25519@openssh.com since T4750, but the module's choices list was never updated, so a playbook using a security key fails argspec validation while the equivalent CLI commands succeed. --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: omnom62 <omnom62@outlook.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/modules/vyos_user.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index dd8c801f..7c21b074 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -117,6 +117,8 @@ options:
- ecdsa-sha2-nistp384
- ssh-ed25519
- ecdsa-sha2-nistp521
+ - sk-ecdsa-sha2-nistp256@openssh.com
+ - sk-ssh-ed25519@openssh.com
name:
description:
@@ -447,6 +449,8 @@ def main():
"ecdsa-sha2-nistp384",
"ssh-ed25519",
"ecdsa-sha2-nistp521",
+ "sk-ecdsa-sha2-nistp256@openssh.com",
+ "sk-ssh-ed25519@openssh.com",
],
),
)