[Bug 665209] Re: Ctrl-\ after rejected key-encryption password causes hang

Maarten Bezemer maarten.bezemer at gmail.com
Mon May 14 10:49:51 UTC 2012


I was too hasty: while I was typing my response,  openssl repeatedly
displaying the password prompt without responding to user input as you
described.

** Changed in: openssl (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/665209

Title:
  Ctrl-\ after rejected key-encryption password causes hang

Status in “openssl” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: openssl

  Create the following shell script:

  #!/bin/sh
  openssl genrsa -aes256

  And run it.

  After a key is generated, you will be prompted for an encryption
  password.  Press enter.  Since empty passwords are not allowed here,
  you will be prompted a second time.  Now press Ctrl-\.  Openssl then
  falls into an infinite loop of repeatedly displaying the password
  prompt without responding to user input.

  This behavior does *not* seem to occur if:

  1. You run openssl directly from the shell rather than from a shell script; or
  2. You press Ctrl-\ immediately without first having a password rejected; or
  3. You use an openssl built from upstream sources.  Hence, this seems to be a Debian- or Ubuntu-specific bug.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: openssl 0.9.8o-1ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.35-22.35-virtual 2.6.35.4
  Uname: Linux 2.6.35-22-virtual i686
  Architecture: i386
  Date: Fri Oct 22 16:33:12 2010
  Ec2AMI: ami-508c7839
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: us-east-1d
  Ec2InstanceType: t1.micro
  Ec2Kernel: aki-407d9529
  Ec2Ramdisk: unavailable
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: openssl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/665209/+subscriptions




More information about the foundations-bugs mailing list