From f7a51f5ec5e992c53cd6ef7bc2ece482ead848f0 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Wed, 2 Oct 2024 07:30:29 +1000 Subject: Backend: Rename keystore file to specify it is for skyhanni (#2619) --- src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt | 2 +- src/main/resources/mykeystore.jks | Bin 124141 -> 0 bytes src/main/resources/skyhanni-keystore.jks | Bin 0 -> 124141 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 src/main/resources/mykeystore.jks create mode 100644 src/main/resources/skyhanni-keystore.jks diff --git a/src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt index d28263af6..f331ab3e3 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt @@ -30,7 +30,7 @@ object APIUtils { private val ctx: SSLContext? = run { try { val myKeyStore = KeyStore.getInstance("JKS") - myKeyStore.load(APIUtils.javaClass.getResourceAsStream("/keystore.jks"), "changeit".toCharArray()) + myKeyStore.load(APIUtils.javaClass.getResourceAsStream("/skyhanni-keystore.jks"), "changeit".toCharArray()) val kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()) val tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()) kmf.init(myKeyStore, null) diff --git a/src/main/resources/mykeystore.jks b/src/main/resources/mykeystore.jks deleted file mode 100644 index 75039b79a..000000000 Binary files a/src/main/resources/mykeystore.jks and /dev/null differ diff --git a/src/main/resources/skyhanni-keystore.jks b/src/main/resources/skyhanni-keystore.jks new file mode 100644 index 000000000..75039b79a Binary files /dev/null and b/src/main/resources/skyhanni-keystore.jks differ -- cgit