当前位置:网站首页>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边栏推荐
- dhu编程练习
- A keepalived high availability accident made me learn it again!
- DHU programming exercise
- 26.算法常用面试题
- [MySQL 06] backup and restore MySQL database in Linux + docker container environment
- CheapSwap 协议的诞生
- Some practical knowledge about PR
- [machine learning Q & A] cosine similarity, cosine distance, Euclidean distance and the meaning of distance in machine learning
- Electron FAQ 54 - make your own fireworks based on electron
- Comprendre le principe AQS (organigramme et schéma de file d'attente synchrone)
猜你喜欢

搞透AQS原理(流程图及同步队列图解)

【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库

一种跳板机的实现思路

Comprendre le principe AQS (organigramme et schéma de file d'attente synchrone)

After the blueprint node of ue5 is copied to UE4, all connections and attribute values are lost
![[pytorch actual combat] generate confrontation network Gan: generate cartoon character avatars](/img/8f/c0cc1c8d19060a60d92c0d72f8b93d.png)
[pytorch actual combat] generate confrontation network Gan: generate cartoon character avatars
![[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

005_ button
![[naturallanguageprocessing] [multimodality] ofa: unified architecture, tasks and modes through a simple sequence to sequence learning framework](/img/c9/7be54c428212d7226cbbbb4800fcdb.png)
[naturallanguageprocessing] [multimodality] ofa: unified architecture, tasks and modes through a simple sequence to sequence learning framework
![[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
随机推荐
ROS bridge notes (01) - APT installation, source code compilation and installation, installation dependency, and operation display
Want to change careers, but don't know what you want to do?
记录生产的一次OOM异常
Electron FAQ 54 - make your own fireworks based on electron
一种跳板机的实现思路
云存储架构能解决 DevOps 的什么问题?
AI landing manufacturing: intelligent robots should have these four abilities
一次 Keepalived 高可用的事故,让我重学了一遍它!
DDoS threat situation gets worse
Oppo mobile phone search
[machine learning Q & A] cosine similarity, cosine distance, Euclidean distance and the meaning of distance in machine learning
【MySQL 04】使用MySQL Workbench 8.0 CE 備份及恢複Linux中的MySQL數據庫
The odoo15 page jumps directly to the editing status
Matlab 2012a 绘制带箭头的线段
Summary of DOM
012_ switch
[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network
ROS Bridge 笔记(01)— apt 安装、源码编译安装、安装依赖、运行显示
Upload, use of Avatar
7 — filter