Skip to content

Commit

Permalink
Merge #9234: torcontrol: Explicitly request RSA1024 private key
Browse files Browse the repository at this point in the history
7d3b627 torcontrol: Explicitly request RSA1024 private key (Wladimir J. van der Laan)
  • Loading branch information
laanwj committed Nov 30, 2016
2 parents e56cf67 + 7d3b627 commit 56bee49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply&

// Finally - now create the service
if (private_key.empty()) // No private key, generate one
private_key = "NEW:BEST";
private_key = "NEW:RSA1024"; // Explicitly request RSA1024 - see issue #9214
// Request hidden service, redirect port.
// Note that the 'virtual' port doesn't have to be the same as our internal port, but this is just a convenient
// choice. TODO; refactor the shutdown sequence some day.
Expand Down

0 comments on commit 56bee49

Please sign in to comment.