You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both `pkcs1` and `sec1` used some "clever" tricks to write blanket impls
of their traits for any types which impl the `pkcs8` traits.
However, we've received some complaints this makes the impls of these
traits more confusing and less discoverable (#1611), and adds a
maintenance burden in that the blanket impl relationship is
fundamentally "backwards" in that PKCS#8 builds on PKCS#1 and SEC1, not
the other way around.
These could potentially be replaced with a macro that writes impls of
the `pkcs8` traits for types which impl the `pkcs1`/`sec1` traits.
However, for now, each of these is only used in one place (i.e. the
`rsa` and `elliptic-curve` crates respectively), so we can start by
moving the relevant code there for now.
0 commit comments