From 436b24f7e420bf92f19305de501618a7449b9506 Mon Sep 17 00:00:00 2001 From: RightToPrivacy Date: Sun, 13 Nov 2022 21:06:46 -0500 Subject: [PATCH] added notes to machine-id into README and function --- README.md | 7 +++++++ wipri | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0581c8..694c8f1 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,13 @@ --- +### NEWEST FEATURES: + + -w flag turns off wifi radio once you leave your network range (automatically) to prevent saved network SSID leaks + + machine-id is now randomized each time wipri is run to prevent unnecessary tracking (unique identifier) +--- + ### **MAIN GIT REPOSITORY (FOR LATEST WIPRI UPDATES FIRST / FEATURES):** http://gg6zxtreajiijztyy5g6bt5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/RightToPrivacy/WiPri Above Gitea Onion location is the best place to file issues (Gitea Onion is checked daily, not on github as often) diff --git a/wipri b/wipri index f15e55f..5a3b757 100644 --- a/wipri +++ b/wipri @@ -169,9 +169,11 @@ fi # machine-id is a unique identifer that can (unnecessarily) be used for tracking # machine-id privacy concerns: https://lists.dyne.org/lurker/message/20190308.134955.e06f4b9c.en.html#dng echo -e "${RED}Removing Old machine-id To Prevent Tracking...${ENDCOLOR}" -rm /etc/machine-id +rm -f /var/lib/dbus/machine-id /etc/machine-id || { + echo -e "${RED}ERR! DOES MACHINE-ID FILE EXIST?${ENDCOLOR}\n" + } echo -e "${BLUE}Generating New Unique machine-id...${ENDCOLOR}" -systemd-machine-id-setup && { +dbus-uuidgen --ensure=/etc/machine-id && dbus-uuidgen --ensure && { echo -e "${GREEN}New machine-id generated.${ENDCOLOR}" }