crypto.py generates certs with SHA-1 digest
Bug #1516703 reported by
Anna Sortland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
nova/crypto.
The call to 'openssl req' does not specify -digest option nor certificate config file sets digest, so certificates are generated with SHA-1 digest. SHA-1 is not considered to be a secure algorithm for certificates' digest.
It would be preferable to:
1) let user specify digest algorithm via a config option
2) default to SHA-256
description: | updated |
Changed in nova: | |
assignee: | nobody → Wen Zhi Yu (yuywz) |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: security |
tags: | added: windows |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Harshavardhan Metla (harsha24) |
Changed in nova: | |
assignee: | Harshavardhan Metla (harsha24) → nobody |
To post a comment you must log in.
I think we do NOT need to introduce a new config option for specifying the digest algorithm. Since SHA-256 is considered to be a secure algorithm, we can just use SHA-256 when make "openssl req" call. This can make the code clean and simple.