Commit 896cac63 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix GnupgKeyParams syntax in DefaultKeyGenerationJob

parent 7f75e67a
......@@ -86,16 +86,16 @@ GpgME::Error DefaultKeyGenerationJob::start(const QString &email, const QString
const QString passphrase = d->passphrase.isNull() ? QStringLiteral("%ask-passphrase") :
d->passphrase.isEmpty() ? QStringLiteral("%no-protection") :
QStringLiteral("passphrase: %1").arg(d->passphrase);
const QString args = QStringLiteral("<GnupgKeyParms format=\"internal\">\n"
"key-type: RSA\n"
"key-length: 2048\n"
"key-usage: sign\n"
"subkey-type: RSA\n"
"subkey-length: 2048\n"
"subkey-usage: encrypt\n"
"name-email: %2\n"
"name-real: %3\n"
"</GnupgKeyParms>").arg(passphrase, email, name);
Supports Markdown
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