Skip to content

Commit

Permalink
Fix code scanning alert no. 10: Use of a cryptographic algorithm with…
Browse files Browse the repository at this point in the history
… insufficient key size

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
offsoc and github-advanced-security[bot] authored Jan 11, 2025
1 parent 03b0fc5 commit 40ed3e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class AttachmentControllerV4Test {
static {
try {
final KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
keyPairGenerator.initialize(1024);
keyPairGenerator.initialize(2048);
final KeyPair keyPair = keyPairGenerator.generateKeyPair();

RSA_PRIVATE_KEY_PEM = "-----BEGIN PRIVATE KEY-----\n" +
Expand Down

0 comments on commit 40ed3e9

Please sign in to comment.