Skip to content

Issue #295: Implement support for the OpenSSH-specific ChaChaPoly SSH… #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2025

Conversation

Castaglia
Copy link
Owner

… algorithm.

@Castaglia Castaglia self-assigned this May 14, 2025
@Castaglia Castaglia force-pushed the proxy-chachapoly-issue295 branch from dd81ebe to 8e3f533 Compare May 14, 2025 16:48
@@ -1178,6 +1178,8 @@ int proxy_ssh_auth_handle(struct proxy_ssh_packet *pkt,
if (msg_type == PROXY_SSH_MSG_USER_AUTH_REQUEST) {
uint32_t len;

(void) len;

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to quell the following compiler warning:

lib/proxy/ssh/auth.c:1179:14: warning: variable 'len' set but not used [-Wunused-but-set-variable]
 1179 |     uint32_t len;

@@ -3041,6 +3041,8 @@ static int decrypt_openssh_data(pool *p, const char *path,
uint32_t buflen, key_len, rounds, salt_len, len = 0;
size_t passphrase_len;

(void) len;

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes, not related to the ChaChaPoly implementation, are to quell compiler warnings about "set but not used" values.

@Castaglia Castaglia force-pushed the proxy-chachapoly-issue295 branch from 8e3f533 to d6d4145 Compare May 14, 2025 17:07
@Castaglia Castaglia force-pushed the proxy-chachapoly-issue295 branch from d6d4145 to de6bb2e Compare May 15, 2025 15:13
@Castaglia Castaglia merged commit f986805 into master May 15, 2025
8 of 9 checks passed
@Castaglia Castaglia deleted the proxy-chachapoly-issue295 branch May 15, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant