mirror of
https://github.com/NixOS/nix
synced 2024-09-18 10:30:23 -04:00
Merge pull request #11390 from alyssais/key
Don't refer to public keys as secret keys in error
This commit is contained in:
commit
ef1ac0d117
|
@ -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 a new issue