[openssl3] please sync openssl.cnf to ease changing security level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Debian) |
Fix Released
|
Unknown
|
|||
openssl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
The OpenSSL 3.0 lead to a lot of broken setups. Some of them are regressions, but others are simply broken due to the use of outdated algorithms, such as SHA-1 signature on certificates. Changing the security level is a common action to identify and work around such cases, and as such the user should be able to change it easily in the default config file.
The fix is to partially revert our delta that ignored a Debian patch: instead of ignoring the patch entirely, we modify it to only affect the default configuration file, and in a way that matches our patchset. Using this approach will allow us to pick up on Debian's changes more easily during subsequent merges.
[Test Plan]
To easily check that the setting is taken into account, one can use
'openssl ciphers -s'
$ openssl ciphers -v -s | wc -l # Uses the default value
30
$ openssl ciphers -v -s 'DEFAULT:
30
$ openssl ciphers -v -s 'DEFAULT:
24
$ vim /etc/ssl/openssl.cf # edit the config file to bump the seclevel to 3
$ openssl ciphers -v -s | wc -l # Uses the new value from the config file
24
[Where problems could occur]
The changes could break the overall configuration of OpenSSL!
[Origin report]
openssl.cnf as provided misses some directive, which make it a bit difficult to change security level, which since openssl 3 disables SHA1 signatures.
See also this Debian bug https:/
Can you please sync this change in Ubuntu openssl?
This way one should just add a single directive to change the security level.
Thanks.
Related branches
- Canonical Server: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 5913 lines (+5452/-13)49 files modifieddebian/README.debian (+0/-8)
debian/changelog (+524/-0)
debian/control (+4/-1)
debian/libssl3.postinst (+226/-0)
debian/libssl3.templates (+42/-0)
debian/patches/Drop-the-last-ossl_init_casecmp-call.patch (+36/-0)
debian/patches/Set-systemwide-default-settings-for-libssl-users.patch (+2/-3)
debian/patches/lp1947588.patch (+97/-0)
debian/patches/series (+11/-0)
debian/patches/skip_tls1.1_seclevel3_tests.patch (+51/-0)
debian/patches/strcasecmp-implement-strcasecmp-and-strncasecmp.patch (+215/-0)
debian/patches/tests-use-seclevel-1.patch (+235/-0)
debian/patches/tls1.2-min-seclevel2.patch (+63/-0)
debian/patches/tolower-refine-the-tolower-code-to-avoid-a-memory-ac.patch (+139/-0)
debian/po/ar.po (+108/-0)
debian/po/ca.po (+117/-0)
debian/po/cs.po (+119/-0)
debian/po/da.po (+119/-0)
debian/po/de.po (+119/-0)
debian/po/el.po (+115/-0)
debian/po/es.po (+153/-0)
debian/po/eu.po (+114/-0)
debian/po/fi.po (+121/-0)
debian/po/fr.po (+128/-0)
debian/po/gl.po (+108/-0)
debian/po/hu.po (+101/-0)
debian/po/it.po (+117/-0)
debian/po/ja.po (+109/-0)
debian/po/ko.po (+104/-0)
debian/po/lt.po (+124/-0)
debian/po/ml.po (+106/-0)
debian/po/nb.po (+117/-0)
debian/po/nl.po (+130/-0)
debian/po/pl.po (+120/-0)
debian/po/pt.po (+115/-0)
debian/po/pt_BR.po (+131/-0)
debian/po/ro.po (+115/-0)
debian/po/ru.po (+119/-0)
debian/po/sk.po (+113/-0)
debian/po/sv.po (+126/-0)
debian/po/ta.po (+95/-0)
debian/po/templates.pot (+95/-0)
debian/po/tr.po (+118/-0)
debian/po/uk.po (+105/-0)
debian/po/vi.po (+107/-0)
debian/po/zh_CN.po (+106/-0)
debian/po/zh_TW.po (+98/-0)
debian/rules (+14/-0)
debian/tests/control (+1/-1)
summary: |
- please sync openssl.cnf to ease changing security level + [openssl3] please sync openssl.cnf to ease changing security level |
tags: | added: rls-kk-incoming |
tags: | added: rls-jj-incoming |
Changed in openssl (Ubuntu): | |
importance: | Undecided → Medium |
Changed in openssl (Debian): | |
status: | Unknown → Fix Released |
Changed in openssl (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | removed: rls-jj-incoming rls-kk-incoming |
tags: | added: fr-2369 |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.