use deterministic passphrase in PgpKeyOperationTest

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

View File

@@ -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();