code: def fido(ctx):
      
      dev = ctx.obj['dev']
      if dev.is_fips:
          try:
              ctx.obj['controller'] = FipsU2fController(dev.driver)
          except Exception as e:
              logger.debug('Failed to load FipsU2fController', exc_info=e)
              ctx.fail('Failed to load FIDO Application.')
      else:
          try:
              ctx.obj['controller'] = Fido2Controller(dev.driver)
          except Exception as e:
              logger.debug('Failed to load Fido2Controller', exc_info=e)
              ctx.fail('Failed to load FIDO 2 Application.')
docs: Manage FIDO applications.
  
      Examples:
  
      \b
        Reset the FIDO (FIDO2 and U2F) applications:
        $ ykman fido reset
  
      \b
        Change the FIDO2 PIN from 123456 to 654321:
        $ ykman fido set-pin --pin 123456 --new-pin 654321