<!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>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1460#note_688887982">discussion</a>:
</p>
<div style="">
<blockquote dir="auto">
<p>I tried, but it was not possible; maybe I'm missing something. See the reproducer at <a href="https://gitlab.com/gnutls/gnutls/-/issues/594#note_651399228" data-original="https://gitlab.com/gnutls/gnutls/-/issues/594#note_651399228" data-link="false" data-link-reference="true" data-project="179611" data-issue="15278034" data-reference-type="issue" data-container="body" data-placement="top" title="Bring support for TPM 2.0" class="gfm gfm-issue has-tooltip">#594 (comment 651399228)</a></p>
</blockquote>
<p dir="auto">Er, I don't think that "reproducer" is showing what you think it is. That's just demonstrating what I'm <em>complaining</em> about here. In that link we see you creating a key with a parent generated one way, and then failing to load it when you generated the parent differently. Yes, that is well known; you can only load the key using the <em>same</em> parent. If you try to use <em>different</em> parent, that doesn't work.</p>
<p dir="auto">Even if you keep the key type the same and just vary the flags, like the FixedTPM and FixedParent flags, that still results in a different and incompatible key.</p>
<p dir="auto">That incompatibility is precisely <em>why</em> you have to stick to the exact parameters (including key type) that is defined as part of the key storage format!</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/-/merge_requests/1460#note_688887982">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/fd620dece3ca13bc31d5155d1414672c/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 Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1460#note_688887982"}}</script>


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