Git Product home page Git Product logo

Comments (7)

SVR666 avatar SVR666 commented on July 19, 2024
org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$BCKeyStoreException: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC
        at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source)
        at java.base/java.security.KeyStore.setKeyEntry(KeyStore.java:1174)
        at app.revanced.utils.signing.Signer.newKeystore(Signer.kt:51)
        at app.revanced.utils.signing.Signer.signApk(Signer.kt:84)
        at app.revanced.cli.Patcher$Companion.start$revanced_cli(Patcher.kt:50)
        at app.revanced.cli.MainCommand.run(MainCommand.kt:64)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.MainKt.main(Main.kt:6)
Caused by: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC
        at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.makePBECipher(Unknown Source)
        at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$StoreEntry.<init>(Unknown Source)

Is this the same error ?

from revanced-cli.

oSumAtrIX avatar oSumAtrIX commented on July 19, 2024

This is a different error

from revanced-cli.

SVR666 avatar SVR666 commented on July 19, 2024

do you know how to fix it? is it something from my side ?

from revanced-cli.

oSumAtrIX avatar oSumAtrIX commented on July 19, 2024

do you know how to fix it?

Prepare the same environment as the workflow in the repo for the project you are trying to build. This is a different issue and not related to #11.

from revanced-cli.

mhetralla avatar mhetralla commented on July 19, 2024

@SVR666 The repo maintainer is unwilling to provide more information about this (this same error happened to other users in the Discord server including me, and they kept replying with vague answers until we figured out what was the problem and how to solve it. Later the project lead confirmed us there was an bad implementation in the project and that trips the security policies in the Oracle's JDK.)
The solution for the problem you have is using any other Java 17 JDK that is not made by Oracle, for example Temurin OpenJDK or Azul OpenJDK.

from revanced-cli.

oSumAtrIX avatar oSumAtrIX commented on July 19, 2024

The repo maintainer is unwilling to provide more information about this

In my previous comment I have clearly said, you should use the same environment as the workflow is, that includes using the same JDK.

In addition to that this is once again the wrong issue you are replying in. Open a seperate one or/and create a PR.

from revanced-cli.

oSumAtrIX avatar oSumAtrIX commented on July 19, 2024

Closed with 2975a47.

from revanced-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.