Skip to content

fix: only send ia:// credentials over https - #32

Open
lfoppiano wants to merge 1 commit into
mainfrom
fix/ia-credentials-https-only
Open

lfoppiano wants to merge 1 commit into
mainfrom
fix/ia-credentials-https-only

Conversation

@lfoppiano

@lfoppiano lfoppiano commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Port of fsspec/filesystem_spec#2353. The request class re-added the Authorization header on every hop to an .archive.org host without checking the scheme, so an https -> http redirect inside the domain, or an explicit http:// URL, sent the IA-S3 keys in clear text. With an https download URL (the default), plain http hops now get no header.

The threat is narrow. It needs archive.org to answer an https request with a redirect to http and someone listening on the network at that moment.

Port of fsspec/filesystem_spec#2353. The request class re-added the
Authorization header on every hop to an .archive.org host without checking
the scheme, so an https -> http redirect inside the domain, or an explicit
http:// URL, sent the IA-S3 keys in clear text. With an https download URL
(the default), plain http hops now get no header.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant