https://bugs.kde.org/show_bug.cgi?id=496024

            Bug ID: 496024
           Summary: Allow pasting key with spaces in it
    Classification: Applications
           Product: Keysmith
           Version: 24.08.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: General
          Assignee: bhus...@gmail.com
          Reporter: groszdaniel...@gmail.com
  Target Milestone: ---

SUMMARY
Gitlab displays the secret key with letters/numbers grouped in groups of 4 with
spaces between the groups. When adding an account in Keysmith, it doesn't allow
pasting a string with spaces in it at all, I assume because spaces are not
allowed in keys (typing space does nothing). This is confusing and
inconvenient, especially to someone unfamiliar with 2FA key formats. I suggest
allowing pasting keys with spaces (and perhaps other invalid characters such as
punctuation, in case some site puts e.g. hyphens in them, Idk if that's
common), and remove them when pasting.

STEPS TO REPRODUCE
1. Click Add
2. In the Secret key field, paste something like AAAA AAAA AAAA AAAA AAAA AAAA
AAAA AAAA.

OBSERVED RESULT
Nothing is pasted.

EXPECTED RESULT
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA is pasted.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241107
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to