1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-12-10 22:31:09 +01:00

SOP: Hide armor version header by default

This commit is contained in:
Paul Schaub 2022-11-11 13:45:25 +01:00
parent 48005da7f3
commit 86b06ee5e3
3 changed files with 19 additions and 6 deletions

View file

@ -4,6 +4,7 @@
package org.pgpainless.sop;
import org.pgpainless.util.ArmoredOutputStreamFactory;
import sop.SOP;
import sop.operation.Armor;
import sop.operation.Dearmor;
@ -20,6 +21,10 @@ import sop.operation.Version;
public class SOPImpl implements SOP {
static {
ArmoredOutputStreamFactory.setVersionInfo(null);
}
@Override
public Version version() {
return new VersionImpl();