-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
create a text file to be encripted, before run the tests
private String plainTextFile = ".../plain-text.txt";
//create a text file to be encripted, before run the tests
Solution:
Simple insert to TestBCOpenPGP:
@Before
public void setUp() throws Exception {
if(Files.notExists(Paths.get(plainTextFile)))
{
byte[] rand = new byte[819200];
new SecureRandom().nextBytes(rand);
Files.write(Paths.get(plainTextFile), Base64.getEncoder().encode(rand));
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels