Commit bba1d954 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Do not set an empty remark to avoid an empty signature notation

This is a workaround for GnuPG bug T5142.

GnuPG-bug-id: 5142
parent 38eb236a
Pipeline #41380 failed with stage
in 10 minutes and 25 seconds
......@@ -287,7 +287,10 @@ void CertifyCertificateCommand::Private::slotCertificationPrepared()
job->setSigningKey(dialog->selectedSecretKey());
job->setCheckLevel(dialog->selectedCheckLevel());
#ifdef GPGME_HAS_REMARKS
job->setRemark(dialog->remarks());
if (!dialog->remarks().isEmpty()) {
// do not set an empty remark to avoid an empty signature notation (GnuPG bug T5142)
job->setRemark(dialog->remarks());
}
// This also came with 1.14.0
job->setDupeOk(true);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment