Skip to content

Tests: introduce HS compat test with TOR client - #7

Open
aarani wants to merge 1 commit into
binarySearchTestfrom
testHSWithTorClient
Open

Tests: introduce HS compat test with TOR client#7
aarani wants to merge 1 commit into
binarySearchTestfrom
testHSWithTorClient

Conversation

@aarani

@aarani aarani commented Apr 30, 2023

Copy link
Copy Markdown
Owner

This commit introduces a test to make sure our
hidden service hosts are accessible by official
tor client.

Testing only with NOnion's TorServiceClient can
cause mask problems because it shares lots of
code with TorServiceHost (especially crypto stuff) and mistakes there can go unnoticed.

Upgrade to .NET 6 was necessary to be able
to use SocksV5 (which is what tor gives us)
as proxy for HttpClient.

Due to some problem with NUnit not writing test-by-test output (whether it passed or failed), I had to upgrade even furthur into .NET 7.

NUnit was also updated to latest version because it was causing issue where some unrelated tests would fail in .NET7 (maybe the Retry attributed wasn't working).

This commit introduces a test to make sure our
hidden service hosts are accessible by official
tor client.

Testing only with NOnion's TorServiceClient can
cause mask problems because it shares lots of
code with TorServiceHost (especially crypto stuff)
and mistakes there can go unnoticed.

Upgrade to .NET 6 was necessary to be able
to use SocksV5 (which is what tor gives us)
as proxy for HttpClient.

Due to some problem with NUnit not writing test-by-test
output (whether it passed or failed), I had to upgrade
even furthur into .NET 7.

NUnit was also updated to latest version because it was
causing issue where some unrelated tests would fail in
.NET7 (maybe the Retry attributed wasn't working).
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.

1 participant