Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is keeping the same onion url on the wish list? #9

Closed
Leopere opened this issue Feb 10, 2022 · 2 comments
Closed

Is keeping the same onion url on the wish list? #9

Leopere opened this issue Feb 10, 2022 · 2 comments

Comments

@Leopere
Copy link

Leopere commented Feb 10, 2022

Also is an onion version 2 coming? Version one isn’t really safe anymore.

@cmars
Copy link
Owner

cmars commented Feb 11, 2022

I released support for persistent onion addresses in v0.2.0 -- see releases. You use an @ to alias it. There's an example now in the README (the @my-app and @minecraft ones). In v0.3.0 I added a subcommand that lets you manage the service keys (oniongrok service --help for details).

In order for addresses to be persistent, oniongrok has to keep track of the services' private keys. For now, they're stored in a mode 600 file, ~/.local/share/oniongrok by default, which you can change using the --secrets flag. I'm not super thrilled with this arrangement tbh.

I have a really strong aversion to any sort of private keys on my filesystem. I'd like to find a way to have onion keys stored in a hardware device. There are many that can do ed25519 now. A YubiKey could do it. Or maybe a Trezor? What if an eth address was also an onion? 🤯 This is an area of research, which might get me into Tor's internals. Should be fun!

oniongrok only uses v3 onion services. v2 are insecure and Tor doesn't even support them anymore, they're past sunset.

I'm going to mark this closed as I think it addresses your question & concern.

@cmars cmars closed this as completed Feb 11, 2022
@Leopere
Copy link
Author

Leopere commented Feb 11, 2022

Even a simple recommendation to store it in a “ram disk” is some degree reasonable. However if the box is owned and you’re storing this key on the machine anywhere memory or otherwise you’re somewhat likely to assume that everything is done and dusted anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants