Skip to content

Commit

Permalink
queue-runner: don't decode base64 hostkey in hydra
Browse files Browse the repository at this point in the history
Nix expects a base64 encoded hostkey in SSHMaster, so make sure we don't
decode this prematurely in hydra.

Reported-By: Puck Meerburg <[email protected]>
  • Loading branch information
mweinelt committed Oct 20, 2024
1 parent 3d519be commit 031aaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hydra-queue-runner/hydra-queue-runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void State::parseMachines(const std::string & contents)
std::move(mandatoryFeatures),
// `sshPublicHostKey`
tokens[7] != "" && tokens[7] != "-"
? base64Decode(tokens[7])
? tokens[7]
: "",
});

Expand Down

0 comments on commit 031aaa0

Please sign in to comment.