Skip to content

Commit 56bee49

Browse files
committed
Merge #9234: torcontrol: Explicitly request RSA1024 private key
7d3b627 torcontrol: Explicitly request RSA1024 private key (Wladimir J. van der Laan)
2 parents e56cf67 + 7d3b627 commit 56bee49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torcontrol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply&
470470

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

0 commit comments

Comments
 (0)