<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<div></div>
<p dir="auto">consider the following sequence of commands, using <code>certtool</code> from GnuTLS 3.6.6:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">certtool --generate-privkey > x.pem</span>
<span id="LC2" class="line" lang="plaintext">echo | certtool --load-privkey x.pem --generate-self-signed</span></code></pre>
<p dir="auto">this produces the following text on stderr:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">Generating a self signed certificate...</span>
<span id="LC2" class="line" lang="plaintext">Please enter the details of the certificate's distinguished name. Just press enter to ignore a field.</span>
<span id="LC3" class="line" lang="plaintext">Common name: UID: Organizational unit name: Organization name: Locality name: State or province name: Country name (2 chars): Enter the subject's domain component (DC): This field should not be used in new certificates.</span>
<span id="LC4" class="line" lang="plaintext">E-mail: Enter the certificate's serial number in decimal (123) or hex (0xabcd)</span>
<span id="LC5" class="line" lang="plaintext">(default is 0x23e8987047eeafd765c8b71070fa06c99acb6a5f)</span>
<span id="LC6" class="line" lang="plaintext">value: </span>
<span id="LC7" class="line" lang="plaintext"></span>
<span id="LC8" class="line" lang="plaintext">Activation/Expiration time.</span>
<span id="LC9" class="line" lang="plaintext">The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): The certificate will expire in (days): </span></code></pre>
<p dir="auto">the last line continues forever.</p>
<p dir="auto">I recognize that feeding the interactive mode with an EOF is user input error, but <code>certtool</code> should still not produce infinite spew as a result.</p>

</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/729">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/5a6fc6b08ba8a8bd9b03faddb9df8bfe/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/729"}}</script>

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