mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Merge pull request #11573 from NixOS/mergify/bp/2.21-maintenance/pr-11390
Don't refer to public keys as secret keys in error (backport #11390)
This commit is contained in:
commit
a0b8f0f0f6
@ -22,7 +22,7 @@ Key::Key(std::string_view s)
|
|||||||
key = ss.payload;
|
key = ss.payload;
|
||||||
|
|
||||||
if (name == "" || key == "")
|
if (name == "" || key == "")
|
||||||
throw Error("secret key is corrupt");
|
throw Error("key is corrupt");
|
||||||
|
|
||||||
key = base64Decode(key);
|
key = base64Decode(key);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user