When I add a public SSH key over the API or in the UI I get the following error
$ maas maas sshkeys create key="$(ssh-add -L | grep <email address hidden>)" {"key": ["Invalid SSH public key: 'PosixPath' object has no attribute 'path'"]}
This was introduced in 5118 in the validation code of SSH keys.
When I add a public SSH key over the API or in the UI I get the following error
$ maas maas sshkeys create key="$(ssh-add -L | grep <email address hidden>)"
{"key": ["Invalid SSH public key: 'PosixPath' object has no attribute 'path'"]}
This was introduced in 5118 in the validation code of SSH keys.