User interface error when executing openssl from a daemon

Bug #1879826 reported by Maxime
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When a daemon executes `openssl` using fork()+execl() it get the following error:

User interface error 139953222812992:error:2807206C:UI routines:open_console:unknown ttyget errno value:../crypto/ui/ui_openssl.c:454:errno=1 139953222812992:error:2807106B:UI routines:UI_process:processing error:../crypto/ui/ui_lib.c:545:while opening session unable to load CA private key 139953222812992:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:588: 139953222812992:error:0906A065:PEM routines:PEM_do_header:bad decrypt:../crypto/pem/pem_lib.c:461:

The problem has been fixed in upstream openssl: https://github.com/openssl/openssl/commit/082394839ea32386abc7ee33aaa9da864287064c
See the relevant issue here: https://github.com/openssl/openssl/pull/11767

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openssl 1.1.1f-1ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
Uname: Linux 5.4.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu May 21 10:51:27 2020
InstallationDate: Installed on 2020-04-09 (41 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200408)
SourcePackage: openssl
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Maxime (dp-maxime) wrote :
Changed in openssl (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openssl - 1.1.1f-1ubuntu4

---------------
openssl (1.1.1f-1ubuntu4) groovy; urgency=medium

  * Cherrypick upstream fix for non-interactive detection on Linux. LP:
    #1879826
  * Cherrypick AES CTR-DRGB: performance improvement LP: #1799928
  * Skip services restart & reboot notification if needrestart is in-use
    LP: #1895708

 -- Dimitri John Ledkov <email address hidden> Tue, 15 Sep 2020 18:04:36 +0100

Changed in openssl (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.