IBM Support

IT25046: RESTORE WITH "SHOW MASTER KEY DETAILS" DID NOT SHOW ALL THE KEY LABEL

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

  • The problem can be reproduced as follows
    
    1) database sample is created as an encrypted database with key
    label MK1
    
    2) in db cfg ENCRLIB is set to the encrypted lib file
    
    Encryption Library for Backup (ENCRLIB) =
    /opt/IBM/DB2/V11.1.2ifix/lib64/libdb2encr.so.1
    
    Encryption Options for Backup (ENCROPTS) =
    
    3) db2 "backup db sample online encrypt encropts 'Master Key
    Label=MK2:Master Key Label=MK3'"
    
    4) db2 "restore db sample  encropts 'SHOW MASTER KEY DETAILS'"
        then check the key label information, it just showed MK1,
    and MK2/MK3 are ignored.
                 KeyStore Type: PKCS12
                 KeyStore Location:
    /home/db2inst1/keystores/ne-keystore.p12
                 KeyStore Host Name: host01
                 KeyStore IP Address: 192.168.1.1
                 KeyStore IP Address Type: IPV4
                 Encryption Algorithm: AES
                 Encryption Algorithm Mode: CBC
                 Encryption Key Length: 256
                 Master Key Label: MK1
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT25046

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-13

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-16

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 January 2020