Skip to content

Commit

Permalink
Merge pull request #11574 from NixOS/mergify/bp/2.22-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 e67d6b6 + 11f65ae commit 6c1ab4d
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 6c1ab4d

Please sign in to comment.