Skip to content

Conversation

baloo
Copy link
Member

@baloo baloo commented Oct 8, 2025

Re-exporting blobby directly from ecdsa makes version upgrades a tiny bit more resilient to API changes made in blobby.

They otherwise have to be carefully managed between ecdsa and its dependencies.

If the binary format changes between the blobby upgrade, the blob files will still need to be updated to match.

@baloo
Copy link
Member Author

baloo commented Oct 8, 2025

This issue surfaced in the upgrade of blobby (0.3 -> 0.4) in elliptic-curves: RustCrypto/elliptic-curves#1483

@baloo
Copy link
Member Author

baloo commented Oct 13, 2025

cc @newpavlov any chance you could take a look at this one?

(and its companion followup RustCrypto/elliptic-curves#1484)

@tarcieri
Copy link
Member

@baloo it generally looks fine to me, I can look in a bit

Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

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

Note that you could re-export blobby from digest::dev instead of making it a direct dependency.

@baloo
Copy link
Member Author

baloo commented Oct 13, 2025

oh, let me do that then.

@baloo baloo force-pushed the baloo/ecdsa/re-export-blobby branch from 6caa730 to 11c6a59 Compare October 13, 2025 18:48
@newpavlov
Copy link
Member

newpavlov commented Oct 13, 2025

Hm, or maybe we should re-export it from elliptic-curve since digest is an optional dependency for ecdsa.

I don't have a strong opinion here, so feel free to select anything you like.

@baloo
Copy link
Member Author

baloo commented Oct 13, 2025

it gets pulled with algorithm which is enabled for dev

EDIT: Which means I can cleanup my cfg in the tests.

Re-exporting blobby directly from ecdsa makes version upgrades a tiny
bit more resilient to API changes made in blobby.

They otherwise have to be carefully managed between ecdsa and its
dependencies.

If the binary format changes between the blobby upgrade, the blob files
will still need to be updated to match.
@baloo baloo force-pushed the baloo/ecdsa/re-export-blobby branch from 11c6a59 to b45f2ed Compare October 13, 2025 18:51
@baloo
Copy link
Member Author

baloo commented Oct 15, 2025

Anything remaining here?

Co-authored-by: Tony Arcieri <[email protected]>
@tarcieri tarcieri merged commit 305bad5 into RustCrypto:master Oct 15, 2025
76 checks passed
@baloo baloo deleted the baloo/ecdsa/re-export-blobby branch October 16, 2025 01:41
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.

3 participants