mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
Fix SOP encrypt-decrypt test
This commit is contained in:
parent
b0692b4dc5
commit
3cd64b61ca
8 changed files with 88 additions and 72 deletions
|
@ -103,7 +103,8 @@ public class EncryptDecryptTest {
|
|||
FileInputStream msgAscIn = new FileInputStream(msgAscFile);
|
||||
System.setIn(msgAscIn);
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
System.setOut(new PrintStream(out));
|
||||
PrintStream pOut = new PrintStream(out);
|
||||
System.setOut(pOut);
|
||||
new CommandLine(new PGPainlessCLI()).execute("decrypt",
|
||||
"--verify-out", verifyFile.getAbsolutePath(),
|
||||
"--verify-with", romeoCertFile.getAbsolutePath(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue