vault backup: 2025-01-19 19:04:28
This commit is contained in:
parent
57aed25d69
commit
f3c049e210
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
```bash
|
```bash
|
||||||
|
# on host
|
||||||
docker run --rm -it alpine:latest sh
|
docker run --rm -it alpine:latest sh
|
||||||
|
|
||||||
|
# in container
|
||||||
apk add xxd openssl
|
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)
|
||||||
```
|
```
|
Loading…
Reference in a new issue