#7146 ipa_otptoken_import.py fails to parse the correct suite defined under the AlrgorithmParameters
Closed: fixed 2 years ago Opened 2 years ago by juliovalcarcel.

The suite field of my PSKC.xml file I was importing has the <pskc:suite> field set to "HMAC-SHA256":

      <pskc:AlgorithmParameters>
        <pskc:Suite>HMAC-SHA256</pskc:Suite>
        <pskc:ResponseFormat Length="6" Encoding="DECIMAL"/>
      </pskc:AlgorithmParameters>

I narrowed it down to it being caused by the convertHashName function not handling if it is preceded by "HMAC". I was able to bypass this by changing my PSKC.xml file.


Metadata Update from @pvoborni:
- Issue assigned to abbra
- Issue set to the milestone: FreeIPA 4.5.4

2 years ago

master:

  • 8661611 OTP import: support hash names with HMAC- prefix

ipa-4-6:

  • 68c079d OTP import: support hash names with HMAC- prefix

ipa-4-5:

  • 496936e OTP import: support hash names with HMAC- prefix

Metadata Update from @stlaz:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata