Hi,
I made a local Maven fork of the Freenet Fred project. One of my maven
dependencies is:
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.56</version>
</dependency>
With this bcprov-jdk15on version most of the tests in the
MessageAuthCodeTest class fail because of
IllegalArgumentException("Invalid format for r portion of Poly1305
key."). The reason is some bug fix in the bcprov-jdk15on itself,
related to "compliance with RFC7539". Take a look at their bug fix
commit:
https://github.com/bcgit/bc-java/commit/9d0edfbede2bc877257fdf704b837315de2708ec
They changed the Poly1305 key bit numbers they check in the
Poly1305KeyGenerator class.
If I continue to use the fixed bcprov-jdk15on version will it have any
negative impact to the Freenet functionality or only to the
MessageAuthCodeTest tests? Will you upgrade your bcprov-jdk15on to the
latest version?
Thanks
_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl