necouchman commented on code in PR #538:
URL: https://github.com/apache/guacamole-server/pull/538#discussion_r1732508876
##########
src/protocols/vnc/vnc.c:
##########
@@ -397,6 +397,33 @@ void* guac_vnc_client_thread(void* data) {
return NULL;
}
+ /* Import the public key, if that is specified. */
+ if (settings->sftp_public_key != NULL) {
+
+ guac_client_log(client, GUAC_LOG_DEBUG,
+ "Attempting public key import");
+
+ /* Attempt to read public key */
+ if
(guac_common_ssh_user_import_public_key(vnc_client->sftp_user,
+ settings->sftp_public_key)) {
+
+ /* Public key import fails. */
+ guac_client_abort(client,
Review Comment:
Can we say copy pasta?!
Fixed via rebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]