Skip to content

Instantly share code, notes, and snippets.

@fusetim
fusetim / protonvpn-wireguard-generator.py
Last active October 11, 2024 13:24
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