<!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/1185">#1185</a>:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-the-feature" class="anchor" href="#description-of-the-feature" aria-hidden="true"></a>Description of the feature:</h2>
<p dir="auto"><code>certtool</code> currently supports creation of PKCS#7-style signatures. It would be great if it could also offer PKCS#7-style encryption and decryption. In its modern form, this is lumped under <a href="https://tools.ietf.org/html/rfc5652" rel="nofollow noreferrer noopener" target="_blank">Cryptographic Message Syntax</a>, and is used in S/MIME <a href="https://tools.ietf.org/html/rfc8551#section-3.3" rel="nofollow noreferrer noopener" target="_blank">EnvelopedData</a> or <a href="https://tools.ietf.org/html/rfc8551#section-3.4" rel="nofollow noreferrer noopener" target="_blank">AuthEnvelopedData</a> parts.</p>
<h2 dir="auto">
<a id="user-content-applications-that-this-feature-may-be-relevant-to" class="anchor" href="#applications-that-this-feature-may-be-relevant-to" aria-hidden="true"></a>Applications that this feature may be relevant to:</h2>
<p dir="auto">S/MIME e-mail and other messaging clients may use encryption to protect messages.</p>
<h2 dir="auto">
<a id="user-content-is-this-feature-implemented-in-other-libraries-and-which" class="anchor" href="#is-this-feature-implemented-in-other-libraries-and-which" aria-hidden="true"></a>Is this feature implemented in other libraries (and which)</h2>
<p dir="auto"><code>gpgsm</code> from the GnuPG project offers some flavors of CMS. OpenSSL offers some as well, in particular the library functions <code>SMIME_{read,write}_{CMS,PKCS7}</code> and <code>{CMS,PKCS7}_{en,de}crypt</code>.</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/1185">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/dfd54248dffeddb804a9cbd0d1dad316/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/1185"}}</script>
</p>
</div>
</body>
</html>