1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

Merge pull request #11572 from NixOS/mergify/bp/2.20-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 18:22:25 -04:00 committed by GitHub
commit 0969e6375c
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);
}