| .. | ||
| __pycache__ | ||
| instance | ||
| static | ||
| templates | ||
| .env | ||
| .gitignore | ||
| config.py | ||
| Dockerfile | ||
| main.py | ||
| models.py | ||
| private_key.txt | ||
| public_key.txt | ||
| readme.md | ||
| requirements.txt | ||
| vapid_private.pem | ||
Install vapid keys
openssl ecparam -name prime256v1 -genkey -noout -out vapid_private.pem
openssl ec -in ./vapid_private.pem -outform DER|tail -c +8|head -c 32|base64|tr -d '=' |tr '/+' '_-' >> private_key.txt
openssl ec -in ./vapid_private.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-' >> public_key.txt