Try with good old keys...

This commit is contained in:
Quentin 2020-01-20 20:21:27 +01:00
parent 2ed3b94e24
commit e2426741aa

View file

@ -60,9 +60,9 @@ int tor_ctl_add_onion(struct tor_ctl* ctx, struct tor_os_str* tos, uint16_t* por
/* Complete by creating new onion services */
for (int i = tos->filled; i < tos->size; i++) {
if (flags == TOR_ONION_FLAG_NONE)
fprintf(ctx->wsock, "add_onion NEW:ED25519-V3 Port=%d\n", port[i]);
fprintf(ctx->wsock, "add_onion NEW:RSA1024 Port=%d\n", port[i]);
else {
fprintf(ctx->wsock, "add_onion NEW:ED25519-V3 Port=%d Flags=", port[i]);
fprintf(ctx->wsock, "add_onion NEW:RSA1024 Port=%d Flags=", port[i]);
if (flags & TOR_ONION_FLAG_NON_ANONYMOUS)
fprintf(ctx->wsock, "NonAnonymous,");
fprintf(ctx->wsock, "\n");