use deterministic passphrase in PgpKeyOperationTest

This commit is contained in:
Vincent Breitmoser committed 2017-11-22 14:19:38 +01:00
1 parent 833ff57e51
commit bf173b1e65
2 files changed
+1 -5

No files matched your search

@@ -23,10 +23,6 @@ import junit.framework.Assert;
public class TestingUtils {
public static Passphrase genPassphrase() {
return genPassphrase(false);
}
public static Passphrase genPassphrase(boolean noEmpty) {
String chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()-_=";
Random r = new Random();