codership / galera-manager-support

Galera Manager Support Repository
8 stars 2 forks source link

Unable to copy public key from the gui #46

Closed byte closed 1 year ago

byte commented 1 year ago

Version 1.7.3 of the GUI

Try to create a "deploy cluster on user provided hosts"

Aim to click copy. It does not copy to clipboard with a failure message - "Couldn't copy public key".

Chrome. macOS.

Screenshot 2022-12-07 at 23 00 54
byte commented 1 year ago

Upon further checking, you can see there is a different error message - "Couldn't copy public key because the application is not served over HTTPS"

Screenshot 2022-12-07 at 23 10 58

Error messages need standardising.

Why is copying disabled over HTTP?

mihaellenic commented 1 year ago

Thank you for reporting. We have standardized messages now.

Copying is disabled because of security reasons. To prevent any malicious code from getting into the clipboard since HTTP is unsecured.

You can always manually select and copy the key.