• Matt Devillier's avatar
    gui-init/seal-libremkey: reduce friction when generating new secret · 6351e957
    Matt Devillier authored
    
    
    Reduce friction when generating a new TOTP/HOTP secret by eliminating
    an unnecessary 'press enter to continue' prompt following QR code
    generation, and by attempting to use the default admin PIN set by
    the OEM factory reset function. Fall back to prompting the user
    if the default PIN fails.
    
    Also, ensure error messages are visible to users before being returned
    back to the GUI menu from which they came by wrapping existing calls to die()
    
    Signed-off-by: default avatarMatt DeVillier <matt.devillier@puri.sm>
    6351e957