Skip to content

cryptography: Return RSAPrivateKeyWithSerialization from generate_private_key.#3296

Merged
srittau merged 1 commit intopython:masterfrom
benjaminp:cryptography-rsa-key
Oct 2, 2019
Merged

cryptography: Return RSAPrivateKeyWithSerialization from generate_private_key.#3296
srittau merged 1 commit intopython:masterfrom
benjaminp:cryptography-rsa-key

Conversation

@benjaminp
Copy link
Contributor

The only extant implementation of generate_private_key returns this more specialized interface. In general, I would say generating a key that you can't get the private bytes out of is not useful.

…vate_key.

The only extant implementation of generate_private_key returns this more specialized interface. In general, I would say generating a key that you can't get the private bytes out of is not useful.
@srittau srittau merged commit 9a1d205 into python:master Oct 2, 2019
@benjaminp benjaminp deleted the cryptography-rsa-key branch October 2, 2019 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants