<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cryptography.git/docs/hazmat/primitives, branch main</title>
<subtitle>github.com: pyca/cryptography.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/'/>
<entry>
<title>update MAC docs (#8777)</title>
<updated>2023-04-21T22:04:45+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-04-21T22:04:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=49dee344a1ae64c91398f6586a92f9b05a0c1961'/>
<id>49dee344a1ae64c91398f6586a92f9b05a0c1961</id>
<content type='text'>
* Update hmac.rst

* Update poly1305.rst</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update hmac.rst

* Update poly1305.rst</pre>
</div>
</content>
</entry>
<entry>
<title>we made WithSerialization an alias to the main types long ago (#8698)</title>
<updated>2023-04-10T04:13:55+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-04-10T04:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=7d3f8a43d434be3c38d80969bbadcf4516afad82'/>
<id>7d3f8a43d434be3c38d80969bbadcf4516afad82</id>
<content type='text'>
stop documenting them entirely</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
stop documenting them entirely</pre>
</div>
</content>
</entry>
<entry>
<title>Make Union type aliases a documented public API (#8168)</title>
<updated>2023-03-07T11:20:32+00:00</updated>
<author>
<name>Marti Raudsepp</name>
<email>marti@juffo.org</email>
</author>
<published>2023-03-07T11:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=79e38a379e8ab02fae6c1142db088889a0508a8c'/>
<id>79e38a379e8ab02fae6c1142db088889a0508a8c</id>
<content type='text'>
* Rename Union type aliases to CamelCase

Many `typing.Union` type aliases were previously using `UPPER_SNAKE_CASE`, but Python's convention is `CamelCase` for these (e.g. https://docs.python.org/3/library/typing.html#type-aliases)

* Add utils.deprecated for the old non-underscore type aliases

* Added documentation for new type aliases &amp; minor tweaks

* Use 'versionadded:: 40.0.0'

* Fix CertificatePublicKeyTypes vs CertificateIssuerPublicKeyTypes. Rename CertificatePrivateKeyTypes to CertificateIssuerPrivateKeyTypes

* Fix imports (ruff)

* Fix one more versionadded

* Tweak docs &amp; Reorder: CertificateIssuerPublicKeyTypes before CertificateIssuerPrivateKeyTypes

* Fix test mypy errors using cast()

* Fix black, oops

* Revert "Fix black, oops"

This reverts commit 85344e231d697bdc0940e105f7aed729445f9743.

* Revert "Fix test mypy errors using cast()"

This reverts commit b272d8ca95fbbbc62060663f9e8930a139a7a43e.

* Revert type of SubjectKeyIdentifier.from_public_key arg

* Changelog tweak</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename Union type aliases to CamelCase

Many `typing.Union` type aliases were previously using `UPPER_SNAKE_CASE`, but Python's convention is `CamelCase` for these (e.g. https://docs.python.org/3/library/typing.html#type-aliases)

* Add utils.deprecated for the old non-underscore type aliases

* Added documentation for new type aliases &amp; minor tweaks

* Use 'versionadded:: 40.0.0'

* Fix CertificatePublicKeyTypes vs CertificateIssuerPublicKeyTypes. Rename CertificatePrivateKeyTypes to CertificateIssuerPrivateKeyTypes

* Fix imports (ruff)

* Fix one more versionadded

* Tweak docs &amp; Reorder: CertificateIssuerPublicKeyTypes before CertificateIssuerPrivateKeyTypes

* Fix test mypy errors using cast()

* Fix black, oops

* Revert "Fix black, oops"

This reverts commit 85344e231d697bdc0940e105f7aed729445f9743.

* Revert "Fix test mypy errors using cast()"

This reverts commit b272d8ca95fbbbc62060663f9e8930a139a7a43e.

* Revert type of SubjectKeyIdentifier.from_public_key arg

* Changelog tweak</pre>
</div>
</content>
</entry>
<entry>
<title>Update serialization.rst (#8464)</title>
<updated>2023-03-06T13:26:20+00:00</updated>
<author>
<name>Marty Hill</name>
<email>marty@martyhill.net</email>
</author>
<published>2023-03-06T13:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=a28ad12125e2a269f5754c782e1a6e154eb29274'/>
<id>a28ad12125e2a269f5754c782e1a6e154eb29274</id>
<content type='text'>
Proposed update to parameter in example call to pkcs12.serialize_key_and_certificates() on line 908.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Proposed update to parameter in example call to pkcs12.serialize_key_and_certificates() on line 908.</pre>
</div>
</content>
</entry>
<entry>
<title>fixes #8374 -- removed docs for removed method (#8377)</title>
<updated>2023-02-22T14:08:33+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-02-22T14:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=94debb12c65e9d577be8ebb525f2a0e3e988c90c'/>
<id>94debb12c65e9d577be8ebb525f2a0e3e988c90c</id>
<content type='text'>
* fixes #8374 -- removed docs for removed method

* Update CHANGELOG.rst</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fixes #8374 -- removed docs for removed method

* Update CHANGELOG.rst</pre>
</div>
</content>
</entry>
<entry>
<title>Add shortcut methods for exporting EC keys as raw bytes (#8357)</title>
<updated>2023-02-22T13:09:34+00:00</updated>
<author>
<name>David Buchanan</name>
<email>d@vidbuchanan.co.uk</email>
</author>
<published>2023-02-22T13:09:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=db6905d69c4a1330570b00210e057bd3ecfbe7d3'/>
<id>db6905d69c4a1330570b00210e057bd3ecfbe7d3</id>
<content type='text'>
* WIP: Add raw export alias method for x25519 keys

* Ditto for x448, ed448, ed25519

* Document new private_bytes_raw public_bytes_raw methods

* docs: Populate versionadded to be 40

* docs: Fix PublicFormat -&gt; PrivateFormat where applicable

* formatting

* Update tests for test_pub_priv_bytes_raw in x25519, x448, ed448 (TODO: ed25519)

* Add test_pub_priv_bytes_raw test for Ed25519</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* WIP: Add raw export alias method for x25519 keys

* Ditto for x448, ed448, ed25519

* Document new private_bytes_raw public_bytes_raw methods

* docs: Populate versionadded to be 40

* docs: Fix PublicFormat -&gt; PrivateFormat where applicable

* formatting

* Update tests for test_pub_priv_bytes_raw in x25519, x448, ed448 (TODO: ed25519)

* Add test_pub_priv_bytes_raw test for Ed25519</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SSHCertificateBuilder sample code (#8373)</title>
<updated>2023-02-22T12:03:26+00:00</updated>
<author>
<name>Jake</name>
<email>jh21711@gmail.com</email>
</author>
<published>2023-02-22T12:03:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=50fec7e5418a68088456d7041abf2b9ed91c8b9c'/>
<id>50fec7e5418a68088456d7041abf2b9ed91c8b9c</id>
<content type='text'>
Update SSHCertificateBuilder sample code to:
* Correctly use the signing key when signing the certificate, rather than the user's own private key.
* Generate the user's public key in one line, making it clearer to the reader that only the public key is an input to the certificate builder.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update SSHCertificateBuilder sample code to:
* Correctly use the signing key when signing the certificate, rather than the user's own private key.
* Generate the user's public key in one line, making it clearer to the reader that only the public key is an input to the certificate builder.</pre>
</div>
</content>
</entry>
<entry>
<title>embrace my inner nitpicker (#8361)</title>
<updated>2023-02-20T23:57:08+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-02-20T23:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=5a34d492bc93452d5aca89fc677ca54486fe5bda'/>
<id>5a34d492bc93452d5aca89fc677ca54486fe5bda</id>
<content type='text'>
fixes all our versionadded/changed to match actual versions we released</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes all our versionadded/changed to match actual versions we released</pre>
</div>
</content>
</entry>
<entry>
<title>add support for bytes-like objects in data and associated_data in aead algorithms (#8187)</title>
<updated>2023-02-02T13:56:49+00:00</updated>
<author>
<name>Mat</name>
<email>68234729+mat-gas@users.noreply.github.com</email>
</author>
<published>2023-02-02T13:56:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=b46735834477895323b81c4cbe31dbb6e3c8095a'/>
<id>b46735834477895323b81c4cbe31dbb6e3c8095a</id>
<content type='text'>
* add support for bytes-like objects in data and associated_data in aead algorithms

* flake

* flake again

* rework AESSIV _check_params

* flake and 80char columns

* associated_data cannot be None in _check_params, set to [] in calling function

* Update src/cryptography/hazmat/primitives/ciphers/aead.py

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

* flake fix

---------

Co-authored-by: mat gas &lt;none@none.com&gt;
Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add support for bytes-like objects in data and associated_data in aead algorithms

* flake

* flake again

* rework AESSIV _check_params

* flake and 80char columns

* associated_data cannot be None in _check_params, set to [] in calling function

* Update src/cryptography/hazmat/primitives/ciphers/aead.py

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

* flake fix

---------

Co-authored-by: mat gas &lt;none@none.com&gt;
Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>deprecate the rest of DSA support for SSH (#8013)</title>
<updated>2023-01-09T01:14:00+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-01-09T01:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=17da400b651fd940879a14b6d9c2964037de8d7f'/>
<id>17da400b651fd940879a14b6d9c2964037de8d7f</id>
<content type='text'>
* deprecate the rest of DSA support for SSH

* review comments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* deprecate the rest of DSA support for SSH

* review comments</pre>
</div>
</content>
</entry>
</feed>
