{ "name": "wireguard-tools", "version": "1.0.20260223", "summary": "wireguard-tools: wg and wg-quick, which configure WireGuard VPN interfaces of the kernel's WireGuard module", "category": "network", "license": "GPL-2.0-only", "homepage": "https://www.wireguard.com/", "source": { "url": "https://deb.debian.org/debian/pool/main/w/wireguard/wireguard_1.0.20260223.orig.tar.xz", "sha256": "1dcece6bfaea4a7c062893d4bc76e4ed7cdecd62553358cced6ee0fe82dbeb42" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/w/wireguard/", "regex": "wireguard_([0-9]+(?:\\.[0-9]+)+)\\.orig\\.tar\\.xz", "pin": "any"}, "deps": [ "bash" ], "env_packages": [], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/wg --version | has 'wireguard-tools v1.0.20260223' && [ \"$(echo dwdtCnMYpX08FsFyUbJmRd9ML4frwJkqsXf7pR25LCo= | bin/wg pubkey)\" = hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmo= ] && [ \"$(echo XasIfmJKikt54X+Lg4AO5m87sSkmGLb9HC+LJ/+I4Os= | bin/wg pubkey)\" = 3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08= ] && k=$(bin/wg genkey) && [ ${#k} = 44 ] && p=$(echo \"$k\" | bin/wg pubkey) && [ ${#p} = 44 ] && [ \"$(bin/wg genpsk | wc -c)\" = 45 ] && printf '[Interface]\\nPrivateKey = %s\\nAddress = 10.66.0.1/24\\nDNS = 10.66.0.2\\nListenPort = 51820\\n\\n[Peer]\\nPublicKey = %s\\nAllowedIPs = 10.66.0.2/32\\n' \"$k\" \"$p\" > \"$t/wg9.conf\" && chmod 600 \"$t/wg9.conf\" && bin/wg-quick strip \"$t/wg9.conf\" > \"$t/stripped\" && has -x 'ListenPort = 51820' < \"$t/stripped\" && ! has Address < \"$t/stripped\" && ! has DNS < \"$t/stripped\" && has -x \"PublicKey = $p\" < \"$t/stripped\" && echo 'wireguard-tools 1.0.20260223: the public keys of RFC 7748 from their private keys; a key pair, a preshared key; wg-quick strip of a configuration'" }