<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1338">#1338</a>
</p>
<div class="md">
<p dir="auto">When FIPS integrity check is enabled, the it currently opens 4 .hmac files: for libgnutls.so.* itself, libnettle.so.<em>, libhogweed.so.</em>, and libgmp.so.*. Given those files are part of individual packages (gnutls, nettle, and gmp), it is a bit harder to coordinate the package update. Therefore I propose consolidating those files into a single file, say .integrity with the following format:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-ini" lang="ini" v-pre="true" style="border-radius: 2px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid #dbdbdb;"><code><span id="LC1" class="line" lang="ini"><span class="nn">[global]</span></span>
<span id="LC2" class="line" lang="ini"><span class="py">format-version</span> <span class="p">=</span> <span class="s">...</span></span>
<span id="LC3" class="line" lang="ini"></span>
<span id="LC4" class="line" lang="ini"><span class="nn">[integrity]</span></span>
<span id="LC5" class="line" lang="ini"><span class="py">libgnutls</span> <span class="p">=</span> <span class="s"><hmac value></span></span>
<span id="LC6" class="line" lang="ini"><span class="py">libnettle</span> <span class="p">=</span> <span class="s"><hmac value></span></span>
<span id="LC7" class="line" lang="ini"><span class="py">libhogweed</span> <span class="p">=</span> <span class="s"><hmac value></span></span>
<span id="LC8" class="line" lang="ini"><span class="py">libgmp</span> <span class="p">=</span> <span class="s"><hmac value></span></span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">We may also consider embedding those information in libgnutls.so.* itself, using a similar technique proposed in <a href="https://gitlab.com/dueno/integrity-notes">integrity-notes</a>.</p>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1338">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/7e90edc74764dcf1d1ba624cb559ca70/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1338"}}</script>


</p>
</div>
</body>
</html>