<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/crypto/trace-events, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/crypto/trace-events?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/crypto/trace-events?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-06-02T04:51:09+00:00</updated>
<entry>
<title>docs: fix references to docs/devel/tracing.rst</title>
<updated>2021-06-02T04:51:09+00:00</updated>
<author>
<name>Stefano Garzarella</name>
</author>
<published>2021-05-17T15:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0'/>
<id>urn:sha1:d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0</id>
<content type='text'>
Commit e50caf4a5c ("tracing: convert documentation to rST")
converted docs/devel/tracing.txt to docs/devel/tracing.rst.

We still have several references to the old file, so let's fix them
with the following command:

  sed -i s/tracing.txt/tracing.rst/ $(git grep -l docs/devel/tracing.txt)

Signed-off-by: Stefano Garzarella &lt;sgarzare@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210517151702.109066-2-sgarzare@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>crypto: Add tls-cipher-suites object</title>
<updated>2020-07-03T16:16:01+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2018-10-11T18:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=993aec27aa39aa90f89f227d8f82cc1f8062386e'/>
<id>urn:sha1:993aec27aa39aa90f89f227d8f82cc1f8062386e</id>
<content type='text'>
On the host OS, various aspects of TLS operation are configurable.
In particular it is possible for the sysadmin to control the TLS
cipher/protocol algorithms that applications are permitted to use.

* Any given crypto library has a built-in default priority list
  defined by the distro maintainer of the library package (or by
  upstream).

* The "crypto-policies" RPM (or equivalent host OS package)
  provides a config file such as "/etc/crypto-policies/config",
  where the sysadmin can set a high level (library-independent)
  policy.

  The "update-crypto-policies --set" command (or equivalent) is
  used to translate the global policy to individual library
  representations, producing files such as
  "/etc/crypto-policies/back-ends/*.config". The generated files,
  if present, are loaded by the various crypto libraries to
  override their own built-in defaults.

  For example, the GNUTLS library may read
  "/etc/crypto-policies/back-ends/gnutls.config".

* A management application (or the QEMU user) may overide the
  system-wide crypto-policies config via their own config, if
  they need to diverge from the former.

Thus the priority order is "QEMU user config" &gt; "crypto-policies
system config" &gt; "library built-in config".

Introduce the "tls-cipher-suites" object for exposing the ordered
list of permitted TLS cipher suites from the host side to the
guest firmware, via fw_cfg. The list is represented as an array
of bytes.

The priority at which the host-side policy is retrieved is given
by the "priority" property of the new object type. For example,
"priority=@SYSTEM" may be used to refer to
"/etc/crypto-policies/back-ends/gnutls.config" (given that QEMU
uses GNUTLS).

The firmware uses the IANA_TLS_CIPHER array for configuring
guest-side TLS, for example in UEFI HTTPS Boot.

[Description from Daniel P. Berrangé, edited by Laszlo Ersek.]

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;20200623172726.21040-2-philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace-events: Shorten file names in comments</title>
<updated>2019-03-22T16:18:07+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-03-14T18:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=500016e5db5826fbcc5db17f9992b22d936acb83'/>
<id>urn:sha1:500016e5db5826fbcc5db17f9992b22d936acb83</id>
<content type='text'>
We spell out sub/dir/ in sub/dir/trace-events' comments pointing to
source files.  That's because when trace-events got split up, the
comments were moved verbatim.

Delete the sub/dir/ part from these comments.  Gets rid of several
misspellings.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-id: 20190314180929.27722-3-armbru@redhat.com
Message-Id: &lt;20190314180929.27722-3-armbru@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>authz: delete existing ACL implementation</title>
<updated>2019-02-26T15:32:19+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
</author>
<published>2016-02-18T18:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b76806d4ec5c55d36bf5508f1405d132a4b862de'/>
<id>urn:sha1:b76806d4ec5c55d36bf5508f1405d132a4b862de</id>
<content type='text'>
The 'qemu_acl' type was a previous non-QOM based attempt to provide an
authorization facility in QEMU. Because it is non-QOM based it cannot be
created via the command line and requires special monitor commands to
manipulate it.

The new QAuthZ subclasses provide a superset of the functionality in
qemu_acl, so the latter can now be deleted. The HMP 'acl_*' monitor
commands are converted to use the new QAuthZSimple data type instead
in order to provide temporary backwards compatibility.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>crypto: Implement TLS Pre-Shared Keys (PSK).</title>
<updated>2018-07-03T12:04:38+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
</author>
<published>2018-07-03T08:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e1a6dc91ddb55ef77a705b62b6e62634631fd57d'/>
<id>urn:sha1:e1a6dc91ddb55ef77a705b62b6e62634631fd57d</id>
<content type='text'>
Pre-Shared Keys (PSK) is a simpler mechanism for enabling TLS
connections than using certificates.  It requires only a simple secret
key:

  $ mkdir -m 0700 /tmp/keys
  $ psktool -u rjones -p /tmp/keys/keys.psk
  $ cat /tmp/keys/keys.psk
  rjones:d543770c15ad93d76443fb56f501a31969235f47e999720ae8d2336f6a13fcbc

The key can be secretly shared between clients and servers.  Clients
must specify the directory containing the "keys.psk" file and a
username (defaults to "qemu").  Servers must specify only the
directory.

Example NBD client:

  $ qemu-img info \
    --object tls-creds-psk,id=tls0,dir=/tmp/keys,username=rjones,endpoint=client \
    --image-opts \
    file.driver=nbd,file.host=localhost,file.port=10809,file.tls-creds=tls0,file.export=/

Example NBD server using qemu-nbd:

  $ qemu-nbd -t -x / \
    --object tls-creds-psk,id=tls0,endpoint=server,dir=/tmp/keys \
    --tls-creds tls0 \
    image.qcow2

Example NBD server using nbdkit:

  $ nbdkit -n -e / -fv \
    --tls=on --tls-psk=/tmp/keys/keys.psk \
    file file=disk.img

Signed-off-by: Richard W.M. Jones &lt;rjones@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs: fix broken paths to docs/devel/tracing.txt</title>
<updated>2017-07-31T10:12:53+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2017-07-28T22:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=87e0331c5a2ac1d8d654e565ecbe72705118606b'/>
<id>urn:sha1:87e0331c5a2ac1d8d654e565ecbe72705118606b</id>
<content type='text'>
With the move of some docs/ to docs/devel/ on ac06724a71,
no references were updated.

Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>crypto: add trace points for TLS cert verification</title>
<updated>2016-09-19T15:30:46+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
</author>
<published>2016-09-14T09:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b57482d7a0fe669aeb6f0c3c3503d143b9db89dd'/>
<id>urn:sha1:b57482d7a0fe669aeb6f0c3c3503d143b9db89dd</id>
<content type='text'>
It is very useful to know about TLS cert verification
status when debugging, so add a trace point for it.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace-events: fix first line comment in trace-events</title>
<updated>2016-08-12T09:36:01+00:00</updated>
<author>
<name>Laurent Vivier</name>
</author>
<published>2016-08-08T15:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e723b8710356163e0f1722b94f988a8ddf83f17a'/>
<id>urn:sha1:e723b8710356163e0f1722b94f988a8ddf83f17a</id>
<content type='text'>
Documentation is docs/tracing.txt instead of docs/trace-events.txt.

find . -name trace-events -exec \
     sed -i "s?See docs/trace-events.txt for syntax documentation.?See docs/tracing.txt for syntax documentation.?" \
     {} \;

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Message-id: 1470669081-17860-1-git-send-email-lvivier@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace: split out trace events for crypto/ directory</title>
<updated>2016-06-20T16:22:14+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
</author>
<published>2016-06-16T08:39:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8451f2f28d02cf2d51ab62f880af4c61f76f4c0e'/>
<id>urn:sha1:8451f2f28d02cf2d51ab62f880af4c61f76f4c0e</id>
<content type='text'>
Move all trace-events for files in the crypto/ directory to
their own file.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
Message-id: 1466066426-16657-4-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
</feed>
