From a9e056f313e95f2a71e1ce6174120f5fce22c834 Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Mon, 17 Jan 2022 09:28:20 -0500 Subject: [PATCH] Moved guides to GitHub and updated repo config --- .github/FUNDING.yml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/found-a-bug.md | 25 --------- .github/ISSUE_TEMPLATE/found-a-bug.yml | 24 ++++++++ .github/ISSUE_TEMPLATE/have-a-suggestion.md | 25 --------- SECURITY.md | 3 + docs/README.md | 56 ++----------------- .../README.md | 2 +- .../README.md | 40 ++++++------- .../README.md | 4 +- .../README.md | 4 +- .../README.md | 24 ++++++-- 12 files changed, 84 insertions(+), 130 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/found-a-bug.md create mode 100644 .github/ISSUE_TEMPLATE/found-a-bug.yml delete mode 100644 .github/ISSUE_TEMPLATE/have-a-suggestion.md create mode 100644 SECURITY.md diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index f3de122..e061d71 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -liberapay: sunknudsen +custom: https://sunknudsen.com/donate diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..a79d234 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Have feedback or need help? + url: https://github.com/sunknudsen/privacy-guides/discussions + about: Check out discussions diff --git a/.github/ISSUE_TEMPLATE/found-a-bug.md b/.github/ISSUE_TEMPLATE/found-a-bug.md deleted file mode 100644 index 54e34f4..0000000 --- a/.github/ISSUE_TEMPLATE/found-a-bug.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Found a bug? -about: Use this template to submit a bug report -title: "" -labels: bug -assignees: "" ---- - - - -## Branch - -`draft` or `master`? - -## Guide - - - -## Operating system and version - - - -## Description - -What isn’t working? diff --git a/.github/ISSUE_TEMPLATE/found-a-bug.yml b/.github/ISSUE_TEMPLATE/found-a-bug.yml new file mode 100644 index 0000000..bd5e4ac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/found-a-bug.yml @@ -0,0 +1,24 @@ +name: Found a bug? +description: Report bug so we can improve +labels: ["bug"] +body: + - type: markdown + value: | + ## Hey 👋 + + Thanks for reporting bug. + - type: input + id: guide + attributes: + label: Guide + description: "Which guide(s) is(are) affected by bug (comma separated)?" + placeholder: "Example: “How to audit source code of proprietary Electron app”" + validations: + required: true + - type: textarea + id: summary + attributes: + label: Summary + description: What isn’t working? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/have-a-suggestion.md b/.github/ISSUE_TEMPLATE/have-a-suggestion.md deleted file mode 100644 index e652b80..0000000 --- a/.github/ISSUE_TEMPLATE/have-a-suggestion.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Have a suggestion? -about: Use this template to submit a suggestion -title: "" -labels: suggestion -assignees: "" ---- - - - -## Branch - -`draft` or `master`? - -## Guide - - - -## Operating system and version - - - -## Description - -What do you suggest? diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..aadc3d6 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,3 @@ +## Found a security vulnerability? + +Please disclose vulnerability privately using the PGP public key and email found on [https://sunknudsen.com/contact](https://sunknudsen.com/contact). diff --git a/docs/README.md b/docs/README.md index 845be61..c8cbb09 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,64 +1,20 @@ - - # Privacy guides docs ## How to contribute -First, thanks for contributing. 🙌 +Thanks for contributing. 🙌 -**Like the project?** Please star [repo](https://github.com/sunknudsen/privacy-guides). +**Like project?** Please star [repo](https://github.com/sunknudsen/privacy-guides). -**Have a suggestion or found a bug?** Please submit [issue](https://github.com/sunknudsen/privacy-guides/issues). +**Found a bug?** Please submit [issue](https://github.com/sunknudsen/privacy-guides/issues) or [signed](#how-to-sign-pull-requests) [pull request](https://github.com/sunknudsen/privacy-guides/pulls). -**Found a security vulnerability?** Please report vulnerability privately using the PGP public key and email found on [sunknudsen.com/contact](https://sunknudsen.com/contact). +**Found a security vulnerability?** Please disclose vulnerability privately using the PGP public key and email found on [https://sunknudsen.com/contact](https://sunknudsen.com/contact). -**Fellow privacy and security researcher?** Please [peer review and sign guides](#how-to-peer-review-and-sign-guide). - -**Wish to support the project?** Please visit [sunknudsen.com/donate](https://sunknudsen.com/donate). +**Wish to support the project?** Please visit [https://sunknudsen.com/donate](https://sunknudsen.com/donate). ## How to get help -We have your back, **you are not alone!** - -Please search for answers on privacy guides [discussions](https://github.com/sunknudsen/privacy-guides/discussions) and, if you don’t find what you are looking for, please start new discussion. - -## How to peer review and sign guide - -> Heads-up: in order to establish a web of trust, peer reviewers are expected to have public track records. - -### Step 1: clone [repo](https://github.com/sunknudsen/privacy-guides) - -### Step 2: checkout [draft](https://github.com/sunknudsen/privacy-guides/tree/draft) - -### Step 3: review guide and submit suggestions using [issues](https://github.com/sunknudsen/privacy-guides/issues) - -Once consensus has been reached (issues are closed) and updated guide has been published to [draft.sunknudsen.com](https://draft.sunknudsen.com/), time for [step 4](#step-4-append-yourself-to-reviewers-comma-separated). - -### Step 4: append yourself to `Reviewers` (comma-separated) - -Example: - -```markdown - -``` - -### Step 5: submit [signed](#how-to-sign-pull-requests) pull request - -👍 +Check out [discussions](https://github.com/sunknudsen/privacy-guides/discussions). ## How to sign pull requests diff --git a/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/README.md b/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/README.md index 5a6d435..3c01e41 100644 --- a/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/README.md +++ b/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/README.md @@ -24,7 +24,7 @@ sudo chown ${USER}:staff /usr/local/bin ### Step 2: download [app-cleaner.sh](./app-cleaner.sh) ([PGP signature](./app-cleaner.sh.asc), [PGP public key](https://sunknudsen.com/sunknudsen.asc)) ```shell -curl --fail --output /usr/local/bin/app-cleaner.sh https://sunknudsen.com/static/media/privacy-guides/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh +curl --fail --output /usr/local/bin/app-cleaner.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh chmod +x /usr/local/bin/app-cleaner.sh ``` diff --git a/how-to-create-encrypted-paper-backup/README.md b/how-to-create-encrypted-paper-backup/README.md index 535ba21..f988aef 100644 --- a/how-to-create-encrypted-paper-backup/README.md +++ b/how-to-create-encrypted-paper-backup/README.md @@ -147,12 +147,12 @@ imported: 1 ### Step 12: download and verify [create-bip39-mnemonic.py](./create-bip39-mnemonic.py) ```console -$ curl --fail --output /home/pi/.local/bin/create-bip39-mnemonic.py https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/create-bip39-mnemonic.py +$ curl --fail --output /home/pi/.local/bin/create-bip39-mnemonic.py https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/create-bip39-mnemonic.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 149 100 149 0 0 144 0 0:00:01 0:00:01 --:--:-- 144 -$ curl --fail --output /home/pi/.local/bin/create-bip39-mnemonic.py.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/create-bip39-mnemonic.py.asc +$ curl --fail --output /home/pi/.local/bin/create-bip39-mnemonic.py.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/create-bip39-mnemonic.py.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 200 0 0:00:01 0:00:01 --:--:-- 200 @@ -181,12 +181,12 @@ Good signature ### Step 13: download and verify [validate-bip39-mnemonic.py](./validate-bip39-mnemonic.py) ```console -$ curl --fail --output /home/pi/.local/bin/validate-bip39-mnemonic.py https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/validate-bip39-mnemonic.py +$ curl --fail --output /home/pi/.local/bin/validate-bip39-mnemonic.py https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/validate-bip39-mnemonic.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 183 100 183 0 0 187 0 --:--:-- --:--:-- --:--:-- 187 -$ curl --fail --output /home/pi/.local/bin/validate-bip39-mnemonic.py.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/validate-bip39-mnemonic.py.asc +$ curl --fail --output /home/pi/.local/bin/validate-bip39-mnemonic.py.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/validate-bip39-mnemonic.py.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 113 0 0:00:02 0:00:02 --:--:-- 113 @@ -215,12 +215,12 @@ Good signature ### Step 14: download and verify [tmux-buttons.py](./tmux-buttons.py) ```console -$ curl --fail --output /home/pi/.local/bin/tmux-buttons.py https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/tmux-buttons.py +$ curl --fail --output /home/pi/.local/bin/tmux-buttons.py https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/tmux-buttons.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 918 100 918 0 0 897 0 0:00:01 0:00:01 --:--:-- 898 -$ curl --fail --output /home/pi/.local/bin/tmux-buttons.py.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/tmux-buttons.py.asc +$ curl --fail --output /home/pi/.local/bin/tmux-buttons.py.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/tmux-buttons.py.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 213 0 0:00:01 0:00:01 --:--:-- 213 @@ -249,12 +249,12 @@ Good signature ### Step 15: download and verify [qr-backup.sh](./qr-backup.sh) ```console -$ curl --fail --output /home/pi/.local/bin/qr-backup.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-backup.sh +$ curl --fail --output /home/pi/.local/bin/qr-backup.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-backup.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8225 100 8225 0 0 7679 0 0:00:01 0:00:01 --:--:-- 7686 -$ curl --fail --output /home/pi/.local/bin/qr-backup.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-backup.sh.asc +$ curl --fail --output /home/pi/.local/bin/qr-backup.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-backup.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 259 0 --:--:-- --:--:-- --:--:-- 258 @@ -283,12 +283,12 @@ Good signature ### Step 16: download and verify [qr-restore.sh](./qr-restore.sh) ```console -$ curl --fail --output /home/pi/.local/bin/qr-restore.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-restore.sh +$ curl --fail --output /home/pi/.local/bin/qr-restore.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-restore.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3754 100 3754 0 0 3511 0 0:00:01 0:00:01 --:--:-- 3514 -$ curl --fail --output /home/pi/.local/bin/qr-restore.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-restore.sh.asc +$ curl --fail --output /home/pi/.local/bin/qr-restore.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-restore.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 236 0 --:--:-- --:--:-- --:--:-- 236 @@ -317,12 +317,12 @@ Good signature ### Step 17: download and verify [qr-clone.sh](./qr-clone.sh) ```console -$ curl --fail --output /home/pi/.local/bin/qr-clone.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-clone.sh +$ curl --fail --output /home/pi/.local/bin/qr-clone.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-clone.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1007 100 1007 0 0 930 0 0:00:01 0:00:01 --:--:-- 930 -$ curl --fail --output /home/pi/.local/bin/qr-clone.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/qr-clone.sh.asc +$ curl --fail --output /home/pi/.local/bin/qr-clone.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/qr-clone.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 230 0 --:--:-- --:--:-- --:--:-- 229 @@ -351,12 +351,12 @@ Good signature ### Step 18: download and verify [secure-erase.sh](./secure-erase.sh) ```console -$ curl --fail --output /home/pi/.local/bin/secure-erase.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/secure-erase.sh +$ curl --fail --output /home/pi/.local/bin/secure-erase.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/secure-erase.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1352 100 1352 0 0 1390 0 --:--:-- --:--:-- --:--:-- 1390 -$ curl --fail --output /home/pi/.local/bin/secure-erase.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/secure-erase.sh.asc +$ curl --fail --output /home/pi/.local/bin/secure-erase.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/secure-erase.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 257 0 --:--:-- --:--:-- --:--:-- 257 @@ -385,12 +385,12 @@ Good signature ### Step 19: download and verify [trezor-verify-integrity.sh](./trezor-verify-integrity.sh) (used to verify integrity of Trezor devices) ```console -$ curl --fail --output /home/pi/.local/bin/trezor-verify-integrity.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/trezor-verify-integrity.sh +$ curl --fail --output /home/pi/.local/bin/trezor-verify-integrity.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/trezor-verify-integrity.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1228 100 1228 0 0 1271 0 --:--:-- --:--:-- --:--:-- 1269 -$ curl --fail --output /home/pi/.local/bin/trezor-verify-integrity.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/trezor-verify-integrity.sh.asc +$ curl --fail --output /home/pi/.local/bin/trezor-verify-integrity.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/trezor-verify-integrity.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 244 0 --:--:-- --:--:-- --:--:-- 243 @@ -419,12 +419,12 @@ Good signature ### Step 20: download and verify [trezor-restore.sh](./trezor-restore.sh) (used to restore Trezor devices) ```console -$ curl --fail --output /home/pi/.local/bin/trezor-restore.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/trezor-restore.sh +$ curl --fail --output /home/pi/.local/bin/trezor-restore.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/trezor-restore.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1818 100 1818 0 0 1744 0 0:00:01 0:00:01 --:--:-- 1744 -$ curl --fail --output /home/pi/.local/bin/trezor-restore.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/trezor-restore.sh.asc +$ curl --fail --output /home/pi/.local/bin/trezor-restore.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/trezor-restore.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 257 0 --:--:-- --:--:-- --:--:-- 257 @@ -453,12 +453,12 @@ Good signature ### Step 21: download and verify [update.sh](./update.sh) ```console -$ curl --fail --output /home/pi/.local/bin/update.sh https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/update.sh +$ curl --fail --output /home/pi/.local/bin/update.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/update.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1846 100 1846 0 0 1895 0 --:--:-- --:--:-- --:--:-- 1895 -$ curl --fail --output /home/pi/.local/bin/update.sh.asc https://sunknudsen.com/static/media/privacy-guides/how-to-create-encrypted-paper-backup/update.sh.asc +$ curl --fail --output /home/pi/.local/bin/update.sh.asc https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-create-encrypted-paper-backup/update.sh.asc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 228 100 228 0 0 225 0 0:00:01 0:00:01 --:--:-- 225 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 745f0be..695ece4 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 @@ -243,7 +243,7 @@ Shout out to [Andrew Ho](https://gist.github.com/andrewlkho/31341da4f5953b8d977a The following command downloads and runs [ulagen.py](./ulagen.py) ([PGP signature](./ulagen.py.asc), [PGP public key](https://raw.githubusercontent.com/sunknudsen/pgp-public-key/master/legacy/sunknudsen-legacy.asc)). ```console -$ curl -s https://sunknudsen.com/static/media/privacy-guides/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/ulagen.py | python3 | grep "First subnet" | awk '{print "STRONGSWAN_IPV6_ULA="$3}' | tee -a ~/.bashrc +$ curl -s https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-self-host-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/ulagen.py | python3 | grep "First subnet" | awk '{print "STRONGSWAN_IPV6_ULA="$3}' | tee -a ~/.bashrc STRONGSWAN_IPV6_ULA=fdba:8ce0:c301::/64 $ source ~/.bashrc @@ -951,7 +951,7 @@ Finally, click “File”, then “Save”, and save file as “alice.mobileconf Unlock iPhone, connect it to Mac using USB cable and open Apple Configurator 2. -In “All Devices”, double-click on iPhone, then “Add”, and finally “Profiles”. +In “All Devices”, double-click on iPhone, then “Add” and finally “Profiles”. Select “alice.mobileconfig” and follow instructions. 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 de59a84..b2fa592 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 @@ -44,7 +44,7 @@ source ~/.zshrc This list includes the top 2048 most popular baby names from the [USA Social Security Administration](https://www.ssa.gov/oact/babynames/limits.html). ```shell -curl --fail --output /usr/local/sbin/first-names.txt https://sunknudsen.com/static/media/privacy-guides/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/first-names.txt +curl --fail --output /usr/local/sbin/first-names.txt https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/first-names.txt ``` ### Step 4: download [mac-address-prefixes.txt](./mac-address-prefixes.txt) @@ -52,7 +52,7 @@ curl --fail --output /usr/local/sbin/first-names.txt https://sunknudsen.com/stat This list includes 768 Apple MAC address prefixes. ```shell -curl --fail --output /usr/local/sbin/mac-address-prefixes.txt https://sunknudsen.com/static/media/privacy-guides/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/mac-address-prefixes.txt +curl --fail --output /usr/local/sbin/mac-address-prefixes.txt https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/mac-address-prefixes.txt ``` ### Step 5: create `spoof.sh` script 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 9f52935..a6fe162 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 @@ -101,11 +101,27 @@ sub rsa4096 2019-10-17 [A] [expires: 2021-10-25] sub rsa4096 2019-10-17 [S] [expires: 2021-10-25] ``` -### Verify [signed message](https://sunknudsen.com/static/media/cms/donate/donate-bitcoin.asc) +### Verify signed message + +> Heads-up: run `gpg`, paste message, press enter and finally press ctrl-d. ```console -$ gpg --verify donate-bitcoin.asc -gpg: Signature made Wed 29 Dec 10:32:32 2021 EST +$ gpg +gpg: WARNING: no command supplied. Trying to guess what you mean ... +gpg: Go ahead and type your message ... +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +bc1qpy3h47z7pxlpctmfl4e43vu96yutflku2mrsds +-----BEGIN PGP SIGNATURE----- + +iHUEARYKAB0WIQSceIfhtfy84t/tDhwCxDrQctV3gwUCYeFZGgAKCRACxDrQctV3 +g0m+AP9xoftZV147sWJc7sqpYXpysdW5iiB5NhCaKqGmQ92GpgD/S4AZqzHEUzME +ifFv0pnoSCEAyxDnEHoUk5SCGCkobAc= +=uDIU +-----END PGP SIGNATURE----- +bc1qpy3h47z7pxlpctmfl4e43vu96yutflku2mrsds +gpg: Signature made Fri 14 Jan 06:06:02 2022 EST gpg: using EDDSA key 9C7887E1B5FCBCE2DFED0E1C02C43AD072D57783 gpg: Good signature from "Sun Knudsen " [unknown] gpg: WARNING: This key is not certified with a trusted signature! @@ -118,7 +134,7 @@ Good signature 👍 -### Verify signed [file](https://sunknudsen.com/static/media/privacy-guides/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh) using [detached signature](https://sunknudsen.com/static/media/privacy-guides/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh.asc) +### Verify signed [file](https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh) using [detached signature](https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh.asc) ```console $ gpg --verify app-cleaner.sh.asc