re-added AES-GCM ciphers - fixes #4849, fixes #4846, fixes #4844

This commit is contained in:
Eugene Pankov 2021-10-28 09:08:06 +02:00
parent ed480a2954
commit 3109ea0220
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -9,6 +9,8 @@ import { ALGORITHM_BLACKLIST, SSHAlgorithmType, SSHProfile } from './api'
// Counteracts https://github.com/mscdex/ssh2/commit/f1b5ac3c81734c194740016eab79a699efae83d8
ALGORITHMS.DEFAULT_CIPHER.push('aes128-gcm')
ALGORITHMS.DEFAULT_CIPHER.push('aes256-gcm')
ALGORITHMS.SUPPORTED_CIPHER.push('aes128-gcm')
ALGORITHMS.SUPPORTED_CIPHER.push('aes256-gcm')
@Injectable({ providedIn: 'root' })
export class SSHProfilesService extends ProfileProvider<SSHProfile> {