Skip to content

aes 0.9 support#49

Open
AlexTMjugador wants to merge 5 commits intostr4d:mainfrom
ComunidadAylas:feat/aes-0.9-support
Open

aes 0.9 support#49
AlexTMjugador wants to merge 5 commits intostr4d:mainfrom
ComunidadAylas:feat/aes-0.9-support

Conversation

@AlexTMjugador
Copy link
Copy Markdown
Contributor

@AlexTMjugador AlexTMjugador commented Apr 29, 2026

aes 0.9 was recently released, introducing breaking changes due to the adoption of the cipher 0.5.1 traits. Compared to the traits used in the cipher 0.4 version used by fpe, these new traits differ in both naming and method signatures, but offer equivalent functionality. But because this crate currently depends on the older cipher traits, and aes 0.9 implements only the new ones without any compatibility layer, fpe does not work with aes 0.9.

This PR updates fpe to use the newer cipher traits along with the related cbc traits, restoring compatibility with aes 0.9. This change requires a MSRV bump due to the updated cipher dependency, and it also drops compatibility with earlier aes versions. Users who need support for older aes releases can continue using a previous version of fpe.

I tried to do the update with the goal of preserving existing behavior as much as possible. In doing so, I followed the migration guidance outlined in the following PRs:

Additionally, this PR addresses several lints identified by newer versions of Clippy and cargo doc and general CI staleness.

Without any escaping, the `<u8>` part in `Vec<u8>` is parsed as a HTML
tag during documentation generation, which leads to invalid HTML.
This is required to support aes 0.9.
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.

1 participant