Skip to content

Commit d1f95bc

Browse files
committed
Remove hand-written CipherMode
1 parent 2e98d07 commit d1f95bc

16 files changed

+125
-1141
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ The main types provided by this library are:
123123

124124
Private keys in OpenSSL traditional PEM format can be encrypted using one of the following cipher methods:
125125
* DES-EDE3-CBC
126-
* DES-EDE3-CFB
127126
* AES-128-CBC
128127
* AES-192-CBC
129128
* AES-256-CBC

src/Renci.SshNet/PrivateKeyFile.PKCS1.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public Key Parse()
5353
case "DES-EDE3-CBC":
5454
cipher = new CipherInfo(192, (key, iv) => new TripleDesCipher(key, iv, CipherMode.CBC, pkcs7Padding: true));
5555
break;
56-
case "DES-EDE3-CFB":
57-
cipher = new CipherInfo(192, (key, iv) => new TripleDesCipher(key, iv, CipherMode.CFB, pkcs7Padding: false));
58-
break;
5956
case "AES-128-CBC":
6057
cipher = new CipherInfo(128, (key, iv) => new AesCipher(key, iv, CipherMode.CBC, pkcs7Padding: true));
6158
break;

src/Renci.SshNet/PrivateKeyFile.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ namespace Renci.SshNet
4545
/// <description>DES-EDE3-CBC</description>
4646
/// </item>
4747
/// <item>
48-
/// <description>DES-EDE3-CFB</description>
49-
/// </item>
50-
/// <item>
5148
/// <description>AES-128-CBC</description>
5249
/// </item>
5350
/// <item>

src/Renci.SshNet/Security/Cryptography/BlockCipher.cs

Lines changed: 0 additions & 223 deletions
This file was deleted.

src/Renci.SshNet/Security/Cryptography/Ciphers/AesCipher.BclImpl.cs

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)