[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making package.el talk over Tor
From: |
Philip Kaludercic |
Subject: |
Re: Making package.el talk over Tor |
Date: |
Mon, 16 Oct 2023 09:15:54 +0000 |
Stefan Kangas <stefankangas@gmail.com> writes:
> Richard Stallman <rms@gnu.org> writes:
>
>> I would like to arrange for package.el
>> to always connect to ELPA across the Tor network.
>> But it is 4600 lines of code and I would rather not have to read it all.
>>
>> Can someone tell me where to find the code that actually
>> communicates with the ELPA repos? Where is the best place
>> to make that change?
>
> I found these macros by searching for the string "(url":
>
> package--with-response-buffer-1
> package--with-work-buffer
>
> I don't know if you want this to affect package-vc, but I guess a new
> option would be even more useful if it could cover that too.
IIRC all HTTP requests by package-vc go through these functions as well,
so if they were to be made Tor-compatible and vc-tor was set, then this
/could/ be safe, setting aside issues such as detailed fingerprinting.
--
Philip Kaludercic