4 Commits
Author SHA1 Message Date
github-actions[bot] 9e21392442 chore(export): update PDFs, hashes and signatures [skip ci] 2026-06-28 03:56:05 +00:00
nopeitsnothing b22e0da09c chore(build): adjust keyring path
use the new relative path: pgp/anonymousplanet.asc

Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
2026-06-27 23:47:46 -04:00
nopeitsnothing 8b98031d39 chore(build): 02-sign.yml uses incorrect gpg settings
Use a fpr match to lock a specific key

Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
2026-06-27 23:34:22 -04:00
nopeitsnothing cba1d637bf chore(build): 02-sign.yml did not create the repo dir
Do a quick mkdir -p repo/export before copying files to the dir

Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
2026-06-27 23:18:20 -04:00
7 changed files with 133570 additions and 4 deletions
+7 -2
View File
@@ -118,7 +118,9 @@ jobs:
path: repo
- name: 📂 Copy export files into repo
run: cp -v export/* repo/export/
run: |
mkdir -p repo/export
cp -v export/* repo/export/
- name: 🔏 Configure GPG commit signing
env:
@@ -126,9 +128,12 @@ jobs:
run: |
mkdir -p ~/.gnupg
echo "$GPG_PRIVATE_KEY" | gpg --batch --quiet --import > /dev/null 2>&1 || true
FINGERPRINT=$(gpg --batch --list-secret-keys --with-colons 2>/dev/null \
| awk -F: '/^fpr/ { print $10; exit }')
git config --global commit.gpgSign true
git config --global gpg.program gpg
git config --global gpg.exectimeout 180
git config --global user.signingkey "$FINGERPRINT"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
@@ -212,7 +217,7 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get install -y gnupg
gpg --import pgp/anonymousplanet-release.asc
gpg --import pgp/anonymousplanet.asc
- name: 🐍 Set up Python
uses: actions/setup-python@v5
+2
View File
@@ -0,0 +1,2 @@
ed1fff860d113609cbeaf38beef5342b473d5f09b9263020ef0a82f42ba9c8d4d17ad2743267a76b0f315c4719f9866d3e2018bc8f4eb64a46d0fcbec0c6ee2f thgtoa.pdf
1bd77081bf7f2962f8a52a141e286fc7cb571e17b1b551d1baab5fd892cf874a1ace903301f263d7073251a1c53a4d141aa346fb0c87ea0af0b96703127f5133 thgtoa-dark.pdf
+2
View File
@@ -0,0 +1,2 @@
85e8824dcda6176ac4444fdc92ff5272527065aabb2c240d3e2f87418aa255b3 thgtoa.pdf
28675b585406f0e0543e4f63d5cff6507a064bf4d91db9ff82e4a826e8c8959d thgtoa-dark.pdf
+56926
View File
File diff suppressed because one or more lines are too long
+76628
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -377,7 +377,7 @@ def main() -> int:
if not key:
print("\n✗ Could not resolve a signing key. Aborting.")
print(" Import the release key with:")
print(" gpg --import pgp/anonymousplanet-release.asc")
print(" gpg --import pgp/anonymousplanet.asc")
return 1
print(f" Resolved to: {key}")
+4 -1
View File
@@ -82,7 +82,10 @@ def apply_dark_theme(
# Saturation (HSV model, vectorised)
ch_min = np.min(norm, axis=2)
ch_max = np.max(norm, axis=2)
sat = np.where(ch_max > 0.001, (ch_max - ch_min) / ch_max, 0.0).astype(np.float32)
# Suppress the numpy divide error, idc
# division happens on all elements including the zero ones
with np.errstate(divide='ignore', invalid='ignore'):
sat = np.where(ch_max > 0.001, (ch_max - ch_min) / ch_max, 0.0).astype(np.float32)
# --- Masks ---
# High-saturation = image/photo content — leave untouched