diff options
author | Eric Wong <e@80x24.org> | 2021-05-04 01:32:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-04 02:35:43 +0000 |
commit | 0b15dfc58ceaecdcb1c9285c3ad55813006c8338 (patch) | |
tree | dccc53ccff451d52e353cd8cce4e41bf389faae3 /t | |
parent | d98abf13946beaf685804e4ec2d79019129415b9 (diff) | |
download | public-inbox-0b15dfc58ceaecdcb1c9285c3ad55813006c8338.tar.gz |
v2 onions are insecure, deprecated and going away. v3 names are unfortunately longer and more difficult to remember, but should be more resistant to attack than v2 ones.
Diffstat (limited to 't')
-rw-r--r-- | t/lei-externals.t | 7 | ||||
-rw-r--r-- | t/lei-mirror.t | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/t/lei-externals.t b/t/lei-externals.t index 16241e02..f148fa3c 100644 --- a/t/lei-externals.t +++ b/t/lei-externals.t @@ -8,9 +8,10 @@ require_git 2.6; require_mods(qw(json DBD::SQLite Search::Xapian)); use POSIX qw(WTERMSIG WIFSIGNALED SIGPIPE); -my @onions = qw(http://hjrcffqmbrq6wope.onion/meta/ - http://czquwvybam4bgbro.onion/meta/ - http://ou63pmih66umazou.onion/meta/); +my @onions = map { "http://$_.onion/meta/" } qw( + 4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd + ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd + 7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd); my $test_external_remote = sub { my ($url, $k) = @_; diff --git a/t/lei-mirror.t b/t/lei-mirror.t index 5ab18b6d..dfd35e1a 100644 --- a/t/lei-mirror.t +++ b/t/lei-mirror.t @@ -43,7 +43,7 @@ test_lei({ tmpdir => $tmpdir }, sub { my %phail = ( HTTPS => 'https://public-inbox.org/' . 'phail', - ONION => 'http://ou63pmih66umazou.onion/' . 'phail,' + ONION => 'http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/' . 'phail,' ); for my $t (qw(HTTPS ONION)) { SKIP: { |