Opened 3 months ago

Last modified 3 months ago

#33969 new defect

NYX Unused configuration entry: password

Reported by: cypherpunks Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

if i run nxy as root(sudo) i do not need to give it a password it is not asking for password interactively for local tor node.
but it does warn, it is no good practice.

[NYX_NOTICE] Nyx is currently running with root permissions. This isn't a good
   idea, nor should it be necessary.

if i follow this advise and run it as usr. i need provide controller password.
according to [documentation(https://nyx.torproject.org/index.html#configuration)]

i added appended line to

~/.nyx/config
password Torcontrollerpassword

When running nxy without root it still prompt me again for password:

nyx --interface 127.0.0.1:9901 --config ~/.nyx/config
Tor controller password: 

if i provide it the nyx log welcomes me with telling me password config unused :(

[NYX_NOTICE] Unused configuration entry: password

excuse me if im missing something, but i cant see why the config does not apply.

Child Tickets

Change History (2)

comment:1 Changed 3 months ago by cypherpunks

nyx --version                                        
nyx version 2.0.4 (released November 5, 2017)

comment:2 Changed 3 months ago by atagar

Hi cypherpunks, that certainly does sound confusing. Few questions...

  1. If you replace the tilda in your commandline argument ("--config ~/.nyx/config") with the fully qualified path does the behavior differ?
  1. Please provide the debug output when you add the '--debug' flag, minus anything you feel is sensitive.
  1. Was there any documentation that prompted you to file a bug here rather than github?

Thanks!

Note: See TracTickets for help on using tickets.