<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/doc, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-07-27T07:56:55Z</updated>
<entry>
<title>DOCS: Fix KEM init function documentation</title>
<updated>2026-07-27T07:56:55Z</updated>
<author>
<name>olszomal</name>
<email>Malgorzata.Olszowka@stunnel.org</email>
</author>
<published>2026-07-22T10:34:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0b65b147e241c22df65ba2a240209da327ce69c0'/>
<id>urn:sha1:0b65b147e241c22df65ba2a240209da327ce69c0</id>
<content type='text'>
Document the missing params argument for OSSL_FUNC_kem_decapsulate_init(),
remove stale name references, and fix the malformed provider-keymgmt(7) link.

Complements: 78c44b05945b Add HPKE DHKEM provider support for EC, X25519 and X448.
Signed-off-by: olszomal &lt;Malgorzata.Olszowka@stunnel.org&gt;

Reviewed-by: Jakub Zelenka &lt;jakub.zelenka@openssl.foundation&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
MergeDate: Mon Jul 27 07:57:01 2026
(Merged from https://github.com/openssl/openssl/pull/32045)
</content>
</entry>
<entry>
<title>doc: clarify raw RSA migration</title>
<updated>2026-07-27T07:53:56Z</updated>
<author>
<name>Mounir IDRASSI</name>
<email>mounir.idrassi@idrix.fr</email>
</author>
<published>2026-07-18T12:14:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=78669ae813f552ffb13608b92866f6f18dae671c'/>
<id>urn:sha1:78669ae813f552ffb13608b92866f6f18dae671c</id>
<content type='text'>
RSA_private_encrypt() and RSA_public_decrypt() support both PKCS#1 v1.5
and no padding, but the migration guide currently describes their EVP
replacements as using no padding only.

Document direct mappings to EVP_PKEY_sign() and
EVP_PKEY_verify_recover(), and explain that compatibility requires no
signature digest and the same legacy padding mode, RSA_PKCS1_PADDING or
RSA_NO_PADDING.

Reviewed-by: Jakub Zelenka &lt;jakub.zelenka@openssl.foundation&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
MergeDate: Mon Jul 27 07:54:00 2026
(Merged from https://github.com/openssl/openssl/pull/31996)
</content>
</entry>
<entry>
<title>Update SSL_CTX_set1_curves.pod for OpenSSL 3.5 additions</title>
<updated>2026-07-24T13:13:02Z</updated>
<author>
<name>Brady Foster</name>
<email>209960252+bef15703@users.noreply.github.com</email>
</author>
<published>2026-07-20T02:44:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=971b8d060e52499d6ffd2f9ca697fe23f72a629a'/>
<id>urn:sha1:971b8d060e52499d6ffd2f9ca697fe23f72a629a</id>
<content type='text'>
Added documentation of the addition of group tuples in openSSL 3.5
in HISTORY section of SSL_CTX_set1_curves.pod.

CLA: trivial

Reviewed-by: Viktor Dukhovni &lt;viktor@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
MergeDate: Fri Jul 24 13:13:26 2026
(Merged from https://github.com/openssl/openssl/pull/32007)
</content>
</entry>
<entry>
<title>doc: document that `HMAC_Update` cannot be called after `HMAC_Final`</title>
<updated>2026-07-23T08:33:15Z</updated>
<author>
<name>Nicky Mouha</name>
<email>nmouha@users.noreply.github.com</email>
</author>
<published>2026-06-17T20:18:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0723430177b6dc5a5c7adc72af843a29ef05080b'/>
<id>urn:sha1:0723430177b6dc5a5c7adc72af843a29ef05080b</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Frederik Wedel-Heinen &lt;fwh.openssl@gmail.com&gt;
MergeDate: Thu Jul 23 08:33:21 2026
(Merged from https://github.com/openssl/openssl/pull/31570)
</content>
</entry>
<entry>
<title>docs: clarify EVP_PKEY context workflow and operation descriptions</title>
<updated>2026-07-23T08:28:42Z</updated>
<author>
<name>Mounir IDRASSI</name>
<email>mounir.idrassi@idrix.fr</email>
</author>
<published>2026-07-18T02:11:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f7112c925c0f3f6239bcab218cb32fa3e52bf621'/>
<id>urn:sha1:f7112c925c0f3f6239bcab218cb32fa3e52bf621</id>
<content type='text'>
Document that a generated key is returned separately from its generation
context and that a new key-bound context is needed for subsequent
operations. Correct the encrypt and decrypt initialization descriptions
and examples accordingly.

Correct two copy-and-paste errors in the verify-recover documentation:
describe its initializer as starting a verify-recover operation and refer
to EVP_PKEY_verify_recover() when discussing its input.

Fixes #31989

Assisted-by: Grok:Grok-4.5

Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
MergeDate: Thu Jul 23 08:29:24 2026
(Merged from https://github.com/openssl/openssl/pull/31995)
</content>
</entry>
<entry>
<title>Make sure we always check return of CRYPTO_UP_REF which can fail.</title>
<updated>2026-07-20T11:13:57Z</updated>
<author>
<name>Frederik Wedel-Heinen</name>
<email>frederik.wedel-heinen@dencrypt.dk</email>
</author>
<published>2026-06-27T05:11:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=437e09afb1f3dd8d8f888ecca9aaf7cb53ae7c60'/>
<id>urn:sha1:437e09afb1f3dd8d8f888ecca9aaf7cb53ae7c60</id>
<content type='text'>
Reviewed-by: Kurt Roeckx &lt;kurt@roeckx.be&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
MergeDate: Mon Jul 20 11:13:58 2026
(Merged from https://github.com/openssl/openssl/pull/31753)
</content>
</entry>
<entry>
<title>doc: clarify pkeyutl -rawin and -digest for no-prehash signatures</title>
<updated>2026-07-20T09:13:03Z</updated>
<author>
<name>olszomal</name>
<email>Malgorzata.Olszowka@stunnel.org</email>
</author>
<published>2026-06-12T08:52:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=27858603cb3067fa2318b7af16af6ea64686cac0'/>
<id>urn:sha1:27858603cb3067fa2318b7af16af6ea64686cac0</id>
<content type='text'>
Complements: 5421423 "Flexible encoders for ML-DSA"

Signed-off-by: olszomal &lt;Malgorzata.Olszowka@stunnel.org&gt;

Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Daniel Kubec &lt;kubec@openssl.foundation&gt;
MergeDate: Mon Jul 20 09:13:08 2026
(Merged from https://github.com/openssl/openssl/pull/31478)
</content>
</entry>
<entry>
<title>[providers/implementations/ciphers] GCM-SIV: reject out-of-order update calls</title>
<updated>2026-07-20T06:55:44Z</updated>
<author>
<name>Billy Brumley</name>
<email>bbb@iki.fi</email>
</author>
<published>2026-07-14T05:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4bf85819b7cba298108ea03f3e2aa067f20ded72'/>
<id>urn:sha1:4bf85819b7cba298108ea03f3e2aa067f20ded72</id>
<content type='text'>
For GCM-SIV:

1. AAD must precede the payload
2. the payload must be single shot

(2) was already happening, this change moves from a silent fail to
an explicit error message for multiple update calls on the payload.

For (1), this change unifies the logic for (2) one level up in the wrapper.
So the code previously allowed (1), and now errors out after this change.

Follow-up to #31906

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Reviewed-by: Daniel Kubec &lt;kubec@openssl.foundation&gt;
Reviewed-by: Bob Beck &lt;beck@openssl.org&gt;
MergeDate: Mon Jul 20 06:56:04 2026
(Merged from https://github.com/openssl/openssl/pull/31940)
</content>
</entry>
<entry>
<title>Prepare a now opaque ASN1_STRING for the size_t rapture.</title>
<updated>2026-07-18T13:00:57Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-05-11T16:30:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=28179061bfcdfe579f63a129bf0b97766a5d90a7'/>
<id>urn:sha1:28179061bfcdfe579f63a129bf0b97766a5d90a7</id>
<content type='text'>
Now that ASN1_STRING is opaque, we can finally move away
from an int for the length internally. The remaining problematic
piece for this is that ASN1_STRING_length() returns an int
and is public API.

Therefore, we deprecate ASN1_STRING_length() and provide a
replacement ASN1_STRING_length_ex() that returns a size_t length.

We also provide setting functions that take size_t lengths,
they are ASN1_STRING_set_data() which takes a uint8_t data
pointer and a size_t length, and ASN1_STRING_set_string() which
takes a argument that must be a c string and will use strlen
to determine the length. (This replaces th previous arcane
behaviour of calling "strlen" on a magical input length value
of -1, which leads to bugs.)  We then deprecate ASN1_STRING_set().

ASN1_STRING_set_string() requires a valid C string argument that
may not be NULL - refer to the documentation.

Both new functions do not magically add 0 bytes on the end of
values, as ASN1_STRING has already been documented for a long
time to not depend on this behaviour.

Both new functions do not allow the setting of values on an
ASN1_BIT_STRING, as ASN1_BIT_STRING_set1 must be used for that.

Note that this does *NOT* yet change ASN1_STRING to use size_t
internally, this must wait until the integer-returning ASN1_STRING_length()
has been deprecated, and then removed in future major. Once
ASN1_STRING_length() has been removed then ASN1_STRING internally
can change to using a size_t for the length of the data.
(And the setters will no longer return an error if the provided
size_t length exceeds INT_MAX)

Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
MergeDate: Sat Jul 18 13:01:15 2026
(Merged from https://github.com/openssl/openssl/pull/31194)
</content>
</entry>
<entry>
<title>Don't raise NOT_ENOUGH_DATA on a clean EOF at an object boundary</title>
<updated>2026-07-13T08:04:34Z</updated>
<author>
<name>Marc Gutman</name>
<email>marcg@activestate.com</email>
</author>
<published>2026-07-09T20:23:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d7e77b66cabb770932091ed5986221e0d1e57144'/>
<id>urn:sha1:d7e77b66cabb770932091ed5986221e0d1e57144</id>
<content type='text'>
asn1_d2i_read_bio() reads one ASN.1 object at a time from a BIO.  Callers
commonly loop, decoding concatenated DER values until the call fails, and
rely on a failure with no queued error to recognise a clean end of input.
CPython's ssl module does this in _add_ca_certs() when loading the Windows
certificate store via SSLContext.load_verify_locations(cadata=...); it
re-raises any leftover ASN.1 error other than ASN1_R_HEADER_TOO_LONG as
fatal.

Commit 9eb6922c59 ("asn1: raise NOT_ENOUGH_DATA on header EOF") changed the
BIO_read() check from "i &lt; 0" to "i &lt;= 0", so a clean EOF (BIO_read()
returning 0, as an exhausted BIO_new_mem_buf does) on an object boundary now
raises ASN1_R_NOT_ENOUGH_DATA instead of failing with an empty error queue.
The rewrite in commit 35852da1d9 carried this behaviour forward.  As a
result Python 3 on Windows fails to initialise an SSLContext with:

    ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data

Raise ASN1_R_NOT_ENOUGH_DATA only on an actual read error, on an EOF in the
middle of an object (some bytes already buffered), or on an EOF while still
inside an indefinite-length value awaiting its end-of-contents octets - all
of which are genuine truncation.  A clean EOF at a top-level object boundary
again fails without queuing an error, restoring the long-standing behaviour
that looping callers depend on.

Add regression tests covering the clean-EOF, truncated, indefinite-length
truncation and partial-header cases, and document the read behaviour in
ASN1_item_d2i_bio(3).

Fixes #31807

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Igor Ustinov &lt;igus@openssl.foundation&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Mon Jul 13 08:05:03 2026
(Merged from https://github.com/openssl/openssl/pull/31818)
</content>
</entry>
</feed>
