{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiautyegdh2h7wdawdjdutzhq5x4oulds7fok4inpgytkxoblyjqo4",
    "uri": "at://did:plc:haakkg7y3xdghcdmprxeexso/app.bsky.feed.post/3mmh4okoaeut2"
  },
  "path": "/t/recommend-packag-manager-hardening/38076#post_1",
  "publishedAt": "2026-05-22T13:27:48.000Z",
  "site": "https://discuss.privacyguides.net",
  "textContent": "For example I use for apt this simple hardening:\n\n\n    sudo apt install apt-transport-https\n    sudo sed -i 's|http://|https://|g' /etc/apt/sources.list\n    sudo sed -i 's|http://|https://|g' /etc/apt/sources.list.d/*.list\n\n\nThis will force APT to use HTTPS.\n\nIf you are feeling extra paranoid, block port 80 in firewall.\n\nWhy: http is insecure and can be tampered super trivially.\n\n**Important:** while _most_ repos support https, some may not. You will need to manually rotete them to find out.",
  "title": "Recommend packag manager hardening"
}