Command Line Magic on Nostr: I think this command (not mine) is just so elegant. It's for generating both the ...
I think this command (not mine) is just so elegant. It's for generating both the private key and the public key for a Wireguard tunnel in one go.
wg genkey | tee privatekey | wg pubkey > publickey
Published at
2023-06-01 17:17:33Event JSON
{
"id": "cdb315fb0140256ae749f8f6c6ab6fbf781df82b1946cae103814e066badf52b",
"pubkey": "f5f1075f3fad1755cef1ef9024d53eafd24ea460383319ffb9949f3b6a3cde1a",
"created_at": 1685639853,
"kind": 1,
"tags": [
[
"mostr",
"https://mastodon.social/users/climagic/statuses/110470093429065646"
]
],
"content": "I think this command (not mine) is just so elegant. It's for generating both the private key and the public key for a Wireguard tunnel in one go.\n\nwg genkey | tee privatekey | wg pubkey \u003e publickey",
"sig": "66a0b0b09c11d6499988ca858ca5dd9a9d9727d8fcfd3ff33b9b5439837c9e6e789c70753625381c7efab022e5eb506b59835eced6b39aa0ab5894d5484eeba7"
}