Bug 2395478

Summary: Please, update to 0.22.0
Product: [Fedora] Fedora Reporter: Jakub Jelen <jjelen>
Component: rust-asn1Assignee: Jeremy Cline <jeremy>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: cheimes, jeremy, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://crates.io/crates/asn1
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2391936    
Bug Blocks:    

Description Jakub Jelen 2025-09-15 17:34:07 UTC
The new version was released 3 months ago. Unfortunately, its not fully backward compatible. Do you have an estimation, when the new version will be possible to update in Fedora?

Reproducible: Always

Comment 1 Jeremy Cline 2025-09-15 18:46:34 UTC
Hi Jakub,

Right now the only thing depending on asn1 is python-cryptography, which in the 45.x series depends on "crate(asn1) >= 0.21.3 with crate(asn1) < 0.22.0". The still-in-development 46 series uses 0.22, so whenever that releases is when I would ordinarily update this. Based on historical releases my guess is that will be "soon", but I don't know.

If you're looking to package something that needs 0.22 before the next cryptography release we can probably make a compat package, although I think that's a bit of a hassle.

Comment 2 Jakub Jelen 2025-09-16 07:40:55 UTC
Thank you for the prompt reply!

We use the rust-asn1 in kryoptic and I just bumped the asn1 to 0.22.0 in housekeeping task pulling some OIDs from pyca: https://github.com/latchset/kryoptic/pull/329 (not merged yet).

That said, its not something that would be urgent now and we can wait for the python cryptography release "soon" to do the bump :) Its probably not worth the hassle  with the compat package.

Comment 3 Jeremy Cline 2025-09-18 21:06:08 UTC
Just a heads up that cryptography has released 46 with a dependency on 0.22, so I'll update once pyo3 0.26 lands (which is a requirement for cryptography 46)