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

Onion v2 deprecation #4549

Merged
merged 4 commits into from
May 24, 2021
Merged

Conversation

darosior
Copy link
Contributor

This prevents user from setting or connecting to v2 hidden services. This is behind deprecated_apis but since they are going to break in a month and a half on the Tor backend we should probably break before?

I still need to update the doc and i wonder if we shoudl do anything about the node_announcement.

@darosior darosior requested a review from cdecker as a code owner May 20, 2021 16:29
@darosior darosior force-pushed the onionv2_deprecation branch 2 times, most recently from aff0c6a to 293a7f8 Compare May 20, 2021 18:28
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utack 293a7f8

Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 293a7f8

@rustyrussell
Copy link
Contributor

Second commit simply needs:

Changelog-Deprecated: lightningd: `enable-autotor-v2-mode` option and v2 Tor addresses.  Use v3.  See https://blog.torproject.org/v2-deprecation-timeline.

@darosior darosior force-pushed the onionv2_deprecation branch from 293a7f8 to d9434ea Compare May 21, 2021 15:21
@darosior
Copy link
Contributor Author

Done, and also updated the doc. doc/TOR.md is not really clear so it's really best effort here :/

Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial rebase on master (CI fixes)

Ack e26603f

@rustyrussell rustyrussell force-pushed the onionv2_deprecation branch from d9434ea to e26603f Compare May 23, 2021 08:14
darosior added 4 commits May 24, 2021 14:05
It really affected readability.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Tor v2 hidden services have been deprecated for a while:
https://blog.torproject.org/v2-deprecation-timeline .

This prevents user from being able to set them in the configuration
and to connect to them while still letting us be able to parse them
for gossip.

Changelog-Deprecated: lightningd: v2 Tor addresses.  Use v3.  See https://blog.torproject.org/v2-deprecation-timeline.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Changelog-Deprecated: Changelog-Deprecated: lightningd: `enable-autotor-v2-mode` option.  Use v3.  See https://blog.torproject.org/v2-deprecation-timeline.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
The doc is really confusing and would probably need a refactor, i did my
best to remove references to v2 services without losing any meaning...

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
@rustyrussell rustyrussell force-pushed the onionv2_deprecation branch from e26603f to 8658ba0 Compare May 24, 2021 04:37
@rustyrussell
Copy link
Contributor

rustyrussell commented May 24, 2021

YA trivial rebase for conflicts on generated files

Ack 8658ba0

@rustyrussell rustyrussell merged commit 9a363c6 into ElementsProject:master May 24, 2021
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

Successfully merging this pull request may close these issues.

4 participants