From 72d90d79045656fed8e0ccb20e5563f7dfa67fdd Mon Sep 17 00:00:00 2001 From: saturneric Date: Sun, 28 Jun 2026 18:41:43 +0200 Subject: feat(email): add structured `result_cards` payload * Introduce compact JSON "info board" card builders and an assembler to produce a `result_cards` payload the UI can decode for richer, structured display of email header and OpenPGP metadata. * Thread a new `result_cards` parameter through verification, decryption, signing and encryption flows and consume additional card output from the crypto analysis functions so the SDK-produced crypto cards are included. * Merge module meta cards with crypto analysis cards for combined operations (encrypt+sign, decrypt+verify) to provide a single unified card array to the UI while keeping existing textual results intact. * Improve payload compactness by dropping empty fields and return an empty payload when no cards are available. * Bump module version to 1.2.1 to reflect the new feature. --- src/m_email/EMailBasicGpgOpera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/m_email/EMailBasicGpgOpera.cpp') diff --git a/src/m_email/EMailBasicGpgOpera.cpp b/src/m_email/EMailBasicGpgOpera.cpp index 51a36bb..9e56070 100644 --- a/src/m_email/EMailBasicGpgOpera.cpp +++ b/src/m_email/EMailBasicGpgOpera.cpp @@ -1013,7 +1013,7 @@ auto VerifyEMLData(int channel, const QByteArray& data, public_keys_buffer.append(Q_SC(oss.str())); } - FLOG_DEBUG("mime part info, attached public keys: ", + FLOG_DEBUG("mime part info, attached public keys: %1", public_keys_buffer.join("\n")); /* -- cgit