apt already supports SOCKS proxies, I use one for forcing all my apt traffic
over Tor in /etc/apt/apt.conf:

Acquire::socks::Proxy "socks://127.0.0.1:9050";
Acquire::https::SslForceVersion "TLSv1";
Acquire::http::Pipeline-Depth "20";
Acquire::https::Pipeline-Depth "20";

I like your URL scheme idea.  I think the ideal would be to support it with
all of these URLs:

http://asdfasdfasdfadfadf.onion
https://asdfasdfasdfadfadf.onion
tor+http://mirrors.kernel.org
tor+https://mirrors.kernel.org
tor+ftp://mirrors.kernel.org

etc. Then get rid of tor:// entirely.

.hc

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to