Comments (3)
使用exclude可以排除那些不必加密的jar与类,就能使用bcpkix、bouncycastle类的库了
from xjar.
hello,是这样的。最近在用xjar加密了一个spring cloud项目,加密后的程序可以运行起来,但是某个接口请求处理过程中就出错了。这个接口会调用hutool的SecurityUtil.aes()去解密一个东西,这个方法内部会创建一个Cipher,Cipher内部会校验jar包,结果校验到bcpkix-jdk15on这个jar包(在BOOT-INF/lib中)时就出错了。因为这个jar包本身做了签名,xjar处理后的jar包计算出来的签名,与这个jar包里面的manifest的签名不匹配,所以报错了。不知道之前有没有人报过这个问题,如果需要更多的信息可以找我了解,谢谢
我也遇到这个问题了,您解决了吗?
我的用户登录,密码和用户名是加密的,但是后台解密就遇到问题了。
查了下 https://blog.csdn.net/study4034/article/details/79632495 确实xjar这种方式重新打包了jar。
from xjar.
我也遇到一样问题,解决了吗?
hello,是这样的。最近在用xjar加密了一个spring cloud项目,加密后的程序可以运行起来,但是某个接口请求处理过程中就出错了。这个接口会调用hutool的SecurityUtil.aes()去解密一个东西,这个方法内部会创建一个Cipher,Cipher内部会校验jar包,结果校验到bcpkix-jdk15on这个jar包(在BOOT-INF/lib中)时就出错了。因为这个jar包本身做了签名,xjar处理后的jar包计算出来的签名,与这个jar包里面的manifest的签名不匹配,所以报错了。不知道之前有没有人报过这个问题,如果需要更多的信息可以找我了解,谢谢
from xjar.
Related Issues (20)
- 使用xjar编译后 无法进行标准输入操作 HOT 2
- jdk11启动加密后jar失败,是不是xjar与jdk11不兼容呢? HOT 4
- 配置了HTTPS加密后jar包启动提示启动端口被占用
- 能不能也支持一下:Solon 框架啊?
- xjar命令之后之后报错ArrayIndexOutOfBoundsException HOT 1
- 控制台Scanner nextLine()获取用户输入执行报错 HOT 5
- 请问,加密后Nacos、Spring Cloud 等能正常使用吗?
- 使用xjar启动器启动集成了seata-all-1.3.0.jar的加密后的Spring Cloud项目时发生异常 HOT 3
- 请问,jdk15,打包加密启动报错
- 【致命】发现一个致命的问题,既然加密是为了交付,假如三方直接登入机器dumpjava内存,一下就看到秘钥了。 HOT 2
- springmvc项目出错
- jsp加密运行出错
- Springboot3 + Java17 打包后运行报错 HOT 3
- tomcat 扫描包出错 HOT 1
- 被杀毒软件报毒 HOT 2
- -Dxjar.excludes=static/** 无法排除static目录下文件不加密
- 启动时报主类错误 Incompatible magic value
- 针对quarkus等框架打包出来的legacy-jar也能运行吗?JDK17
- 升级了Java版到21,现在运行的时候,没法启动 HOT 2
- 有大佬用WinSW服务部署过吗
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 xjar.