Commit dfd166f0 authored by Rolf Eike Beer's avatar Rolf Eike Beer

fix importing keys using GnuPG 2.1

More fields at the end of GnuPG output may be introduced in new implementations
and should just be ignored if they are not explicitely handled.

BUG:342249
FIXED-IN:14.12.1
parent 04334f9b
......@@ -116,7 +116,7 @@ KGpgImport::getImportMessage(const QStringList &log)
const QStringList rstr(str.mid(20).simplified().split(QLatin1Char( ' ' )));
fine = (rstr.count() == RESULT_PARTS);
fine = (rstr.count() >= RESULT_PARTS);
i = 0;
while (fine && (i < RESULT_PARTS)) {
......
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