omshell doesn't work with HMAC-SHA512 in Red Hat Enterprise Linux 8

Solution In Progress - Updated -

Issue

  • The omshell command has key-algorithm command to specify the key algorithm, which was introduced by RHBA-2021:1623.
  • The omshell man page has the description that HMAC-SHA512 is supported.
key-algorithm algorithm
    This specifies the cryptographic algorithm for the key used when authenticating OMAPI transactions. Supported values for algorithm are:
               HMAC-MD5
               HMAC-SHA1
               HMAC-SHA224
               HMAC-SHA256
               HMAC-SHA384
               HMAC-SHA512
    The default is HMAC-MD5. (Value is not case sensitive).
  • But, it still works with HMAC-MD5 only.
  • It outputs the following error when HMAC-SHA512 is used.
can't open object: invalid argument

Environment

Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content