Преглед изворни кода

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 година
родитељ
комит
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())