question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create_config, not .config

See original GitHub issue

We should make the API for “get a TorConfig instance” async and call it .create_config, not .config on the Tor class.

Also, .connect and .launch should not use TorConfig at all. It is already “not really” exposed in the API (there is a _tor_config for tests (and .global_tor()?) but it shouldn’t be used and the docs say that).

The use-case for this is cutting down on the number of GETCONF calls for “filtering proxies” (such as Whonix and SubGraph use to limit access to the tor control port). This is also the only “implied” object created, so it would be nice to eliminate it, making all additional “helper” object things that are created from Tor methods.

Thanks to @felipedau for bringing this use-case up. See also: https://github.com/AnemoneLabs/unmessage/issues/4#issuecomment-285561506

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:36 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
meejahcommented, Apr 12, 2017

Great, thanks for testing @felipedau !

1reaction
meejahcommented, Apr 10, 2017

@felipedau Thanks for the feedback 😃 No, I can’t think of any reason someone would need more than 1 TorConfig per tor instance they’re talking to, especially in one process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Config Not Found · Issue #394 · liximomo/vscode-sftp
In the log output, SFTP finds the config file and outputs to the console, then I attempt to upload a file, and I'm...
Read more >
Error: Could not create config folder - Installation & Configuration
I have a good working setup. However at startup I get the following error: Now I have checked and the folder is indeed...
Read more >
Mods don't create config files : r/feedthebeast - Reddit
Been getting a lot of mods for Minecraft, and I'd like to modify them in a capacity their mod pages say are allowed,...
Read more >
Create app config file if doesn't exist C# - Stack Overflow
Just go to App.config file properties and change Copy to Output Directory setting from Do not copy to ...
Read more >
How to Implement Configuration Reader to read ... - Tools QA
In the configuration.properties file, we will move these values in key-pair format. Configuration Reader - Create config file configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found