Skip to content

Commit

Permalink
Merge pull request #11572 from NixOS/mergify/bp/2.20-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 authored Sep 23, 2024
2 parents 1da3fd5 + 236a9f5 commit 0969e63
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 0969e63

Please sign in to comment.