diff --git a/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md b/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md index 08ded22..9e1f555 100644 --- a/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md +++ b/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md @@ -16,7 +16,7 @@ Listed: true ## Requirements -- Computer running macOS Mojave or Catalina +- Computer running macOS Catalina or Big Sur - USB flash drive or SD card formatted using FAT (4GiB file size limit) or exFAT filesystem (see [Journaling File Systems](https://www.veracrypt.fr/en/Journaling%20File%20Systems.html)) ## Caveats @@ -30,6 +30,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics diff --git a/how-to-configure-borg-client-on-macos-using-command-line/README.md b/how-to-configure-borg-client-on-macos-using-command-line/README.md index ba6b134..eed8034 100644 --- a/how-to-configure-borg-client-on-macos-using-command-line/README.md +++ b/how-to-configure-borg-client-on-macos-using-command-line/README.md @@ -15,7 +15,7 @@ Listed: true ## Requirements - Borg server ([self-hosted](../how-to-self-host-hardened-borg-server) or cloud-based such as [BorgBase](https://www.borgbase.com/) or [rsync.net](https://rsync.net/products/attic.html)) -- Computer running macOS Mojave or Catalina +- Computer running macOS Catalina or Big Sur ## Caveats @@ -147,6 +147,7 @@ scp ~/Desktop/authorized_keys $BORG_USERNAME@$BORG_HOSTNAME:.ssh/authorized_keys ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 6: disable Homebrew analytics diff --git a/how-to-configure-self-hosted-vpn-kill-switch-using-pf-firewall-on-macos/README.md b/how-to-configure-self-hosted-vpn-kill-switch-using-pf-firewall-on-macos/README.md index aa72965..7a26574 100644 --- a/how-to-configure-self-hosted-vpn-kill-switch-using-pf-firewall-on-macos/README.md +++ b/how-to-configure-self-hosted-vpn-kill-switch-using-pf-firewall-on-macos/README.md @@ -17,7 +17,7 @@ Listed: true ## Requirements - Self-hosted virtual private network (VPN) with public IPv4 address -- Computer running macOS Mojave or Catalina +- Computer running macOS Catalina or Big Sur ## Caveats @@ -261,17 +261,6 @@ sudo chown ${USER}:admin /usr/local/sbin ### Step 11: source `/usr/local/sbin` directory -> Heads-up: run `echo $SHELL` to find default shell. - -#### Bash (`/bin/bash`) - -```shell -echo 'export PATH=$PATH:/usr/local/sbin' >> ~/.bashrc -source ~/.bashrc -``` - -#### Z Shell (`/bin/zsh`) - ```shell echo 'export PATH=$PATH:/usr/local/sbin' >> ~/.zshrc source ~/.zshrc diff --git a/how-to-encrypt-sign-and-decrypt-messages-using-gnupg-on-macos/README.md b/how-to-encrypt-sign-and-decrypt-messages-using-gnupg-on-macos/README.md index 5170b9e..00cca2c 100644 --- a/how-to-encrypt-sign-and-decrypt-messages-using-gnupg-on-macos/README.md +++ b/how-to-encrypt-sign-and-decrypt-messages-using-gnupg-on-macos/README.md @@ -14,6 +14,10 @@ Listed: true > Heads-up: this is a “getting started” guide. Learn how to harden GnuPG [here](../how-to-generate-and-air-gap-pgp-private-keys-using-gnupg-tails-and-yubikey). +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Caveats - When copy/pasting commands that start with `$`, strip out `$` as this character is not part of the command @@ -24,6 +28,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics diff --git a/how-to-generate-and-air-gap-pgp-private-keys-using-gnupg-tails-and-yubikey/README.md b/how-to-generate-and-air-gap-pgp-private-keys-using-gnupg-tails-and-yubikey/README.md index 79220ce..e3307d8 100644 --- a/how-to-generate-and-air-gap-pgp-private-keys-using-gnupg-tails-and-yubikey/README.md +++ b/how-to-generate-and-air-gap-pgp-private-keys-using-gnupg-tails-and-yubikey/README.md @@ -16,7 +16,7 @@ Listed: true - [Tails USB flash drive or SD card](../how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos) with VeraCrypt [installed](../how-to-install-and-use-veracrypt-on-tails) - YubiKey with [OpenPGP](https://www.yubico.com/us/store/compare/) support (firmware version `5.2.3` or higher) -- Computer running macOS Catalina (should work on Big Sur) +- Computer running macOS Catalina or Big Sur ## Caveats @@ -1023,6 +1023,7 @@ Click “Applications”, then “Utilities”, then “Unlock VeraCrypt Volumes ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics @@ -1161,22 +1162,6 @@ EOF ### Step 8: configure shell -> Heads-up: run `echo $SHELL` to find default shell. - -#### Bash (`/bin/bash`) - -```shell -cat << "EOF" >> ~/.bashrc -export GPG_TTY="$(tty)" -export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -gpgconf --launch gpg-agent -gpg-connect-agent UPDATESTARTUPTTY /bye > /dev/null -EOF -source ~/.bashrc -``` - -#### Z Shell (`/bin/zsh`) - ```shell cat << "EOF" >> ~/.zshrc export GPG_TTY="$(tty)" diff --git a/how-to-install-and-use-electrum-over-tor-on-macos/README.md b/how-to-install-and-use-electrum-over-tor-on-macos/README.md index 5551e33..31ea8d2 100644 --- a/how-to-install-and-use-electrum-over-tor-on-macos/README.md +++ b/how-to-install-and-use-electrum-over-tor-on-macos/README.md @@ -12,6 +12,10 @@ Listed: true [![How to install and use Electrum over Tor on macOS](how-to-install-and-use-electrum-over-tor-on-macos.png)](https://www.youtube.com/watch?v=QQsAu-9brYY "How to install and use Electrum over Tor on macOS") +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Caveats - When copy/pasting commands that start with `$`, strip out `$` as this character is not part of the command @@ -23,6 +27,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics diff --git a/how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos/README.md b/how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos/README.md index d839189..26388ec 100644 --- a/how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos/README.md +++ b/how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos/README.md @@ -14,8 +14,8 @@ Listed: true ## Requirements -- Computer running macOS Mojave or Catalina - USB flash drive or SD card (faster is better) +- Computer running macOS Catalina or Big Sur ## Caveats @@ -27,6 +27,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics diff --git a/how-to-make-sure-app-is-not-running-in-the-background-on-macos/README.md b/how-to-make-sure-app-is-not-running-in-the-background-on-macos/README.md index 2b0d269..5123f71 100644 --- a/how-to-make-sure-app-is-not-running-in-the-background-on-macos/README.md +++ b/how-to-make-sure-app-is-not-running-in-the-background-on-macos/README.md @@ -12,6 +12,10 @@ Listed: true [![How to make sure app is not running in the background on macOS](how-to-make-sure-app-is-not-running-in-the-background-on-macos.png)](https://www.youtube.com/watch?v=mSibcNslSK8 "How to make sure app is not running in the background on macOS") +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Caveats - When copy/pasting commands that start with `$`, strip out `$` as this character is not part of the command diff --git a/how-to-manage-trezor-devices-using-trezorctl-on-macos-or-tails/README.md b/how-to-manage-trezor-devices-using-trezorctl-on-macos-or-tails/README.md index 8d5665a..1386ab0 100644 --- a/how-to-manage-trezor-devices-using-trezorctl-on-macos-or-tails/README.md +++ b/how-to-manage-trezor-devices-using-trezorctl-on-macos-or-tails/README.md @@ -14,7 +14,7 @@ Listed: true ## Requirements -- Computer running macOS Mojave or Catalina or [Tails USB flash drive or SD card](../how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos) +- Computer running macOS Catalina or Big Sur or [Tails USB flash drive or SD card](../how-to-install-tails-on-usb-flash-drive-or-sd-card-on-macos) - [Trezor One](https://shop.trezor.io/product/trezor-one-black) or [Trezor Model T](https://shop.trezor.io/product/trezor-model-t) ## Caveats @@ -29,6 +29,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics @@ -59,19 +60,8 @@ pip3 install --user attrs trezor ### Step 6: source Python 3 `bin` directory -> Heads-up: run `echo $SHELL` to find default shell. - > Heads-up: replace `3.8` with semver of latest version of Python 3 found using `ls $HOME/Library/Python`. -#### Bash (`/bin/bash`) - -```shell -echo 'export PATH=$PATH:$HOME/Library/Python/3.8/bin' >> ~/.bashrc -source ~/.bashrc -``` - -#### Z Shell (`/bin/zsh`) - ```shell echo 'export PATH=$PATH:$HOME/Library/Python/3.8/bin' >> ~/.zshrc source ~/.zshrc diff --git a/how-to-remove-exif-metadata-from-images-on-macos/README.md b/how-to-remove-exif-metadata-from-images-on-macos/README.md index cf3e528..13d638a 100644 --- a/how-to-remove-exif-metadata-from-images-on-macos/README.md +++ b/how-to-remove-exif-metadata-from-images-on-macos/README.md @@ -12,12 +12,17 @@ Listed: true [![How to remove EXIF metadata from images on macOS](how-to-remove-exif-metadata-from-images-on-macos.png)](https://www.youtube.com/watch?v=mVMGiMFGgsU "How to remove EXIF metadata from images on macOS") +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Setup guide ### Step 1: install [Homebrew](https://brew.sh/) ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable analytics diff --git a/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md b/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md index ae18016..e3fd90f 100644 --- a/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md +++ b/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md @@ -17,7 +17,7 @@ Listed: true ## Requirements - Virtual private server (VPS) or dedicated server running Debian 10 (buster) with public IPv4 address -- Computer running macOS Mojave or Catalina +- Computer running macOS Catalina or Big Sur - Phone running iOS 12 or 13 ## Caveats diff --git a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md index aadd6b7..dd8cafa 100644 --- a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md +++ b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md @@ -14,6 +14,10 @@ Listed: true > Heads-up: unfortunately, it is not possible to spoof MAC address on some Macs (see [issue](https://github.com/sunknudsen/privacy-guides/issues/15)). +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Caveats - When copy/pasting commands that start with `$`, strip out `$` as this character is not part of the command @@ -30,17 +34,6 @@ sudo chown ${USER}:admin /usr/local/sbin ### Step 2: add `/usr/local/sbin` directory to `PATH` environment variable -> Heads-up: run `echo $SHELL` to find default shell. - -#### Bash (`/bin/bash`) - -```shell -echo 'export PATH=$PATH:/usr/local/sbin' >> ~/.bashrc -source ~/.bashrc -``` - -#### Z Shell (`/bin/zsh`) - ```shell echo 'export PATH=$PATH:/usr/local/sbin' >> ~/.zshrc source ~/.zshrc diff --git a/how-to-verify-pgp-digital-signatures-using-gnupg-on-macos/README.md b/how-to-verify-pgp-digital-signatures-using-gnupg-on-macos/README.md index 6a69819..98a05ec 100644 --- a/how-to-verify-pgp-digital-signatures-using-gnupg-on-macos/README.md +++ b/how-to-verify-pgp-digital-signatures-using-gnupg-on-macos/README.md @@ -12,6 +12,10 @@ Listed: true [![How to verify PGP digital signatures using GnuPG on macOS](how-to-verify-pgp-digital-signatures-using-gnupg-on-macos.png)](https://www.youtube.com/watch?v=WnNfunEJdQY "How to verify PGP digital signatures using GnuPG on macOS") +## Requirements + +- Computer running macOS Catalina or Big Sur + ## Caveats - When copy/pasting commands that start with `$`, strip out `$` as this character is not part of the command @@ -22,6 +26,7 @@ Listed: true ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +uname -m | grep amd64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc ``` ### Step 2: disable Homebrew analytics