Merge pull request #11575 from NixOS/mergify/bp/2.23-maintenance/pr-11390

Don't refer to public keys as secret keys in error (backport #11390)
This commit is contained in:
John Ericson
2024-09-23 19:00:08 -04:00
committed by GitHub

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);
}