Skip to content

Commit 5c10837

Browse files
committed
Starts adding a list of weak ciphers
1 parent 8113313 commit 5c10837

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

src/Cli/Executable/OpenSSL.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,41 @@ class OpenSSL extends Abstraction implements Executable
162162
]
163163
];
164164

165+
private $weakCiphers = [
166+
'rc2' => true,
167+
'rc2-40' => true,
168+
'rc2-64' => true,
169+
'rc2-128' => true,
170+
'rc2-40-cbc' => true,
171+
'rc2-64-cbc' => true,
172+
'rc2-cbc' => true,
173+
'rc2-cfb' => true,
174+
'rc2-ecb' => true,
175+
'rc2-ofb' => true,
176+
'rc4' => true,
177+
'rc4-40' => true,
178+
'des' => true,
179+
'des-cbc' => true,
180+
'des-cfb' => true,
181+
'des-ecb' => true,
182+
'des-ede' => true,
183+
'des-ede-cbc' => true,
184+
'des-ede-cfb' => true,
185+
'des-ede-ofb' => true,
186+
'des-ede3' => true,
187+
'des-ede3-cbc' => true,
188+
'des-ede3-cfb' => true,
189+
'des-ede3-ofb' => true,
190+
'des-ofb' => true,
191+
'des3' => true,
192+
'desx' => true,
193+
'seed' => true,
194+
'seed-cbc' => true,
195+
'seed-cfb' => true,
196+
'seed-ecb' => true,
197+
'seed-ofb' => true,
198+
];
199+
165200
/**
166201
* Keep the not encrypted file
167202
*

0 commit comments

Comments
 (0)