Add test for signing with protected key without password

This commit is contained in:
Paul Schaub 2023-01-20 14:58:21 +01:00
parent 0d9db2bdd3
commit c95ca8fedc
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 28 additions and 1 deletions

View file

@ -96,7 +96,11 @@ public class DetachedSignExternal implements DetachedSign {
}
data.close();
processOut.close();
try {
processOut.close();
} catch (IOException e) {
// Ignore Stream closed
}
while ((r = processIn.read(buf)) > 0) {
outputStream.write(buf, 0 , r);