Browse Source

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 years ago
parent
commit
5f060c2776
1 changed files with 1 additions and 1 deletions
  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()) {
    if (NotWarnAboutSigners.empty()) {
       for (auto const & Signer : SoonWorthlessSigners)
       for (auto const & Signer : SoonWorthlessSigners)
          // TRANSLATORS: The second %s is the reason and is untranslated for repository owners.
          // 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())
    if (GoodSigners.empty() || !BadSigners.empty() || !NoPubKeySigners.empty())