Skip to content

DTS UI slow response and errors when using DPP keys #1156

@m-iwanicki

Description

@m-iwanicki

Component

Dasharo Tools Suite

Device

NovaCustom V56 14th Gen

Dasharo version

v0.9.0

Dasharo Tools Suite version

develop (b822e35ef0b009f62313968040bea633c11adb6f)

Test case ID

No response

Brief summary

Errors when entering empty DPP keys and slow refresh

How reproducible

100%

How to reproduce

Errors:

  1. Boot DTS
  2. Enter option 4) Load your DPP keys
  3. Press enter 3 times (entering empty credentials)

Slow UI

  1. Enter any non empty string as your DPP credentials

Expected behavior

  1. One error when checking invalid credentials and then DTS should work normally.
  2. No noticable slowdown when refreshing UI.

Actual behavior

  1. When using empty DPP credentials each time UI is refreshed (e.g. any key was pressed) then there is error

    Usage: grep [OPTION]... PATTERNS [FILE]...
    Try 'grep --help' for more information
    

    and to show UI again you have to press Enter twice

  2. When using any non-empty credentials each key press results in screen being cleared and staying black for around 1 second

Screenshots

v560tu-heads

Additional context

Entering empty credentials might happen if someone enters this option by mistake and wants to cancel/go back. As CTRL+C doesn't work obvious choice is to enter nothing.

Solutions you've tried

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions