curl now experimentally supports HTTP Message Signatures as defined in RFC 9421, starting with the upcoming 8.22.0 release. The feature enables digital signing of selected HTTP request components (headers, method, path, etc.) to ensure they arrive unmodified through proxies, CDNs, and other intermediaries. Four new command-line options are introduced: --httpsig-algo (defaulting to ed25519, with hmac-sha256 also supported), --httpsig-key, --httpsig-keyid, and --httpsig-headers. Equivalent libcurl options are available via curl_easy_setopt. The feature is marked experimental, must be explicitly enabled at build time, and backward compatibility is not guaranteed until it exits the experimental phase.
16.5K Impressions1 Comment