[Pkg-openssl-devel] Bug#397730: openssl: Password input fails when using sudo

Chris Adams cadams at salk.edu
Thu Nov 9 02:56:38 CET 2006


Package: openssl
Version: 0.9.8c-3
Severity: normal


sudo openssl genrsa -aes192 -out /etc/ssl/private/host.example.edu.key 1024
admin at sifel sudo password: 
Generating RSA private key, 1024 bit long modulus
.++++++
....................++++++
e is 65537 (0x10001)
Enter pass phrase for /etc/ssl/private/host.example.edu.key:
User interface error
27157:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:pem_lib.c:331:


If I use sudo -s and run the exact command inside the resulting session all is fine.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages openssl depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libssl0.9.8                  0.9.8c-3    SSL shared libraries
ii  zlib1g                       1:1.2.3-13  compression library - runtime

openssl recommends no packages.

-- no debconf information




More information about the Pkg-openssl-devel mailing list