-
Notifications
You must be signed in to change notification settings - Fork 732
Labels
good first issuejiraCreate a Jira ticket for this issueCreate a Jira ticket for this issuemediumMedium priority. Combine with "low" or "high" to signal intermediate priority.Medium priority. Combine with "low" or "high" to signal intermediate priority.
Description
During compilation of the project, a significant number of warnings are generated due to the usage of deprecated functions from the libssh library. These deprecated APIs include functions such as publickey_from_file, privatekey_from_file, privatekey_free, ssh_channel_get_exit_status, ssh_channel_select, ssh_scp_free, ssh_scp_close, ssh_scp_push_file64, ssh_scp_accept_request, sftp_server_init, among others.
The warnings appear mostly in the files:
3rd-party/libssh/libssh/src/legacy.c3rd-party/libssh/libssh/src/scp.csrc/sshfs_mount/sftp_server.cppsrc/ssh/ssh_client.cpp
Sample warning messages:
warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations]
warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations]
warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_scp_push_file64’ is deprecated [-Wdeprecated-declarations]
warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations]
warning: ‘sftp_server_init’ is deprecated [-Wdeprecated-declarations]
Metadata
Metadata
Assignees
Labels
good first issuejiraCreate a Jira ticket for this issueCreate a Jira ticket for this issuemediumMedium priority. Combine with "low" or "high" to signal intermediate priority.Medium priority. Combine with "low" or "high" to signal intermediate priority.