vault backup: 2025-01-19 19:04:28

This commit is contained in:
Nathan Price 2025-01-19 19:04:28 -05:00
parent 57aed25d69
commit f3c049e210
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg

View file

@ -1,7 +1,10 @@
```bash
# on host
docker run --rm -it alpine:latest sh
# in container
apk add xxd openssl
echo PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: $(openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32)
# everything after this is one command
echo PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: $(openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail -c +8 | head -c 32 | xxd --plain --cols 32)
```