Skip to content

Commit

Permalink
Backend: Rename keystore file to specify it is for skyhanni (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs authored Oct 1, 2024
1 parent bdbac0d commit f7a51f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/utils/APIUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
File renamed without changes.

0 comments on commit f7a51f5

Please sign in to comment.