SecurityInnovation / PGPy

Pretty Good Privacy for Python
BSD 3-Clause "New" or "Revised" License
313 stars 98 forks source link

implement crypto-refresh-10 #455

Open dkg opened 1 year ago

dkg commented 1 year ago

This series tries to implement the new parts from draft-ietf-openpgp-crypto-refresh-10. It is based on #451, which restructures some of the internal mechanisms of PGPy to make these changes end up simpler.

I've tried to continue to keep the reasonable type signatures already present in #451, and to at least not introduce regressions in the type safety of the codebase. There are also some additional tests to try to ensure that things are at least internally consistent.

dkg commented 1 year ago

Just a note that i've pointed to the dkg/crypto-refresh branch as a "related implementation" over at https://datatracker.ietf.org/doc/draft-ietf-openpgp-crypto-refresh/ -- if there is some more official PGPy variant implementation of this specification, i'm happy to change it, just let me know.