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

            Bug ID: 498791
           Summary: [OpenVPN] Cipher list in the details dialog contains
                    garbage items `The` and `and`
    Classification: Applications
           Product: systemsettings
           Version: 6.2.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_networkmanagement
          Assignee: plasma-b...@kde.org
          Reporter: zawer...@gmail.com
                CC: jgrul...@redhat.com
  Target Milestone: ---

Created attachment 177455
  --> https://bugs.kde.org/attachment.cgi?id=177455&action=edit
Bug demonstration

SUMMARY
Combobox items contains obviously garbage ciphers named "The" and "and".

STEPS TO REPRODUCE
1. Run `systemsettings kcm_networkmanagement`;
2. Create new OpenVPN connection;
3. Click "Advanced..." button, go to the "Security" tab;
4. Open "Cipher" combobox and scroll it till the end.

OBSERVED RESULT
Combobox items contains obviously garbage ciphers named "The" and "and".

EXPECTED RESULT
No garbage ciphers shown.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.2 ГиБ of RAM
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION
This garbage lines comes from output of the command `openvpn --show-ciphers`:
```truncated
...
CAMELLIA-256-CFB8  (256 bit key, 128 bit block, TLS client/server mode only)
CAMELLIA-256-OFB  (256 bit key, 128 bit block, TLS client/server mode only)
CHACHA20-POLY1305  (256 bit key, stream cipher, TLS client/server mode only)

The following ciphers have a block size of less than 128 bits,
and are therefore deprecated.  Do not use unless you have to.

DES-EDE-CBC  (128 bit key, 64 bit block)
DES-EDE-CFB  (128 bit key, 64 bit block, TLS client/server mode only)
DES-EDE-OFB  (128 bit key, 64 bit block, TLS client/server mode only)
...
```
See:
https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openvpn/openvpnadvancedwidget.cpp?ref_type=heads#L106
It would be nice to filter out those values midlist.

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

Reply via email to