Suppress sonar cipher warning

This commit is contained in:
René Pfeuffer
2021-03-02 08:11:08 +01:00
parent bac8ee246c
commit e295be20bf

View File

@@ -141,6 +141,8 @@ public class RepositoryImportExportEncryption {
return cipher;
}
@SuppressWarnings("java:S5542")
// We decided to use this padding theme because it still seems to be the default standard for open ssl
private Cipher getCipher() {
try {
return Cipher.getInstance("AES/CBC/PKCS5Padding");