Commit de841cf6 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

prevent KGpg to endlessly loop while trying to decrypt a detached signature

This can't work, so there is no value in trying it.

BUG:286991
parent 1f04f57e
......@@ -454,6 +454,9 @@ KGpgTextInterface::decryptFileProcess()
emit decryptFileFinished(1);
return;
}
} else if (line.contains("GET_LINE detached_signature.filename")) {
// oops, we try to decrypt a signature. This can't work.
d->m_process->closeWriteChannel();
} else {
d->m_process->write("quit\n");
}
......
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