Merge pull request #11390 from alyssais/key

Don't refer to public keys as secret keys in error
This commit is contained in:
Eelco Dolstra 2024-09-02 14:20:04 +02:00 committed by GitHub
commit ef1ac0d117
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ Key::Key(std::string_view s)
key = ss.payload;
if (name == "" || key == "")
throw Error("secret key is corrupt");
throw Error("key is corrupt");
key = base64Decode(key);
}