Precise error message for IntegrityProtectedInputStream

This commit is contained in:
Paul Schaub 2022-11-24 21:34:25 +01:00
parent c72b3a4b8e
commit a495f2275c
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class IntegrityProtectedInputStream extends InputStream {
}
LOGGER.debug("Integrity Protection check passed");
} catch (PGPException e) {
throw new IOException("Failed to verify integrity protection", e);
throw new IOException("Data appears to not be integrity protected.", e);
}
}
}