added notes to machine-id into README and function

master
RightToPrivacy 2022-11-13 21:06:46 -05:00
parent 9cc7b2034a
commit 436b24f7e4
2 changed files with 11 additions and 2 deletions

View File

@ -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)

6
wipri
View File

@ -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}"
}