<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/nuageinit/tests, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2026-06-09T16:04:25Z</updated>
<entry>
<title>nuageinit: fix shell injection in power_state_change delay and add test</title>
<updated>2026-06-09T16:04:25Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-09T14:19:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09d068e52722dee0ed65eb88c5ea5bff4bb2ba06'/>
<id>urn:sha1:09d068e52722dee0ed65eb88c5ea5bff4bb2ba06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuageinit: fix shell command injection in multiple rc.conf.d writes</title>
<updated>2026-06-09T16:04:24Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-09T14:16:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0211c8722ff2ac9367565e526e62837745bb2cce'/>
<id>urn:sha1:0211c8722ff2ac9367565e526e62837745bb2cce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuageinit: use single-quote shell escaping for hostname in rc.conf.d</title>
<updated>2026-06-09T16:04:24Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-09T14:04:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da3890fdccfa7d540ea746182248299b81f95345'/>
<id>urn:sha1:da3890fdccfa7d540ea746182248299b81f95345</id>
<content type='text'>
The hostname value was written inside double quotes in
/etc/rc.conf.d/hostname. POSIX shell performs command substitution
inside double quotes, so a hostname containing $() or backticks would
be executed when the file is sourced (e.g., by rc(8)).

Switch to using the existing shell_escape() helper, which wraps values
in single quotes. In POSIX shell, single-quoted strings are completely
literal — no expansion or substitution of any kind is performed.

While the hostname is already validated to contain only
[a-zA-Z0-9.-], this change provides defense-in-depth so the output
format is safe regardless of future validation changes.

Reported by:	Yazdan Soltani &lt;yazdan.soltani@gmail.com&gt;
</content>
</entry>
<entry>
<title>nuageinit: install certs in /usr/share/certs/trusted</title>
<updated>2026-06-06T19:31:21Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-06T19:30:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e5ef12ccd01f8ec6c519bf2a56cac2808f78c51a'/>
<id>urn:sha1:e5ef12ccd01f8ec6c519bf2a56cac2808f78c51a</id>
<content type='text'>
Suggested by:	kevans
</content>
</entry>
<entry>
<title>nuageinit: implement phone_home support</title>
<updated>2026-06-05T21:28:25Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-05T21:28:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=58653bf4d0fb8ccd5de146d671ec101a1df0ede0'/>
<id>urn:sha1:58653bf4d0fb8ccd5de146d671ec101a1df0ede0</id>
<content type='text'>
Posts instance data (hostname, instance_id, public keys) to a URL
using fetch(1). Supports:
- url: target URL
- post: list of data items to send, or 'all'
- tries: number of retry attempts (default 1)
</content>
</entry>
<entry>
<title>nuageinit: implement final_message support</title>
<updated>2026-06-05T21:03:45Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-05T21:03:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e01f202ecf9344bd6658869a869f36c5b3790384'/>
<id>urn:sha1:e01f202ecf9344bd6658869a869f36c5b3790384</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuage.lua: add encode_base64 helper</title>
<updated>2026-06-06T06:01:48Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-05-07T21:53:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71e8122b3f6efdaac23ac219312dfe270731b495'/>
<id>urn:sha1:71e8122b3f6efdaac23ac219312dfe270731b495</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuageinit: implement power_state_change and locale support</title>
<updated>2026-06-05T20:48:18Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-05T20:48:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=328a76d17f85ff6aa6228035c4c4b989eb7534f8'/>
<id>urn:sha1:328a76d17f85ff6aa6228035c4c4b989eb7534f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuageinit: implement MIME multipart user-data support</title>
<updated>2026-06-05T20:45:54Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-05T20:45:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=be711ade6f66506fb2cae9fd33b142ce910f0346'/>
<id>urn:sha1:be711ade6f66506fb2cae9fd33b142ce910f0346</id>
<content type='text'>
Add support for MIME multipart/mixed user-data, allowing a single
user-data blob to contain multiple parts with different content types.
</content>
</entry>
<entry>
<title>nuageinit: implement ca_certs support</title>
<updated>2026-06-05T20:27:07Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-06-05T20:27:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b56f029add4825b21b2957f19ccfbb219a3f96cb'/>
<id>urn:sha1:b56f029add4825b21b2957f19ccfbb219a3f96cb</id>
<content type='text'>
Add support for the 'ca_certs' cloud-config key which manages
CA certificates by writing them to /etc/ssl/certs/ and running
certctl rehash.
</content>
</entry>
</feed>
