From 0b15dfc58ceaecdcb1c9285c3ad55813006c8338 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 4 May 2021 01:32:25 +0000 Subject: treewide: update to v3 Tor onions 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. --- t/lei-externals.t | 7 ++++--- t/lei-mirror.t | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 't') 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: { -- cgit v1.2.3-24-ge0c7