Skip to content

Commit 8ec6ce6

Browse files
committed
Upgrade bouncycastle dependencies to 1.72
Fixes #80 Succeeds #146
1 parent 781311e commit 8ec6ce6

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# HAP-Java 2.0.3
2+
* Upgrade bouncycastle dependencies to 1.72
3+
14
# HAP-Java 2.0.2
25
* Various minor stability issues for after an accessory has been removed.
36

pom.xml

+8-2
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,16 @@
105105

106106
<dependency>
107107
<groupId>org.bouncycastle</groupId>
108-
<artifactId>bcprov-jdk15on</artifactId>
109-
<version>1.51</version>
108+
<artifactId>bcprov-jdk18on</artifactId>
109+
<version>1.72</version>
110110
</dependency>
111111

112+
<dependency>
113+
<groupId>org.bouncycastle</groupId>
114+
<artifactId>bctls-jdk18on</artifactId>
115+
<version>1.72</version>
116+
</dependency>
117+
112118
<dependency>
113119
<groupId>net.vrallev.ecc</groupId>
114120
<artifactId>ecc-25519-java</artifactId>

src/main/java/io/github/hapjava/server/impl/crypto/ChachaDecoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import org.bouncycastle.crypto.generators.Poly1305KeyGenerator;
66
import org.bouncycastle.crypto.params.KeyParameter;
77
import org.bouncycastle.crypto.params.ParametersWithIV;
8-
import org.bouncycastle.crypto.tls.AlertDescription;
9-
import org.bouncycastle.crypto.tls.TlsFatalAlert;
8+
import org.bouncycastle.tls.AlertDescription;
9+
import org.bouncycastle.tls.TlsFatalAlert;
1010
import org.bouncycastle.util.Arrays;
1111

1212
public class ChachaDecoder {

0 commit comments

Comments
 (0)