Skip to content

Commit

Permalink
ChaCha20-Poly1305 is always supported
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaswolf committed Sep 2, 2024
1 parent 40a08a4 commit 890f93a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ public Cipher create() {
* unlimited-strength files need be installed and then the JVM re-started. Therefore, the answer is not going to
* change while the JVM is running
*/
this.supported = Constants.NONE.equals(factoryName) || Cipher.checkSupported(this.transformation, this.keysize);
this.supported = Constants.NONE.equals(factoryName) || Constants.CC20P1305_OPENSSH.equals(factoryName)
|| Cipher.checkSupported(this.transformation, this.keysize);
}

@Override
Expand Down

0 comments on commit 890f93a

Please sign in to comment.