Skip to content

Commit

Permalink
Merge pull request #11575 from NixOS/mergify/bp/2.23-maintenance/pr-1…
Browse files Browse the repository at this point in the history
…1390

Don't refer to public keys as secret keys in error (backport #11390)
  • Loading branch information
Ericson2314 committed Sep 23, 2024
2 parents e873d00 + f104a8b commit 5ffd239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libutil/signature/local-keys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5ffd239

Please sign in to comment.