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 *