Hi, can anyone tell me how to add a TOR authentication key, manual or from website? When I try to open the page and see the field to fill in the key, but when try I get a red alert saying, Unable to configure TOR with your key, I think browser can’t see key folder.
I followed these steps:
In sys-whonix, I added ClientOnionAuthDir /var/lib/tor/authdir to /usr/local/etc/torrc.d/40_tor_control_panel.conf, I see in tor panel config is loading, if I can’t load in 50_user.config too.
In /var/lib/tor/authdir, I created the file .auth_private.
In .auth_private, I added website:descriptor:x25519:KEY.
Here, I see that I need the onion_auth folder, but sys-whonix has authdir. I don’t think this is a problem since I changed the path. Tor Project | Client Authorization
However, nothing is working. When I check the browser settings to save the keys, I see Unable to retrieve keys from Tor. I can’t see my KEY from .auth_private, and I can’t add a new one manually from the browser or save it from the page modal box.
Where am I going wrong? What do I need to do? Thanks guys.
Update: At sys-whonix I run tor --ClientOnionAuthDir /var/lib/tor/authdir and I see … [warn] Failed to parse/validate config: Failed to configure client authorization for hidden services. See logs for details. but I add/do it at #1 step
Did you fully reboot anon-whonix after adding the ClientOnionAuthDir? Also, are you sure the key you received isn’t corrupted or (accidentally) inactive?
Remember I restart TOR service, and think is good, because when I fill wrong path for ClientOnionAuthDir I see error msg. when connection from tor panel about read/write permission, but I check again with restart full sys-whonix.
And do I need bind directories? Eg. if I wanted save website key just at specific VM?