From 8172aa108305068d9d31e2d6b2e8dc519b2e0b4c Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Fri, 22 Apr 2022 20:56:02 +0200 Subject: [PATCH] Update documentation of #96 workaround --- .../src/main/java/org/pgpainless/util/ArmorUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java b/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java index e862652d..48bdc0cc 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java +++ b/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java @@ -536,11 +536,9 @@ public final class ArmorUtils { * to read all PGPKeyRings properly, we apparently have to make sure that the {@link InputStream} that is given * as constructor argument is a PGPUtil.BufferedInputStreamExt. * Since {@link PGPUtil#getDecoderStream(InputStream)} will return an {@link org.bouncycastle.bcpg.ArmoredInputStream} - * if the underlying input stream contains armored data, we have to nest two method calls to make sure that the + * if the underlying input stream contains armored data, we first dearmor the data ourselves to make sure that the * end-result is a PGPUtil.BufferedInputStreamExt. * - * This is a hacky solution. - * * @param inputStream input stream * @return BufferedInputStreamExt *