Bug 362349

Summary: ASSERT: "m_signaturePart.isValid()" in file /home/jkt/work/prog/trojita/src/Cryptography/GpgMe++.cpp, line 574
Product: [Applications] trojita Reporter: Jan Kundrát <jkt>
Component: CryptographyAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Kundrát 2016-04-27 11:22:47 UTC
The fix is trivial, just moving the asserts around, but I'm filing a bug because I want this covered by a test and ENOTIME right now.
Comment 1 Jan Kundrát 2016-05-04 08:16:25 UTC
Git commit ee199991f4b774d50507f5465f64d9f1bd6ee0d3 by Jan Kundrát.
Committed on 29/04/2016 at 18:53.
Pushed by gerrit into branch 'master'.

Do not assert crash on signed e-mails with some parts stripped down
Change-Id: I6d47945fe6e2d468355507ef3e128a1a26a839ed

M  +2    -2    src/Cryptography/GpgMe++.cpp
M  +76   -0    tests/Cryptography/test_Cryptography_PGP.cpp
M  +2    -0    tests/Cryptography/test_Cryptography_PGP.h

http://commits.kde.org/trojita/ee199991f4b774d50507f5465f64d9f1bd6ee0d3