Bug 460448 - Last 2 chars of device key are cut off
Summary: Last 2 chars of device key are cut off
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 10.x
: NOR minor
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-14 19:08 UTC by Lukas
Modified: 2023-07-22 21:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas 2022-10-14 19:08:59 UTC
SUMMARY
Last 2 chars of a key displayed after requesting a connection to a computer are cut off on android.


STEPS TO REPRODUCE
1. Open App
2. Select 'Pair new Device' in Navbar
3. Select a device under 'Available Devices'
4. Select 'REQUEST PAIRING'

OBSERVED RESULT
The displayed key in the app is only 62 chars long - the displayed key on the computer is 64 chars long.
The chars seems to be the same. (I'm not able to select and copy them because any idiot started the trend to make text unselectable :person-facepalming: 

EXPECTED RESULT
The displayed keys in the android app and desktop app have the same length.


SOFTWARE/OS VERSIONS:
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Kubuntu 22.04.1
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
KDE Connect Settings Version: 21.12.3
Comment 1 Ville Aakko 2022-11-09 07:17:12 UTC
I can confirm this issue, also on Arch Linux.

This is a bit unnerving since the user can not know if there is an MITM attack in progress.