Skip to content

Commit

Permalink
Make non-test method a main method
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Aug 26, 2021
1 parent 004a761 commit ac469ff
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -30,7 +30,6 @@
import org.bouncycastle.openpgp.PGPPublicKeyRing;
import org.bouncycastle.openpgp.PGPSignature;
import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless;
import org.pgpainless.key.TestKeys;
Expand Down Expand Up @@ -125,9 +124,7 @@ public void verifySignatureDetached() throws IOException, PGPException {
CertificateValidator.validateCertificateAndVerifyInitializedSignature(signature, signingKeys, PGPainless.getPolicy());
}

@Test
@Disabled
public void print() throws IOException {
public static void main(String[] args) throws IOException {
// CHECKSTYLE:OFF
PGPPublicKeyRing keys = TestKeys.getEmilPublicKeyRing();
System.out.println(ArmorUtils.toAsciiArmoredString(keys));
Expand Down

0 comments on commit ac469ff

Please sign in to comment.