<!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/dkg">Daniel Kahn Gillmor</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1262">#1262</a>
</p>
<div></div>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/ba1edd13ff5b401604b7a82a6dd001a9/bob.p12.bag3.key" data-canonical-src="/uploads/ba1edd13ff5b401604b7a82a6dd001a9/bob.p12.bag3.key" data-link="true" class="gfm">bob.p12.bag3.key</a> is a PEM-encoded PKCS#8 encrypted private key object, protected with a three character ascii password <code>bob</code>.</p>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">certtool --key-info --password bob < bob.p12.bag3.key</span></code></pre>
<p dir="auto">produces another PKCS#8 encrypted private key object to stdout.</p>
<p dir="auto">but interactively:</p>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">certtool --key-info < bob.p12.bag3.key</span></code></pre>
<p dir="auto">prompts me for a password.  when i supply the password at the prompt, the output is an <em>unencrypted</em> private key, with the usual full <code>--key-info</code> details.</p>
<p dir="auto">I'd like to be able to do that conversion in automated mode, rather than needing to enter the password at the terminal.</p>

</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/1262">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/9f73c4e0982c6c0c0815025ba0f0d2dd/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/1262"}}</script>


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