当前位置:网站首页>PEM_ read_ bio_ Privatekey() returns null only in ECB mode - PEM_ read_ bio_ PrivateKey() returns NULL in ECB mode only
PEM_ read_ bio_ Privatekey() returns null only in ECB mode - PEM_ read_ bio_ PrivateKey() returns NULL in ECB mode only
2022-06-30 02:14:00 【French red wine sweet】
problem :
PEM_read_bio_PrivateKey() returns NULL if a private key is encrypted by DES EDE in ECB mode. If the private key is in ECB In mode by DES EDE encryption , be PEM_read_bio_PrivateKey() return NULL .The issue happens in EVP_DecryptFinal_ex() : The problem happened in EVP_DecryptFinal_ex() :
4128:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:330:
If the same private key is encrypted by DES EDE in CBC mode, this function works OK. If in CBC In mode DES EDE Encrypt the same private key , This function is normal .
I checked, this issue is reproducible on openssl 0.9.8r/y versions (without FIPS). I checked , The question is openssl 0.9.8r / y edition ( No, FIPS) Is reproducible .If openssl is built with FIPS the issue doesn't happen. If you use FIPS structure openssl, Then it will not happen .
What causes this behaviour? What causes this behavior ?
Thanks! thank you !
Solution :
Reference resources : https://stackoom.com/en/question/1BGxy边栏推荐
- 002_ container
- Summary of DOM
- 005_ button
- dhu编程练习
- dhu编程练习
- Share the source code of the website of graduation student record
- 【MySQL 06】linux + Docker容器环境中备份和还原MySQL数据库
- DTW学习(dynamic time warping)——思想、代码实现
- Leetcode 46 Full arrangement (February 15, 2022)
- Jenkins continuous integration environment build 8 (configure mailbox server to send build results)
猜你喜欢

当大学毕业感到迷茫怎么办?

【银河麒麟V10】【桌面】火狐浏览器设置主页不生效
![[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network](/img/5f/b23b64eed7f28ffd92c122b6859e2d.png)
[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network

Matlab 2012a 绘制带箭头的线段

003_ color

归并排序

云存储架构能解决 DevOps 的什么问题?

Matlab 2012a drawing line segment with arrow
![[machine learning Q & A] cosine similarity, cosine distance, Euclidean distance and the meaning of distance in machine learning](/img/34/367c66b8d10e896848b102a7f9aa89.png)
[machine learning Q & A] cosine similarity, cosine distance, Euclidean distance and the meaning of distance in machine learning
![Scala basics [introduction and installation]](/img/c5/9e62070719e1e0db29b0e44b0f0bc1.png)
Scala basics [introduction and installation]
随机推荐
DHU programming exercise
Vs realize quick replacement function
【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库
一次 Keepalived 高可用的事故,让我重学了一遍它!
记录生产的一次OOM异常
018_ rate
实现VS每次只运行一个源文件
9 - regular check set
网上炒股安全么?炒股需要开户吗?
Is the processor the main factor in buying a mobile phone?
[MySQL 05] SUSE 12 SP5 modifies the MySQL password for the first time after installing MySQL
Comprendre le principe AQS (organigramme et schéma de file d'attente synchrone)
CheapSwap 协议的诞生
DHU programming exercise
Some practical knowledge about PR
图解 Google V8 # 19 :异步编程(二):V8 是如何实现 async/await 的?
If mybaits cannot query the data, it can query how to change it in the database
Record an oom exception in production
Matlab 2012a 绘制带箭头的线段
DHU programming exercise