<!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 style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1172#note_529897405">commented</a>:
</p>
<div style="">
<p dir="auto">This is probably a stupid idea, but I was thinking to allow multiple named <code>[overrides]</code> sections, e.g., <code>[overrides.EXAMPLE]</code>. The name (<code>EXAMPLE</code>) can be referred to in the <code>[priorities]</code> section. That way, we can overcome the limitation of priority strings and also define soft-disablement in a declarative manner in a single place.</p>
<p dir="auto">For example:</p>
<pre class="code highlight js-syntax-highlight ini" lang="ini" v-pre="true"><code><span id="LC1" class="line" lang="ini"><span class="nn">[overrides.EXAMPLE1]</span></span>
<span id="LC2" class="line" lang="ini"><span class="py">insecure-sig</span> <span class="p">=</span> <span class="s">rsa-sha1</span></span>
<span id="LC3" class="line" lang="ini"></span>
<span id="LC4" class="line" lang="ini"><span class="nn">[overrides.EXAMPLE2]</span></span>
<span id="LC5" class="line" lang="ini"><span class="py">insecure-sig</span> <span class="p">=</span> <span class="s">rsa-sha256</span></span>
<span id="LC6" class="line" lang="ini"></span>
<span id="LC7" class="line" lang="ini"><span class="nn">[priorities]</span></span>
<span id="LC8" class="line" lang="ini"><span class="py">EXAMPLE1</span> <span class="p">=</span> <span class="s">EXAMPLE1</span></span>
<span id="LC9" class="line" lang="ini"><span class="py">EXAMPLE2</span> <span class="p">=</span> <span class="s">EXAMPLE2</span></span>
<span id="LC10" class="line" lang="ini"><span class="py">SYSTEM</span> <span class="p">=</span> <span class="s">NORMAL</span></span></code></pre>
</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/1172#note_529897405">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/1d64fefe6a0b4e4e0a80504fda8faf21/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/1172#note_529897405"}}</script>


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