diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-10-02 07:30:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 23:30:29 +0200 |
commit | f7a51f5ec5e992c53cd6ef7bc2ece482ead848f0 (patch) | |
tree | 95a783f2e23baf1648a5a7adb6a11f23c7d807f3 /src/main/java | |
parent | bdbac0dfde77e87891e3078aa4a672d6404a1fc3 (diff) | |
download | skyhanni-f7a51f5ec5e992c53cd6ef7bc2ece482ead848f0.tar.gz skyhanni-f7a51f5ec5e992c53cd6ef7bc2ece482ead848f0.tar.bz2 skyhanni-f7a51f5ec5e992c53cd6ef7bc2ece482ead848f0.zip |
Backend: Rename keystore file to specify it is for skyhanni (#2619)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |