IBM Support

IT13826: ERROR MIGHT HAPPEN WHEN TRYING TO SIGN A JSON WEB TOKEN (JWT) WITH A JSON WEB KEY (JWK)

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When a JSON Web Key (JWK) does not contain any of the optional
    parameters:
      p, q, dp, dq and qi
    
    and it is used on Datapower to sign/verify a JSON Web Token
    (JWT), the following error may occur:
    
    20160204T132041.918Z,Test_bed,gatewayscript,error,mpgw,104441
    7,1044417,10.1.x.x,0x85800007 ,,request,"GatewayScript
    processing Error 'ReferenceError: dp is not defined
    
    
    As those parameters are optional, it should not give an error
    if they are not present in the JWK.
    

Local fix

Problem summary

  • Affected is use of JSON Web Key (JWK) to sign/verify a JSON Web
    Token (JWT) on DataPower.
    
    When a JSON Web Key (JWK) does not contain any of the optional
    parameters (p, q, dp, dq and qi) and it is used on Datapower to
    sign/verify a JSON Web Token (JWT), an error may occur.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT13826

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-17

  • Closed date

    2016-03-20

  • Last modified date

    2016-03-20

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R720 PSY

       UP

  • R750 PSY

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 7.2

Reference #: IT13826

Modified date: 20 March 2016