ubicloud/spec/routes/api/cli/lb
Jeremy Evans 9d5f0a2cbc Validate Vm#public_key when saving
This implements a fairly loose validation of the public key format.
It does not check specific key types, nor try to decode the base64
key and check it for validity.  It does check that the format in
general is valid, and that at least one valid key is present.
It will reject public keys, because those don't have a space.

This requires changes to many specs to have them use a valid public
key format.  In many cases, that is done by changing a single
dash to a space.
2025-04-26 05:34:41 +09:00
..
attach-vm_spec.rb Validate Vm#public_key when saving 2025-04-26 05:34:41 +09:00
create_spec.rb Move healthcheck logic from LoadBalancersVms to LoadBalancerVmPort allowing multiple ports 2025-03-25 11:02:41 +01:00
destroy_spec.rb Ensure cli response bodies end with newline 2025-02-21 09:32:10 -08:00
detach-vm_spec.rb Validate Vm#public_key when saving 2025-04-26 05:34:41 +09:00
update_spec.rb Validate Vm#public_key when saving 2025-04-26 05:34:41 +09:00