Просмотр исходного кода

Make the weak signature message less ambigious

There was a complaint that, in the previous message,
the key fingerprint could be mistaken for a SHA1 digest
due to the (SHA1) after it.

Gbp-Dch: ignore
Julian Andres Klode лет назад: 10
Родитель
Сommit
5f060c2776
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      methods/gpgv.cc

+ 1 - 1
methods/gpgv.cc

@@ -311,7 +311,7 @@ bool GPGVMethod::URIAcquire(std::string const &Message, FetchItem *Itm)
    if (NotWarnAboutSigners.empty()) {
       for (auto const & Signer : SoonWorthlessSigners)
          // TRANSLATORS: The second %s is the reason and is untranslated for repository owners.
-         Warning(_("Weak signature from %s (%s)"), Signer.key.c_str(), Signer.note.c_str());
+         Warning(_("Signature by key %s uses weak digest algorithm (%s)"), Signer.key.c_str(), Signer.note.c_str());
    }
 
    if (GoodSigners.empty() || !BadSigners.empty() || !NoPubKeySigners.empty())