From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: Making package.el talk over Tor Date: Mon, 16 Oct 2023 12:54:55 +0600 Message-ID: <8734ybkqf4.fsf@disroot.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 16 08:56:54 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qsHX3-00059z-Es for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Oct 2023 08:56:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsHW6-0004cH-1a; Mon, 16 Oct 2023 02:55:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsHW4-0004bz-Fg for emacs-devel@gnu.org; Mon, 16 Oct 2023 02:55:52 -0400 Original-Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsHW2-0000gM-7p; Mon, 16 Oct 2023 02:55:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4296E41A7F; Mon, 16 Oct 2023 08:55:47 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QgXW2HuOBwkt; Mon, 16 Oct 2023 08:55:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1697439346; bh=3/vtWMyBq1yyit/m+5btmDIao6uujuQGviKwRiT1C5E=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=C3/+e4IKNsXpYtM5VN4J5pcRlNkY7perN9OsxD89xQNWj/tHqL5lv9epYtX/M8axa k5C5NS7fpvOPKvR6TS+tS5DsK68EgmtPNWoWdUbInKa2GKiEbjQBRSEYgJSroAqVC9 yy3NSbtTstArcZ6fUyoq1iKJZT6dF7aGY8Z3sduOU3tnv4pHxRldLVNpNL3rjjLNqM oOeaTvfj8MU+4TbYKsXkWqkDsK6jRbDfaGInBfGcpDx2jnNZVRyDYlYTxqwkIOgag1 8t6QiF/GCbdVUrfCzwvSJvxN7XjjMC3YPzVYz9/GAJBEPwSzDjKhwr6uYTsYlll7gY 3OI/Ek5+OXOIg== In-Reply-To: (Richard Stallman's message of "Sun, 15 Oct 2023 22:04:27 -0400") Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311509 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > 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? Isearching for 'url-' reveals that the following functions use the URL package to access the HTTP server: 'package--with-work-buffer', 'package--archive-file-exists-p' and'package--with-response-buffer-1'. But I think a better/safer solution will be to use torsocks. =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmUs3j8ACgkQVTX89U2I YWsDohAArbuvYSnb19+sOTgYk85ID3j86PTTTvfSMmMQHxsVQOuZrqcnsnCIgDt8 4Ch19QLxLCxoB0G0383BfcRHJWSiAQNm10q0Mjww6AjVZpSpiHR8RdH7xWXNEI9l r7zrZUKF+FpHQDcKrwm/XYU3dBlExdSRo+5HvxbQeuOaQmrd25EHCV/ufTYsx4Yt YW96BCrYk+0l0cj/LzPfpI90B97vUb7le0EIJbYHOr4eQ3kn8JdAZVH9anzCfBkm uQDngXg+P5p6yRTa0+SfHor5rHcLgTur2f85uMi+I2U4bdMkjeDpG5BmZBq8fgwW y6yMaJo7boC+PwtwbITCoIaY9yDuQLmpGahfGvNee5CHY8cAgZ9X5hjCiFV8DAXQ 9TULjnIzB4LZETE9WrnBWBEujhT5Ih+GUPETu1pWxP4SYsko+M+ygWdDrCgrdhlO NbCSdSc5EBHZt+miXDup7yXwj5jUjeW62oKqMfm9NcM0ayP/g7MYQt+sKMTHUDOH L2w02IHNSXlRuYIxUUJrXdBQknrhgaTmi7bNbKJbQTp42z13llg31U88UoetiBZR Cfb3Z1mZqy5819jCEtfVe6PS0tw3+qbogasXy6VhVfox+4AQkljjjjrtMnTEjaLB cXPZAOE+/73bHgvK8GJ0JVhIgvG6dcq37yUzL8bMSHo7APpOgN4= =6F35 -----END PGP SIGNATURE----- --=-=-=--