<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/cms.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-12-20T07:02:37+00:00</updated>
<entry>
<title>openssl: Remove -{,un}compress from cms "app"</title>
<updated>2025-12-20T07:02:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-12-20T07:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c21eea145d12f7ab9b0fa83debe4931b485d1279'/>
<id>urn:sha1:c21eea145d12f7ab9b0fa83debe4931b485d1279</id>
<content type='text'>
We haven't supported compiling against zlib in a very long time. These
are the only two calls to CMS_{,un}compress(3) in the ecosystem. I am
going to remove these two API stubs in the next major bump.

ok jsing kenjiro
</content>
</entry>
<entry>
<title>openssl cms: switch to ASN1_STRING_get0_data()</title>
<updated>2025-11-27T08:27:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-11-27T08:27:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0443a8283b1ea5aa04375cf3487285eb68d97f7'/>
<id>urn:sha1:a0443a8283b1ea5aa04375cf3487285eb68d97f7</id>
<content type='text'>
The deprecated ASN1_STRING_data() will be removed in a future release.
This is one small step towards that.

ok kenjiro
</content>
</entry>
<entry>
<title>openssl cms: switch default encryption from triple DES to AES-256</title>
<updated>2025-06-07T08:24:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-06-07T08:24:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7b72154048126b0b3275f1155241bc13837e03c5'/>
<id>urn:sha1:7b72154048126b0b3275f1155241bc13837e03c5</id>
<content type='text'>
The old default is still available with "des3"

https://github.com/pyca/cryptography/issues/12949
https://github.com/libressl/portable/issues/1168

ok kenjiro
</content>
</entry>
<entry>
<title>cms: disallow AEAD ciphers and AES XTS</title>
<updated>2025-05-10T05:25:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a656363fbb9550a01cbf15c8cc74ef1a1064f9f6'/>
<id>urn:sha1:a656363fbb9550a01cbf15c8cc74ef1a1064f9f6</id>
<content type='text'>
The CMS code doesn't support RFC 5083/5084 authenticated enveloped data
and outputs garbage that even itself can't decrypt for a reason that I
have not tried to pinpoint. So refuse using AEAD ciphers and AES XTS for
enveloped data from the cms "app" and throw an error pointing out that
this isn't supported.

OpenSSL have since added incorrect support for AuthEnvelopedData (ASN.1
and code review are hard), so doing this right will need both correct and
interoperable code, which I doubt anyone will bother to write anytime soon.

Reported by Ben Cooper in https://github.com/libressl/portable/issues/1157

ok beck jsing
</content>
</entry>
<entry>
<title>Add -CRLfile option to 'cms' sub command</title>
<updated>2024-08-12T15:34:58+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2024-08-12T15:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74ed67efcbb6bda895054baea22372140e2d3e99'/>
<id>urn:sha1:74ed67efcbb6bda895054baea22372140e2d3e99</id>
<content type='text'>
This option allows to verify certs in a CMS object against additional
CRLs.

Ported from work by Tom Harrison from APNIC

OK tb@
</content>
</entry>
<entry>
<title>Make a few purpose things const</title>
<updated>2023-11-21T17:56:19+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-21T17:56:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cf8443276e8273969971b03dcddc0d59bc6eb1c9'/>
<id>urn:sha1:cf8443276e8273969971b03dcddc0d59bc6eb1c9</id>
<content type='text'>
This should allow us to constify a sizable table in libcrypto in an
upcoming bump.
</content>
</entry>
<entry>
<title>Drop policy printing from openssl</title>
<updated>2023-04-14T15:27:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-14T15:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c10c85651e3dc8e653705dc1c2dd2683fe0f6c66'/>
<id>urn:sha1:c10c85651e3dc8e653705dc1c2dd2683fe0f6c66</id>
<content type='text'>
Nothing really uses the policy tree. It's desgined with built-in DoS
capabilities directly from the RFC. It will be removed from the attack
surface and replaced with something equivalent that doesn't grow
exponentially with the depth.

This removes the only reason the policy tree itself ever leaked out of
the library.

ok jsing
</content>
</entry>
<entry>
<title>Rename struct ${app}_config to plain cfg</title>
<updated>2023-03-06T14:32:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-06T14:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ba7dcfcbc2ef5aaeb8eb14f36f83bd57c22bcae'/>
<id>urn:sha1:2ba7dcfcbc2ef5aaeb8eb14f36f83bd57c22bcae</id>
<content type='text'>
All the structs are static and we need to reach into them many times.
Having a shorter name is more concise and results in less visual clutter.
It also avoids many overlong lines and we will be able to get rid of some
unfortunate line wrapping down the road.

Discussed with jsing
</content>
</entry>
<entry>
<title>openssl/cms: zap some trailing whitespace</title>
<updated>2023-03-05T13:08:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-05T13:08:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e7dac33e741d0213d9a2de12665bb52a037a8ff'/>
<id>urn:sha1:4e7dac33e741d0213d9a2de12665bb52a037a8ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the legacy interactive mode from openssl(1).</title>
<updated>2022-11-11T17:07:39+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2022-11-11T17:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=273d9e16fc9e481283c2b2302b348e4863e29f28'/>
<id>urn:sha1:273d9e16fc9e481283c2b2302b348e4863e29f28</id>
<content type='text'>
This removes the legacy interactive mode from openssl(1) since it is
rarely used, complicates the code, and has also been removed from
OpenSSL in version 3.x.x.

ok tb@ jsing@
</content>
</entry>
</feed>
