<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/http, branch master</title>
<subtitle>A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/'/>
<updated>2026-11-17T21:30:10+00:00</updated>
<entry>
<title>openssl: add OpenSSL 4.1 support</title>
<updated>2026-11-17T21:30:10+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-11-16T21:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=8bd54f0c2f16ba6f5137a047013e5a785b06ccbc'/>
<id>urn:sha1:8bd54f0c2f16ba6f5137a047013e5a785b06ccbc</id>
<content type='text'>
OpenSSL 4.1 deprecated ASN1_STRING_set() and ASN1_STRING_length(),
which fails the build with -Werror=deprecated-declarations.

Use ASN1_STRING_set1_data() and ASN1_STRING_get_length() when
building against 4.1+, keeping the old calls for 4.0 and earlier.

Tested: Built with OpenSSL 4.1 in latest openembedded-core refresh.

Assisted-by: OpenCode:muse-spark-1.3
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I8038f369fcfd68e47b8c5d302074fc0bf261dc96
</content>
</entry>
<entry>
<title>Fix typos using typos tool</title>
<updated>2026-11-13T23:39:39+00:00</updated>
<author>
<name>George Liu</name>
<email>liuxiwei@ieisystem.com</email>
</author>
<published>2026-11-05T06:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=c9ba80ef3d4ea680662af14856f333534a5ac56f'/>
<id>urn:sha1:c9ba80ef3d4ea680662af14856f333534a5ac56f</id>
<content type='text'>
Signed-off-by: George Liu &lt;liuxiwei@ieisystem.com&gt;
Change-Id: I554efb55a5ce4f11f231e41ad1dabb3169880f40
</content>
</entry>
<entry>
<title>parsing: increase maxValues to 5000 for telemetry</title>
<updated>2026-10-22T17:12:58+00:00</updated>
<author>
<name>Jagpal Singh Gill</name>
<email>paligill@gmail.com</email>
</author>
<published>2026-05-27T07:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=4d7aaa03a0638a541d74462de3b0df78dc69a6af'/>
<id>urn:sha1:4d7aaa03a0638a541d74462de3b0df78dc69a6af</id>
<content type='text'>
The BmcwebSaxParse JSON parser caps the total number of values in a
request body at 2000. This can be limiting for telemetry report
creation requests, which can contain hundreds of sensor metric
properties and may exceed this limit, causing MalformedJSON errors.

Increase maxValues from 2000 to 5000. The HTTP body size limit
(30 MiB by default) still guards against truly abusive payloads.

Change-Id: Id0c26b9a878c39dfa9e9f9b5546da0c53fbd3a83
Signed-off-by: Jagpal Singh Gill &lt;paligill@gmail.com&gt;
</content>
</entry>
<entry>
<title>Disallow matching of single hostnames</title>
<updated>2026-10-15T15:41:21+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed@tanous.net</email>
</author>
<published>2026-06-16T03:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=31dbec71d510a4719294ab58927eb1ed8571a4d7'/>
<id>urn:sha1:31dbec71d510a4719294ab58927eb1ed8571a4d7</id>
<content type='text'>
If a nefarious server signs "com", in our current implementation, we
allow it.  Rewrite the upn parser to perform a split if the hostnames
and fail if the hostname is multiple sections (thus implying that it's
an fqdn) and the UPN is a single section.  We previously had a unit test
verifying the opposite, but there's potential for abuse in this if a UPN
is less than 1 section long.  Checking only one section is relatively
arbitrary, and doesn't cover the potential for multiple

Tested: Good unit test coverage here.

Change-Id: I1d271baf42d290bffaeaeb1199012f1975e6e50d
Signed-off-by: Ed Tanous &lt;edtanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>clang-format: update latest spec and reformat with clang-23</title>
<updated>2026-10-09T15:38:32+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-10-08T17:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=8ba7c739751fd8263329f760c1897152020d206e'/>
<id>urn:sha1:8ba7c739751fd8263329f760c1897152020d206e</id>
<content type='text'>
Copy the latest format file from the docs repository and apply using
clang-format-23.

See Id135962f783a16683d9ceadaa6c8df051c454e18 for clang-23 enablement.

Change-Id: I8e2af00898034b42332cc4569f365de7341e37d8
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
</content>
</entry>
<entry>
<title>Add OpenSSL 4.0 support</title>
<updated>2026-10-07T15:44:16+00:00</updated>
<author>
<name>Tan Siewert</name>
<email>tan.siewert@9elements.com</email>
</author>
<published>2026-09-08T21:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=33451f630a6a08502a27ab1c8c8517c74e38052d'/>
<id>urn:sha1:33451f630a6a08502a27ab1c8c8517c74e38052d</id>
<content type='text'>
With OpenSSL 4.0, ASN1_STRING and several other types are now opaque [0]
and cannot be reached like before, and X509_NAME is now constified [1],
causing the build to fail.

Given that Yocto has now migrated to OpenSSL 4.0, the code must be
compatible with both 3.x and 4.0.

Modify the accesses for ASN1_STRING to use the appropriate functions
like ASN1_STRING_get0_data() and construct the type with all options
directly, instead of assigning them afterwards.

X509_NAME is now its own RAII object as it must be duped due to the
constification. Methods like X509_NAME_add_entry_by_txt however require
a non-constified pointer.

The truncation to 255 bytes for the X509 common name is now gone since
get_index_by_NID and get0_data made the fixed-size buffer unnecessary.

Setting subject entries such as country, organization or the subject
name now returns a boolean and certificate generation aborts on failure
instead of silently continuing with an incomplete subject.

The wrap file for OpenSSL can't be updated due to a missing dependency
(wrapdb) that doesn't provide OpenSSL 4-compatible patches.

Tested: Code compiles with both OpenSSL 3.6.3, as well as 4.0.2, and
        the unit tests pass.
        On an AST2600 platform with OpenSSL 3.6.3, as well as 4.0.2,
        the cert generation works like before, and mTLS authentication
        as described in [2] how to set it up works too. Adding the
        certificate to the trusted store works like before.

References:

[0] https://github.com/openssl/openssl/blob/5ce57ab932b70e030249190a4b5a02232c080eea/CHANGES.md?plain=1#L1523
[1] https://github.com/openssl/openssl/commit/b0f2107b44049805b39434d104c8bb0daf8ae079
[2] https://github.com/openbmc/docs/blob/93b1e07c59cd8bc11e7afaaba4172b21a0a5b552/security/TLS-configuration.md

Change-Id: Iefe7d87ddda3dea1ca46929110dea06cff9079ad
Signed-off-by: Tan Siewert &lt;tan.siewert@9elements.com&gt;
</content>
</entry>
<entry>
<title>Refactor startAsyncWaitForSignal lambda</title>
<updated>2026-09-24T06:43:40+00:00</updated>
<author>
<name>Yuvakumar Selvamani</name>
<email>yuvakumars@ami.com</email>
</author>
<published>2026-08-20T07:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=7a0c87df067bd14032d8c18504b9df4444d9d882'/>
<id>urn:sha1:7a0c87df067bd14032d8c18504b9df4444d9d882</id>
<content type='text'>
Extract the long signal handler lambda in startAsyncWaitForSignal() into
a named member function, afterWaitForSignal(), bound via
std::bind_front(), per the &lt;10 line lambda coding standard in
docs/COMMON_ERRORS.md.

Tested on AST2600 SoC:
- `kill -HUP &lt;bmcweb pid&gt;`, then `GET /redfish/v1/`
  Expected: cert reload, service stays active, 200 OK
  Actual:   bmcweb.service remained active, GET returned HTTP 200
- `kill -TERM &lt;bmcweb pid&gt;`
  Expected: clean shutdown
  Actual:   journalctl confirmed "bmcweb.service: Deactivated
            successfully"
- RSV: 5845 Pass / 353 Warn / 0 Fail

Change-Id: Id02f26fd680ae34639b521962b0f4e3d67c534bc
Signed-off-by: Yuvakumar Selvamani &lt;yuvakumars@ami.com&gt;
</content>
</entry>
<entry>
<title>include,http: Extract getUserInfo/onRequestRecv</title>
<updated>2026-09-19T14:52:07+00:00</updated>
<author>
<name>Yuvakumar Selvamani</name>
<email>yuvakumars@ami.com</email>
</author>
<published>2026-09-01T10:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=e5fdb213cfc5e43cbf3e7d327a78ce771362edaf'/>
<id>urn:sha1:e5fdb213cfc5e43cbf3e7d327a78ce771362edaf</id>
<content type='text'>
Move long lambdas in getUserInfo() and onRequestRecv() into named
functions, afterGetUserInfo() and afterCompleteRequest(), per the &lt;10
line lambda rule in docs/COMMON_ERRORS.md. No functional change.

Tested:
- Tested on AST2600 SoC.
- getUserInfo/afterGetUserInfo: sent an authenticated Basic-auth Redfish
  GET and confirmed a 200 response with no "Failed to populate user
  information" error in journalctl, proving populateUserInfo() succeeded
  via the extracted callback.
- onRequestRecv/afterCompleteRequest: RSV's client uses HTTP/1.1, so it
  does not exercise this HTTP/2-only code path. Instead, used
  "curl --http2" and confirmed ALPN negotiated h2 and the request
  completed as HTTP/2 200. journalctl -u bmcweb confirmed both
  "onRequestRecv streamId:1" and the extracted callback's
  "res.completeRequestHandler called" fired for that stream.
- Redfish Service Validator: 5830 Pass / 353 Warn / 0 Fail.

Change-Id: I0e6365c682f6acc8d39510ad5f1fe239d747154f
Signed-off-by: Yuvakumar Selvamani &lt;yuvakumars@ami.com&gt;
</content>
</entry>
<entry>
<title>http: Refactor handleMessage lambda</title>
<updated>2026-09-11T15:46:11+00:00</updated>
<author>
<name>Yuvakumar Selvamani</name>
<email>yuvakumars@ami.com</email>
</author>
<published>2026-08-20T07:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=0eaf2bf0d0b98ed65313cc61932872b224c3694c'/>
<id>urn:sha1:0eaf2bf0d0b98ed65313cc61932872b224c3694c</id>
<content type='text'>
Extract the long completion lambda in handleMessage() into a named
member function, afterHandleMessage(), bound via std::bind_front(), per
the &lt;10 line lambda coding standard in docs/COMMON_ERRORS.md.

Tested:
- No functional change.
- Build successfully compiled.
- Redfish Service Validator passed with no new errors or warnings
  introduced.

Change-Id: I54f4cbee152c04c2bd083e5fbbf6859b8277b887
Signed-off-by: Yuvakumar Selvamani &lt;yuvakumars@ami.com&gt;
</content>
</entry>
<entry>
<title>Prevent error level prints on disconnect of http2</title>
<updated>2026-09-10T19:50:56+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2026-08-31T14:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=7b9cf582884b7e292ca3c1ce1676e96e17a1c646'/>
<id>urn:sha1:7b9cf582884b7e292ca3c1ce1676e96e17a1c646</id>
<content type='text'>
Previously, http2 disconnects that weren't cleanly stopped in openssl
would result in a log message like:

'''
[http2_connection.hpp:998] 0x2bba5e0 Error while reading: stream truncated
'''

While it's valid to log that a client disconnected unclealy, clients
seem to do this and clog up the logs.

Tested: Redfish Service validator passes.
I don't have a client that reproduces this;  Inspection only.

Change-Id: I9205500171912f7d82b31487b7df8d1a293d8c89
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
</feed>
