Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KGpg
Commits
de841cf6
Commit
de841cf6
authored
Nov 20, 2011
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
kgpgtextinterface.cpp
View file @
de841cf6
...
...
@@ -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
"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment