Menu

#120 Crash when importing CA certificate, for certificates, which already exist

v1.0_(example)
closed-fixed
nobody
crash (1)
3
2018-01-04
2017-05-09
No

Hi,

first of all, thank you for this great and free software!

I've encountered an issue while importing several certificates from external CAs. I had some server certificates already imported and after that I've imported the Intermediate CA certificate from this server certificates. When doing so, XCA crashes completely. There is no difference in behavior between Windows or macOS. The only difference is, that macOS closes xca silently, while Windows drops a error message.

The issue could be solved by removing all of the server certificates, import the Intermediate CA certificate and then re-import the server certificates.

This issue exists in version 1.3.2 and at least in one older version, that I didn't noticed before updating. Probably this issue exists in every version.

Would be great to get this fixed.

Thank you very much and in advance!

Greets,
tsj

Discussion

  • Christian Hohnstaedt

    • status: open --> closed-fixed
     
  • Christian Hohnstaedt

    Fixed in 1.4.0 with

    commit 22b441046aa4be986fc2543a18c87b1d2abdebdc
    Author: Christian Hohnstaedt christian@hohnstaedt.de
    Date: Sun Jul 9 20:59:21 2017 +0200

    SF: #120 Crash when importing CA certificate for certificates which already exist
    
    The QAbstractItemModel is simetimes called with column index -1
    Catch those calls.