Turns out that libcurl rejects lookups of .onion domains. This makes it impossible to use pkg in #HardenedBSD with our #Tor Onion Service endpoint for our package repo.
Good thing we've forked the #FreeBSD package manager, and it includes an import of libcurl.
So let's remove this arbitrary restriction that harms #HumanRights and get the package repo working again for our Tor users:
https://git.hardenedbsd.org/hardenedbsd/pkg/-/commit/d785066a1e71e5437678e837a91508bcb85759bb
https://git.hardenedbsd.org/hardenedbsd/ports/-/commit/9e3a0a6d0396429f2aa6627b1cd3f1d3199a3ad9
HBSD: Enable support for resolving .onion domains in vendored libcurl (d785066a) · Commits · HardenedBSD / pkg · GitLab
libcurl rejects outright any Tor Onion domain. Since the HardenedBSD project provides a Tor Onion Service endpoint for its package repos, the rejection of .onion domains needs to be removed....