<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/lib, branch v1.3.2</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=v1.3.2</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=v1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2016-11-24T00:42:25+00:00</updated>
<entry>
<title>Support HTTP(S) proxies when downloading resources</title>
<updated>2016-11-24T00:42:25+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-10-27T03:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a055f6714fd06aa3b633b1bc44a8dbf42a0eedb0'/>
<id>urn:sha1:a055f6714fd06aa3b633b1bc44a8dbf42a0eedb0</id>
<content type='text'>
Allow the user to specify a HTTP and HTTPS proxy server. The discover
server will set the http_proxy and https_proxy environment variables,
enabling the proxy servers for any further HTTP(S) requests.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/file: Fix errors found by Coverity scan</title>
<updated>2016-10-11T03:39:38+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-09-07T05:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=de2f990a98718d15bff074b9ae65f2eb92a2f938'/>
<id>urn:sha1:de2f990a98718d15bff074b9ae65f2eb92a2f938</id>
<content type='text'>
Fix several errors in copy_file_secure_dest() found by Coverity and some
minor formatting issues:

143603: Correctly handle mkstemp() return value
143605: Avoid accessing dest_filename[-1] on readlink() error
143606, 143610: Avoid accessing dest_filename[sizeof(dest_filename)]
143607: Fix incorrectly passing sizeof(pointer) to fread()
143608, 143611: Cleanup resources on early exit
143609: Explicitly set umask before calling mkstemp()

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Consolidate petitboot,tty and petitboot,console</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-08-09T06:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d9e70bb63227a683f808a21be20b3d5e1a474f95'/>
<id>urn:sha1:d9e70bb63227a683f808a21be20b3d5e1a474f95</id>
<content type='text'>
Commit ce54f86 "Add petitboot,tty and track available consoles" added
the petitboot,tty parameter, but the petitboot,console parameter is also
recognised by Petitboot. These are ultimately handled by the 30-add-offb
and 80-set-stdout hooks respectively, but exist for mostly the same
purpose.

We consolidate these down to just the original petitboot,console
parameter. If the contents of petitboot,console have been configured by
Petitboot (ie. it is of the form /dev/dev# [ Description ]) we behave as
normal, otherwise we assume that petitboot,console contains a full
OF path to the intended console device and do not allow it to be
modified. This follows petitboot,console's original intent to be a debug
aid, and takes precedence over any other use.
The 80-set-stdout hook is removed as 30-add-offb now accounts for both
use cases.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Use 'consoles' instead of 'tty' to refer to interfaces</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-08-09T06:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9f42e56fc5968fcb34edfad017adb73960c2bb61'/>
<id>urn:sha1:9f42e56fc5968fcb34edfad017adb73960c2bb61</id>
<content type='text'>
'Console' is more readily understandable and technically more correct
than 'tty' for referring to the interfaces that Petitboot starts a UI on.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>discover: Avoid writing network overrides to NVRAM</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-09-06T03:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=662129afba2d344d692a9dbfd430c91eff4f281d'/>
<id>urn:sha1:662129afba2d344d692a9dbfd430c91eff4f281d</id>
<content type='text'>
Explicitly keep track of whether the current interface config was set by
an IPMI network override, and avoid overwriting any saved config unless
the override was marked persistent.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Add encrypted file support</title>
<updated>2016-08-26T03:23:01+00:00</updated>
<author>
<name>tpearson@raptorengineering.com</name>
<email>tpearson@raptorengineering.com</email>
</author>
<published>2016-08-18T09:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=ccb478ac2e5b1e24ebb6af4130fdd37e1b36babb'/>
<id>urn:sha1:ccb478ac2e5b1e24ebb6af4130fdd37e1b36babb</id>
<content type='text'>
In certain cases, such as network booting over an untrusted connection,
it may be useful to fully encrypt and sign the kernel files.

Enable fully encrypted boot using builtin keyring via the addition of
the string "ENCRYPTED" to the first line of the /etc/pb-lockdown file.
This disables detached (plaintext) signature verification.

Signed-off-by: Timothy Pearson &lt;tpearson@raptorengineering.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Add support for GPG signature enforcement on booted</title>
<updated>2016-08-26T03:23:01+00:00</updated>
<author>
<name>tpearson@raptorengineering.com</name>
<email>tpearson@raptorengineering.com</email>
</author>
<published>2016-08-18T09:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=86c9d34380b0074dab1ba89a569a94280d6999c4'/>
<id>urn:sha1:86c9d34380b0074dab1ba89a569a94280d6999c4</id>
<content type='text'>
kernels and related blobs

This can be used to implement a form of organization-controlled secure boot,
whereby kernels may be loaded from a variety of sources but they will only
boot if a valid signature file is found for each component, and only if the
signature is listed in the /etc/pb-lockdown file.

Signed-off-by: Timothy Pearson &lt;tpearson@raptorengineering.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(Minor build fixes and gpgme.m4, comment on secure boot in gpg.c)
</content>
</entry>
<entry>
<title>lib: Add support for tracking boot consoles</title>
<updated>2016-06-28T06:17:36+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-06-07T06:23:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d19b94a83870f7b2a41e55d7462bcf36d2b5ba0b'/>
<id>urn:sha1:d19b94a83870f7b2a41e55d7462bcf36d2b5ba0b</id>
<content type='text'>
Add tty_list and boot_tty to the config struct to keep track of
available console interfaces and the default console to set as primary
respectively.
Also add a tty field to the boot_command struct so that the current
console can be sent to the discover server during a manual boot command.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>discover/pxe-parser: Retrieve configs asynchronously</title>
<updated>2016-06-28T06:17:21+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-05-16T06:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=2163af58b5e631a2a8d2acd79b541ed884ab7b57'/>
<id>urn:sha1:2163af58b5e631a2a8d2acd79b541ed884ab7b57</id>
<content type='text'>
Depending on the configuration of the DHCP server and the network, tftp
requests made by the pxe parser can timeout. The pxe parser makes these
requests synchronously so several timeouts can block the server
completely for several minutes, leaving the server unresponsive to UI
requests.

Rework the pxe parser such that it handles the result of each tftp
request in a callback, which can complete after iterate_parsers() has
returned. Each callback is allocated its own conf_context which takes a
talloc reference on the discover_context so that each callback can
commit new boot options after the initial iterate loop has completed.
This also means talloc_unlink must be used instead by the original
parent of the discover_context.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/pb-config: Properly initialise interface_config</title>
<updated>2016-06-27T04:54:41+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-06-27T04:42:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=dc96fc7df262a0b72ece710dcfc9ffab1c952dec'/>
<id>urn:sha1:dc96fc7df262a0b72ece710dcfc9ffab1c952dec</id>
<content type='text'>
The addition of the "url" field is not reflected in
config_copy_interface() which leaves the pointer uninitialised, causing
a potential segfault later on.

Copy the field from the source config, and use talloc_zero() for the
interface_config struct to prevent this more generally.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
</feed>
