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

            Bug ID: 367897
           Summary: Device::encryptionInfo returns wrong value
           Product: kdeconnect
           Version: 1.0
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: bugs.kde....@online.posch.name

Device::encryptionInfo states to return the SHA1 sums of the local and remote
certificates.
Actually returned are the DER (binary) encoded local certificate, as well as
the PEM (base64) encoded remote certificate.
See attached patch for a possible fix.

Reproducible: Always

Steps to Reproduce:
1. kdeconnect-cli --encryption-info --device <device>

Actual Results:  
SHA1 fingerprint of your device certificate is: XX:XX:XX:XX: ::::::*:H:รท
SHA1 fingerprint of remote device certificate is: --:--:-B:EG:IN:
C:ER:TI:FI:CA:TE:--:--:-
:XX:XX:XX:...
...
...
...XX:XX

Expected Results:  
SHA1 fingerprint of your device certificate is:
f9:5c:b3:0c:57:aa:31:5c:fc:13:0a:cc:de:9b:df:07:f9:5c:90:79
SHA1 fingerprint of remote device certificate is:
6c:b1:4d:c1:18:d7:81:32:da:10:96:8e:4e:4b:eb:94:e6:dc:1d:f8

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

Reply via email to