Skip to content

Instantly share code, notes, and snippets.

@fusetim
fusetim / protonvpn-wireguard-generator.py
Last active June 15, 2024 13:45
Generate lots of Wireguard configuration for your ProtonVPN Account.
import http.client
import http.cookies
import json
import base64
import hashlib
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import x25519
from cryptography.hazmat.primitives.asymmetric import ec
from cryptography.hazmat.primitives import hashes