IBM Support

IZ68993: KEYTOOL DOES NOT READ PASSWORDS FROM INPUT FILE CORRECTLY.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Problem description: Keytool does not read passwords from input
    file correctly.
    
    JDK Affected: Java 6
    
    Component: KEYTOOL / IBM JCE
    
    Keytool of Java 6 makes use of Password Class of PKCS (Keytool
    of Java 5 had the password processing code within Keytool).  The
    Password Class of PKCS currently is capable of reading only a
    single password from the file. It returns Null password when
    asked to read the second password within the file.
    

Local fix

  • Use keytool from IBM JDK 5 or enter password from command line
    

Problem summary

  • -genkey on keytool fails when password and confirmation are
    piped in via a file.
    

Problem conclusion

  • A prior fix for Z/OS needed to be reworked to ensure that all
    platforms except Z use the new Console API at Java 6 correctly.
    
    This affects ibmpkcs.jar. The fix is available in Hursley defect
    162634  and should make 6.0 SR 8.  The SVN build date is
    20100226_01.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ68993

  • Reported component name

    TIV JAVA CRYPTO

  • Reported component ID

    TIVSECJCE

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-29

  • Closed date

    2010-03-01

  • Last modified date

    2010-03-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TIV JAVA CRYPTO

  • Fixed component ID

    TIVSECJCE

Applicable component levels

  • R100 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCZL42","label":"JCE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 March 2010