-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings are not protected when using bytecodePlugin
#552
Comments
What is your source code? |
Just the template: https://github.com/alex8088/quick-start/blob/17aaa8c5b8f9def5dbf3f88c55ac8b17408544e2/packages/create-electron/playground/vue-ts/src/main/index.ts#L53 If string is long (like primary key), it is much easier to recognize |
Did some research and successfully obfuscate the string. see in subframe7536/electron-incremental-update@961893d |
The bytecodePlugin is not work for me, too. I just add one password string into protectedStrings like this
But I still found my_password string in index.jsc file easily. I've read documents and sure that build.minify is disabled. |
Describe the bug
Create from official template and add bytecodePlugin
in generated
.jsc
file, thepong
is shown verticallyElectron-Vite Version
2.3.0
Electron Version
28.2.10
Vite Version
5.3.1
Validations
The text was updated successfully, but these errors were encountered: