You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Personal API keys (NARA, MuckRock, GovInfo env) still sent over Tor #131
With network.tor: true the route notice says "via Tor, real IP hidden", but these personal credentials still travel with the request and tell the server who is asking:
OPENFOIA_GOVINFO_API_KEY env fallback in GovInfoAdapter.__init__ (govinfo.py ~69) on any path that passes api_key=None and is not get_adapter or crossref
#128 and #129 already withhold the configured records.api_data_gov_key over Tor and pass the literal DEMO_KEY. Apply the same rule to the three above: when egress.is_tor, do not send a personal credential; where the source needs one to work at all (NARA), say so and skip rather than deanonymize. Update the route notice to say "credentials withheld" when that happens. Tests per adapter with the env var set and a TOR policy.
Activity