mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-06 20:31:08 +01:00
Use relaxed PBE parameters
This commit is contained in:
parent
bfbac4563e
commit
f38b64b4ae
4 changed files with 21 additions and 6 deletions
|
|
@ -15,6 +15,6 @@ public class InvalidProtectionSettingsTest {
|
|||
@Test
|
||||
public void unencryptedKeyRingProtectionSettingsThrows() {
|
||||
assertThrows(IllegalArgumentException.class, () ->
|
||||
new KeyRingProtectionSettings(SymmetricKeyAlgorithm.NULL, HashAlgorithm.SHA256, 0x60));
|
||||
new KeyRingProtectionSettings(SymmetricKeyAlgorithm.NULL, HashAlgorithm.SHA256, 0x60, false));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue