Compare commits
2 commits
50bd51d19e
...
f3c049e210
Author | SHA1 | Date | |
---|---|---|---|
f3c049e210 | |||
57aed25d69 |
1 changed files with 10 additions and 0 deletions
10
Docker Images/quartz/use xxd in docker.md
Normal file
10
Docker Images/quartz/use xxd in docker.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
```bash
|
||||
# on host
|
||||
docker run --rm -it alpine:latest sh
|
||||
|
||||
# in container
|
||||
apk add xxd openssl
|
||||
|
||||
# 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