Re: [Cryptography-dev] Cryptographic recipes

2024-06-26 Thread Ben Portner via Cryptography-dev
Hi Alex, Let me try again: How about PGPy's encryption implementation (https://github.com/SecurityInnovation/PGPy/blob/master/pgpy/pgp.py#L1189)? It is based on the OpenPGP standard, it can be used without additional parameters (which prevents misuse), and it addresses a common use case (mess

Re: [Cryptography-dev] Cryptographic recipes

2024-06-26 Thread Alex Gaynor
Hi Ben, Unfortunately OpenPGP is more or less the canonical example of something we would _not_ want to offer as a recipe. Going back to my original criteria: * It should comprehensively address a common use case: It may do this. * It should reflect current (and anticipated future) best practices