<!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/dwmw2">David Woodhouse</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1234#note_573094009">commented</a>:
</p>
<div style="">
<p dir="auto">Given that I don't have to do anything different for the actual signature at all, just lie to the TPM about the hash algorithm based on the size of the data it's given, I think this is a sane way to fix it:
<a href="https://gitlab.com/openconnect/openconnect/-/commit/830f14c37605ab58a11aa4c83046f2e6459dfaff" data-original="https://gitlab.com/openconnect/openconnect/-/commit/830f14c37605ab58a11aa4c83046f2e6459dfaff" data-link="false" data-link-reference="true" data-project="2335175" data-commit="830f14c37605ab58a11aa4c83046f2e6459dfaff" data-reference-type="commit" data-container="body" data-placement="top" title="Tell TPMv2 the hash type based on size" class="gfm gfm-commit has-tooltip">openconnect/openconnect@830f14c3</a>
<a href="https://gitlab.com/openconnect/openconnect/-/commit/4c225c0e68c7762d61bcdfc7392e2b638fc862b0" data-original="https://gitlab.com/openconnect/openconnect/-/commit/4c225c0e68c7762d61bcdfc7392e2b638fc862b0" data-link="false" data-link-reference="true" data-project="2335175" data-commit="4c225c0e68c7762d61bcdfc7392e2b638fc862b0" data-reference-type="commit" data-container="body" data-placement="top" title="Support TLSv1.3 sign functions on SECP curves with TPMv2" class="gfm gfm-commit has-tooltip">openconnect/openconnect@4c225c0e</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/1234#note_573094009">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/1a2c42344e0280dbfac080fb11d5391b/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/1234#note_573094009"}}</script>


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