changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / .stash/scripts/wg-gen-keys.sh

changeset 48: 953c5127546a
parent: stash/scripts/wg-gen-keys.sh@45f3b1bc3cd7
author: Richard Westhaver <ellis@rwest.io>
date: Wed, 19 Jun 2024 19:27:14 +0000
permissions: -rwxr-xr-x
description: stash -> .stash
1 #!/bin/sh
2 # generate base64-enc keypair in current dir
3 umask 077
4 wg genkey | tee privatekey | wg pubkey > publickey