<!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/nmav">Nikos Mavrogiannopoulos</a>
commented:
</p>
<div style="">
<p dir="auto">The status of the code in <code>tmp-tpm2</code> branch is that it incorporates the tpm2 code and will load (non-legacy) files with the TSS header from <code>gnutls_privkey_import_x509_raw</code> (and other high level functions which use it).</p>
<p dir="auto">There is an incomplete test of this functionality which uses tpm2-tools, but I'm stuck with being able to convert from the form <code>tpm2-tools</code> outputs, to the PEM form and the TSS header.</p>
<p dir="auto">There are few options at this point:</p>
<ul dir="auto">
<li>One option is to extend tpm2-tools to output the PEM form. I've opened <a href="https://github.com/tpm2-software/tpm2-tools/issues/1599" rel="nofollow noreferrer noopener" target="_blank">https://github.com/tpm2-software/tpm2-tools/issues/1599</a>
</li>
<li>Give up transparent loading and have a tpm2 specific routine (looks like a usability nightmare)</li>
<li>Give up on direct usage of tpm2 keys and rely on <a href="https://github.com/tpm2-software/tpm2-pkcs11" rel="nofollow noreferrer noopener" target="_blank">https://github.com/tpm2-software/tpm2-pkcs11</a>
</li>
</ul>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/594#note_192707142">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/8d450cc2907e6e46918ef9dfdb4140e9/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/594#note_192707142"}}</script>


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