Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1308834

Summary: keyutil -h problems
Product: Red Hat Enterprise Linux 6 Reporter: Stanislav Zidek <szidek>
Component: crypto-utilsAssignee: Joe Orton <jorton>
Status: CLOSED UPSTREAM QA Contact: Stanislav Zidek <szidek>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8CC: szidek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-31 12:26:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stanislav Zidek 2016-02-16 09:08:55 UTC
Description of problem:
* option -a is undocumented, although almost always used by other tools
* missing line breaks

Version-Release number of selected component (if applicable):
# rpm -q crypto-utils
crypto-utils-2.4.1-24.3.el6

How reproducible:
always

Steps to Reproduce:
1. keyutil -h
2.
3.

Actual results:
Usage: keyutil [options] arguments
{-c|--command} command, one of [genreq|makecert]
{-r|--renew} cert-to-renew     the file with the certifificast to renew
{-s|--subject} subject         subject distinguished name{-g|--gsize} key_size          size in bitsof the rsa key to generate
{-v|--validity} months         cert validity in months{-z|--znoisefile} noisefile    seed file for use in key generation
{-e|--encpwd} keypwd           key encryption_password
{-f|--filepwdnss} modpwdfile   file with the module access_password
{-d|--digest} digest-algorithm digest algorithm
{-i|--input} inputkey-file     file with key with which to encrypt or to sign a request
{-p|--passout} pbe-password    the password for encrypting of the key
{-o|--output} out-file         output file for a csr or cert
{-k|--keyfile} out-key-file    output key file, with csr or certgen
{-t|--cacert}                  indicates that cert renewal is for a ca
{-h|--help}                    print this help message

Expected results:
Usage: keyutil [options] arguments
{-c|--command} command, one of [genreq|makecert]
{-a}                           use base64 encoded output formats
{-r|--renew} cert-to-renew     the file with the certifificast to renew
{-s|--subject} subject         subject distinguished name
{-g|--gsize} key_size          size in bitsof the rsa key to generate
{-v|--validity} months         cert validity in months
{-z|--znoisefile} noisefile    seed file for use in key generation
{-e|--encpwd} keypwd           key encryption_password
{-f|--filepwdnss} modpwdfile   file with the module access_password
{-d|--digest} digest-algorithm digest algorithm
{-i|--input} inputkey-file     file with key with which to encrypt or to sign a request
{-p|--passout} pbe-password    the password for encrypting of the key
{-o|--output} out-file         output file for a csr or cert
{-k|--keyfile} out-key-file    output key file, with csr or certgen
{-t|--cacert}                  indicates that cert renewal is for a ca
{-h|--help}                    print this help message

Additional info:

Comment 3 Karel Srot 2016-04-01 06:27:18 UTC
Postponing to 6.9 as it is too late to address this bug in 6.8.

Comment 4 Joe Orton 2016-08-31 12:26:04 UTC
Fixed upstream, no plans to address in RHEL6 now.

http://pkgs.fedoraproject.org/cgit/rpms/crypto-utils.git/commit/?id=daf0de36a41ab6e811f0ba4790ac823f5798b1da