<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/include, 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>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>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>Detect HTML content type with existing parser</title>
<updated>2026-07-16T17:21:50+00:00</updated>
<author>
<name>Joel Pullokaran Jesin</name>
<email>joelpj@ami.com</email>
</author>
<published>2026-07-13T13:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=d7744feb85a79ebb9069a5a0c2afa6f56c6f9f4a'/>
<id>urn:sha1:d7744feb85a79ebb9069a5a0c2afa6f56c6f9f4a</id>
<content type='text'>
Use http_helpers::getContentType() when deciding whether to add
HTML-only security headers.

Previously this logic checked the raw Content-Type header with a
text/html prefix match. That worked for the values we emit today,
but it open-coded Content-Type handling in this path instead of using
the existing parser.

Switch this logic to getContentType() so it stays consistent with
the rest of the code and correctly handles valid variations such as
case-insensitive HTML MIME types.

Add unit coverage for getContentType() to verify HTML MIME types
with charset parameters and case-insensitive input.

Tested: unit tests passed.

Change-Id: I1cff40453ab4851cc7b24615a20fb6abcfba864b
Signed-off-by: Joel Pullokaran Jesin &lt;joelpj@ami.com&gt;
</content>
</entry>
<entry>
<title>Fix bug in asio resolver</title>
<updated>2026-07-15T18:27:05+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2026-05-29T17:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=a72a21df2401924757519bd56ac1f729a87489e2'/>
<id>urn:sha1:a72a21df2401924757519bd56ac1f729a87489e2</id>
<content type='text'>
This regressed when the bypass was added.  Fix the code for
resolver=asio to properly construct the results object using the built
in asio type instead of std::vector.

Tested: Code compiles with resolver=asio again.

Change-Id: I3d9ddc38b88a392cf82fc81bd5609f3360837393
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Allow setting Mozilla modern</title>
<updated>2026-07-02T18:30:22+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2026-05-26T20:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=917fbad478cf5db4a79944d59a4927207adf49d1'/>
<id>urn:sha1:917fbad478cf5db4a79944d59a4927207adf49d1</id>
<content type='text'>
Mozilla publishes recommendations for TLS cipher suites to support.  For
many years bmcweb selected "intermediate" because of compatibility with
clients that didn't yet support TLS1.3.

This commit adds the ability to use the Mozilla modern recommendations,
and disable TLS1.2 support through a new meson option, tls-profile.

Tested:

Loaded on qemu, and verified with testssl.sh[1] that parameters were
applied.

[1] https://github.com/testssl/testssl.sh

Change-Id: I38e915b3943b5dbe5fb31e54eb3ebda9bbaeb811
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Flag long lambdas</title>
<updated>2026-07-01T17:10:08+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2026-06-22T16:53:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=8176ae6778015743b77e8744c046bc50edf13cc4'/>
<id>urn:sha1:8176ae6778015743b77e8744c046bc50edf13cc4</id>
<content type='text'>
Long lambdas have been documented as an anti-pattern for some time.[1]
Despite this being generally understood, bmcweb has a long ways to go
cleaning these up, and routinely code is submitted in violation of this
anti-pattern.

Invent an ast-grep rule that can identify when new examples of this
anti-pattern are added, and ignore the existing 200+ examples that are
in the codebase already using ast-grep ignore.  These flags will give us
something to search for as we clean this up, and will help to prevent
new instances from being added unintentionally.

[1] https://github.com/openbmc/docs/blob/master/anti-patterns.md#very-long-lambda-callbacks

Tested: Comment only change.  ast-grep passes.  Manually removing an
ast-grep ignore flag shows as a failure in ast-grep scan

Change-Id: I77d634a393884969f184d2c39c02cc08288d5a29
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>sdbusplus: use shorter type aliases</title>
<updated>2026-06-19T11:42:03+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-06-19T11:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=a887d6d977f0c058f999dc2a7f479420623e12e4'/>
<id>urn:sha1:a887d6d977f0c058f999dc2a7f479420623e12e4</id>
<content type='text'>
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines.  Possible replacements are for:
  * exception_t
  * manager_t
  * match
  * match_rules
  * message_t
  * object_t
  * slot_t

Change-Id: Iaf2a83fb67d57a6fafb664d27b349add17a96bcd
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
</content>
</entry>
<entry>
<title>Generate 64 bit serial numbers</title>
<updated>2026-06-12T16:01:54+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed@tanous.net</email>
</author>
<published>2026-05-26T21:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=e5cd5009b23255637dd7f11701a65d8c8fa09b88'/>
<id>urn:sha1:e5cd5009b23255637dd7f11701a65d8c8fa09b88</id>
<content type='text'>
Even though the certificate is self signed, we should pass as many
certificate tests as possible.  testssl.sh prints
```
 Serial 4B32D4F0   NOT ok: length should be &gt;= 64 bits entropy (is: 4 bytes)
```

On our default certificate.  This is relatively easy to fix.

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