mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Updates authorized_key.py with all current ssh key types
This commit is contained in:
parent
6208b5e920
commit
00f97908d7
2 changed files with 6 additions and 2 deletions
3
changelogs/fragments/17_authorized_keys.yml
Normal file
3
changelogs/fragments/17_authorized_keys.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- authorized_keys - Added FIDO2 security keys (https://github.com/ansible-collections/ansible.posix/issues/17).
|
||||||
|
|
@ -386,13 +386,14 @@ def parsekey(module, raw_key, rank=None):
|
||||||
'''
|
'''
|
||||||
|
|
||||||
VALID_SSH2_KEY_TYPES = [
|
VALID_SSH2_KEY_TYPES = [
|
||||||
'ssh-ed25519',
|
'sk-ecdsa-sha2-nistp256@openssh.com',
|
||||||
'ecdsa-sha2-nistp256',
|
'ecdsa-sha2-nistp256',
|
||||||
'ecdsa-sha2-nistp384',
|
'ecdsa-sha2-nistp384',
|
||||||
'ecdsa-sha2-nistp521',
|
'ecdsa-sha2-nistp521',
|
||||||
|
'sk-ssh-ed25519@openssh.com',
|
||||||
|
'ssh-ed25519',
|
||||||
'ssh-dss',
|
'ssh-dss',
|
||||||
'ssh-rsa',
|
'ssh-rsa',
|
||||||
'sk-ecdsa-sha2-nistp256@openssh.com',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
options = None # connection options
|
options = None # connection options
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue