← Commit list

44dc0ab188

Daniel Stenberg
Daniel Stenberg
2026-09-17
SUCCESS Duration: 389s

Subject

httpsig-key.md: correct the generating Ed25519 keys commands

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/cmdline-opts/httpsig-key.md+3 -2
@@ -32,7 +32,8 @@ The key is formatted as a series of hexadecimal digits in a single line. For
With OpenSSL 3:
openssl genpkey -algorithm ED25519 -out k.pem
- openssl pkey -in k.pem -outform RAW -out k.raw
- xxd -p -c 64 k.raw | tr -d '\n' > k.hex
+ openssl pkey -in k.pem -text -noout | \
+ grep -A3 ^priv: | \
+ tr -cd '[:xdigit:]' > k.hex
Use `@k.hex` with `--httpsig-key`.
docs/libcurl/opts/CURLOPT_HTTPSIG_KEY.md+4 -2
@@ -43,8 +43,10 @@ PEM and other encodings are not supported; pass the raw key material as hex.
With OpenSSL 3:
- openssl genpkey -algorithm ED25519 -out ed25519.pem
- openssl pkey -in ed25519.pem -outform RAW | xxd -p -c 64 | tr -d '\n' > key.hex
+ openssl genpkey -algorithm ED25519 -out k.pem
+ openssl pkey -in k.pem -text -noout | \
+ grep -A3 ^priv: | \
+ tr -cd '[:xdigit:]' > k.hex
The `key.hex` file is one line of 64 hexadecimal digits.