IBM Support

IJ58398: TRUSTCHK -G DOES NOT SET THE HASH_ALGORITHM

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.

Notify me when this APAR changes.

 

APAR status

  • Closed as program error.

Error description

  • Attempting to change the hashing algorithm with
    'trustchk -g <new hash algorithm>'produces the
    following errors:
    
    # trustchk -g SHA512
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lpp/X11/lib/R7/libXevie.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/ccs/lib/libxdsm.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lpp/X11/lib/R7/libXfont.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lib/libcfg.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lib/libbsd.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/opt/zlibNX/static/lib/libz.a/64/adler32_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lib/libdes.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    

Local fix

Problem summary

  • Attempting to change the hashing algorithm with
    'trustchk -g <new hash algorithm>' will fail with errors like:
    
    # trustchk -g SHA512
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/lpp/X11/lib/R7/libXevie.a/64/shr_64.o
    trustchk: Internal Error
    trustchk: Hash value calculation failed
    trustchk: Verification of stanza failed:
    /usr/ccs/lib/libxdsm.a/64/shr_64.o
    

Problem conclusion

  • The trustchk command will now appropriately handle 64-bit
    library objects files when changing the hashing algorithm.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ58398

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-05-18

  • Closed date

    2026-05-18

  • Last modified date

    2026-05-18

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

    IJ54784

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

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11S","label":"AIX 7.2 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
18 May 2026