Comments (7)
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.
This is a different error
from revanced-cli.
do you know how to fix it? is it something from my side ?
from revanced-cli.
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.
@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.
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.
Closed with 2975a47.
from revanced-cli.
Related Issues (20)
- bug: I can no longer use my keystone in the revanced cli HOT 4
- bug: How to include the patches to be applied? HOT 3
- bug: how to apply only specific patches? HOT 3
- bug: formatting error when reading patch names HOT 8
- bug: --unsigned behaves incorrectly? HOT 3
- bug: Mounting causes app to crash on startup and changes app name to "com.google.android.apps.youtube.app.YouTubeTikTokRoot_Application" HOT 13
- bug: `revanced-cli-4.0.2`: Missing mount script in `/data/adb/service.d` and apk in `/data/adb/revanced` after mounting HOT 26
- bug: Compiling error HOT 8
- feat: Index patches uniquely HOT 11
- bug: "INFO: " gets prepended to the output of `list-patches` command HOT 1
- patched reddit won't open bug: HOT 1
- feat: Interactive shell script HOT 5
- bug: YouTube patch: "Integrations have not been merged yet" error HOT 2
- bug: defined `-r` parameter is broken in patches v4.0.1 HOT 8
- bug: failure to build youtube 19.03.35 with default settings HOT 3
- bug (CLI v4.4.2): Certificate isn't installed properly in patched apk HOT 5
- bug: Parameter -ii seems broken HOT 3
- bug: The fact that this exists
- bug: Failed to delete temp files
- bug: Too many WARNING about `null` value for `client-id` patch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revanced-cli.