mirror of
https://github.com/Eugeny/tabby
synced 2025-03-04 15:17:17 +00:00
parent
fc02d27056
commit
3eaf46e09d
1 changed files with 5 additions and 1 deletions
|
@ -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 = []
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue