IBM Support

IV50103: ADDING A LIBRARY IN TSD USING TRUSTCHK MIGHT FAIL APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • being in /etc/security/certificates and running :
    /tmp/trustchk/trustchk -s privkey.der -v cert.der -a
    <library>
    will output error :
    trustchk: Hash value calculation failed
    trustchk: Error adding stanza: /usr/lib/libtli.a
    

Local fix

  • The problem only occurs when user is in
    /etc/security/certificates and provide relative paths
    to certificate or privkey.
    The user can fix this by giving fullpath I.E:
    /tmp/trustchk/trustchk -s /etc/security/certificates/
    privkey.der -v /etc/security/certificates/
    cert.der -a <library>
    

Problem summary

  • trustchk command might fail to add library to trustchk
    database when the relative path of file(privkey.der,cert.der)
    is provided.
    
    # /usr/sbin/trustchk -s privkey.der -v cert.der -a
     /usr/lib/libtli.a
    trustchk: Hash value calculation failed
    trustchk: Error adding stanza: /usr/lib/libtli.a
    

Problem conclusion

  • trustchk has been modified to handle the relative path files
    while adding library to trustchk database.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58229
    6100-08 - use AIX APAR IV48378
    6100-09 - use AIX APAR IV50103
    6100-09 - use AIX APAR IV50103
    6100-09 - use AIX APAR IV50103
    7100-01 - use AIX APAR IV57502
    7100-02 - use AIX APAR IV56951
    7100-03 - use AIX APAR IV50094
    

APAR Information

  • APAR number

    IV50103

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-09-27

  • Closed date

    2013-09-27

  • Last modified date

    2014-08-14

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

    IV48378

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

    U866361

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U866361

       UP14/05/21 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV50103

Modified date: 14 August 2014