That is an intermittent issue that I haven't been able to reliably reproduce. As I recall, the test that's failing is supposed to fail, but in a different way. I think it's supposed to fail because of a short buffer but occasionally fails because of an internal error, and when that happens this test fails. I don't know when it was introduced. We should probably document it in jira and or realese notes.
On Wed, Aug 5, 2020, 10:53 PM Gary Gregory <[email protected]> wrote: > Hi All: > > I am seeing what may be a random AEADBadTagException in GcmCipherTest? > > For example: > > [ERROR] testGcmTamperedData(org.apache.commons.crypto.cipher.GcmCipherTest) > Time elapsed: 0.015 s <<< ERROR! > 881java.lang.Exception: Unexpected exception, > expected<javax.crypto.AEADBadTagException> but > was<java.lang.InternalError> > 882 at > org.apache.commons.crypto.cipher.GcmCipherTest.testGcmTamperedData(GcmCipherTest.java:224) > 883 > 884 > > > > > > Any thoughts? > > The above is from > https://travis-ci.org/github/apache/commons-crypto/jobs/715348986 > > Gary >
