Skip to content

Conversation

@Jakuje
Copy link
Contributor

@Jakuje Jakuje commented Sep 15, 2025

Description

This pulls also the new version of asn1 crate. Unfortunately, its not backward compatible, but the mandatory API is safe to return None, which I reused here for simplicity.

Checklist

- [ ] Test suite updated with functionality tests
- [ ] Test suite updated with negative tests
- [ ] Rustdoc string were added or updated
- [ ] CHANGELOG and/or other documentation added or updated
- [ ] This is not a code change

Reviewer's checklist:

  • Any issues marked for closing are fully addressed
  • There is a test suite reasonably covering new functionality or modifications
  • This feature/change has adequate documentation added
  • A changelog entry is added if the change is significant
  • Code conform to coding style that today cannot yet be enforced via the check style test
  • Commits have short titles and sensible text
  • Doc string are properly updated

@Jakuje
Copy link
Contributor Author

Jakuje commented Sep 15, 2025

Fedora RPM build will fail as we have still the old version in rawhide. Filled https://bugzilla.redhat.com/show_bug.cgi?id=2395478

Copy link
Member

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should get data_length() right if possible

@Jakuje Jakuje marked this pull request as draft September 16, 2025 07:41
@Jakuje
Copy link
Contributor Author

Jakuje commented Sep 16, 2025

changing to draft as bringing the new asn1 into fedora would need a compat package, which is not worth the hassle now. But I just wanted to keep a track of this so lets keep it in draft until we get Fedora updated.

@simo5 simo5 added this to the 1.4 milestone Sep 18, 2025
@Jakuje
Copy link
Contributor Author

Jakuje commented Sep 19, 2025

Rebased on top of recent changes.

The python-cryptography landed so we can expect the rust-asn1 to be available any time soon:

https://bugzilla.redhat.com/show_bug.cgi?id=2395478

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Used version from commit 6131b24c1c05dda6b7f2d43ea935fa04a6eec20f
mostly adding the NIST SHA3 OIDS

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
@simo5 simo5 modified the milestones: 1.4, 1.5 Nov 24, 2025
@simo5
Copy link
Member

simo5 commented Dec 12, 2025

@Jakuje do you think this will work now?

@Jakuje
Copy link
Contributor Author

Jakuje commented Dec 12, 2025

@Jakuje do you think this will work now?

I think not (otherwise we would see failures in all the other pipelines). The rust-asn1 is still on 0.21:

https://src.fedoraproject.org/rpms/rust-asn1

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.

2 participants