I tried this again (openssl3) and got the following:

    40C75734AE7F0000:error:14000065:UI routines:UI_set_result_ex:result too 
small:../crypto/ui/ui_lib.c:884:You must type in 4 to 1024 characters
    40C75734AE7F0000:error:1400006B:UI routines:UI_process:processing 
error:../crypto/ui/ui_lib.c:544:while reading strings
    40C75734AE7F0000:error:0480006D:PEM routines:PEM_def_callback:problems 
getting password:../crypto/pem/pem_lib.c:62:
    40C75734AE7F0000:error:07880109:common libcrypto 
routines:do_ui_passphrase:interrupted or cancelled:../crypto/passphrase.c:184:
    40C75734AE7F0000:error:1C80009F:Provider routines:p8info_to_encp8:unable to 
get passphrase:../providers/implementations/encode_decode/encode_key2any.c:116:

I'm going to mark this as Fix Released.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to