Skip to content
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

Removed sha1-based MACs from default config #706

Merged
merged 2 commits into from Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions myproposal.h
Expand Up @@ -63,6 +63,17 @@

#define KEX_CLIENT_ENCRYPT KEX_SERVER_ENCRYPT

#ifdef WINDOWS
#define KEX_SERVER_MAC \
"umac-64-etm@openssh.com," \
"umac-128-etm@openssh.com," \
"hmac-sha2-256-etm@openssh.com," \
"hmac-sha2-512-etm@openssh.com," \
"umac-64@openssh.com," \
"umac-128@openssh.com," \
"hmac-sha2-256," \
"hmac-sha2-512,"
#else
#define KEX_SERVER_MAC \
"umac-64-etm@openssh.com," \
"umac-128-etm@openssh.com," \
Expand All @@ -74,6 +85,7 @@
"hmac-sha2-256," \
"hmac-sha2-512," \
"hmac-sha1"
#endif

#define KEX_CLIENT_MAC KEX_SERVER_MAC

Expand Down