omshell doesn't work with HMAC-SHA512 in Red Hat Enterprise Linux 8
Issue
- The
omshellcommand haskey-algorithmcommand to specify the key algorithm, which was introduced by RHBA-2021:1623. - The
omshellman page has the description thatHMAC-SHA512is 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-MD5only. - It outputs the following error when
HMAC-SHA512is 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.