This PR fixes a bug with signature validation on some API calls.
One component that is signed is the URL path parameter. Public API checks signature against urlencoded path while egoscale signs unencoded one. This means public API would fail signature check when path component has unsafe character in url (observed for SSH key name with space character, endpoint: https://<zone>.exoscale.com/v2/ssh-key/some%20key). This PR aligns request signature logic to the public API.
This PR fixes a bug with signature validation on some API calls.
One component that is signed is the URL path parameter. Public API checks signature against urlencoded path while egoscale signs unencoded one. This means public API would fail signature check when path component has unsafe character in url (observed for SSH key name with space character, endpoint:
https://<zone>.exoscale.com/v2/ssh-key/some%20key
). This PR aligns request signature logic to the public API.