feat: 0.8 release (pushd) (#115)

* feat: pushd and version 0.8

* feat: add important note to top of file

* fix: actually put the date in

* fix: fixed default keys in the default backend config
This commit is contained in:
Tom
2024-11-28 23:17:58 -08:00
committed by GitHub
parent 71e9b9579b
commit df4814dc38
3 changed files with 73 additions and 13 deletions

4
generate_config.sh Executable file → Normal file
View File

@@ -14,9 +14,9 @@ echo "january = \"https://$1/january\"" >> Revolt.toml
# VAPID keys
echo "" >> Revolt.toml
echo "[api.vapid]" >> Revolt.toml
echo "[pushd.vapid]" >> Revolt.toml
openssl ecparam -name prime256v1 -genkey -noout -out vapid_private.pem
echo "private_key = \"$(base64 vapid_private.pem | tr -d '\n')\"" >> Revolt.toml
echo "private_key = \"$(base64 -i vapid_private.pem | tr -d '\n')\"" >> Revolt.toml
echo "public_key = \"$(openssl ec -in vapid_private.pem -outform DER|tail -c 65|base64|tr '/+' '_-'|tr -d '\n')\"" >> Revolt.toml
rm vapid_private.pem