Browse Source

Merge #9234: torcontrol: Explicitly request RSA1024 private key

7d3b627 torcontrol: Explicitly request RSA1024 private key (Wladimir J. van der Laan)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
56bee4986d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/torcontrol.cpp

2
src/torcontrol.cpp

@ -470,7 +470,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply& @@ -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.

Loading…
Cancel
Save