disabled ssh algorithm blacklist by default - fixes #4995, fixes #5072

上级 fc02d270
......@@ -49,8 +49,12 @@ export interface ForwardedPortConfig {
description: string
}
export const ALGORITHM_BLACKLIST = [
export let ALGORITHM_BLACKLIST = [
// cause native crashes in node crypto, use EC instead
'diffie-hellman-group-exchange-sha256',
'diffie-hellman-group-exchange-sha1',
]
if (!process.env.TABBY_ENABLE_SSH_ALG_BLACKLIST) {
ALGORITHM_BLACKLIST = []
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册