Skip to content

chore: bump world-id-core 0.6 → 0.7#325

Merged
Dzejkop merged 1 commit intomainfrom
chore/bump-world-id-protocol
Mar 25, 2026
Merged

chore: bump world-id-core 0.6 → 0.7#325
Dzejkop merged 1 commit intomainfrom
chore/bump-world-id-protocol

Conversation

@agentotto
Copy link
Contributor

@agentotto agentotto bot commented Mar 25, 2026

Summary

Bumps world-id-core (and its transitive world-id-* dependencies) from 0.6 to 0.7, along with the minimal in-code adaptations required by the new upstream API.

Changes

File What changed
Cargo.toml world-id-core version 0.60.7
Cargo.lock Transitive dependency updates (world-id-authenticator, world-id-primitives, world-id-proof 0.6→0.7; taceo-oprf 0.10, taceo-oprf-client 0.9.1, taceo-oprf-types 0.11)
walletkit-core/src/credential.rs Field rename: associated_data_hashassociated_data_commitment
walletkit-core/tests/proof_generation_integration.rs Import OprfKeyId from world_id_core::primitives instead of taceo_oprf::types (re-export moved upstream)

Context

This is the dependency bump portion extracted from #306, separated from the new authenticator management feature to allow independent review and merge.

Verified: cargo build -p walletkit-core compiles cleanly.


Note

Medium Risk
Upgrades a core cryptography/proof dependency (world-id-core) and its transitive world-id-*/taceo-oprf* crates, which can subtly change proof generation/verification behavior despite minimal local code changes.

Overview
Bumps world-id-core from 0.6 to 0.7 and refreshes the lockfile accordingly (including world-id-authenticator/world-id-primitives/world-id-proof 0.7 and updated taceo-oprf*/windows-sys versions).

Adapts walletkit-core to upstream API changes by renaming the credential accessor from associated_data_hash to associated_data_commitment, and updating the integration test to import OprfKeyId from world_id_core::primitives instead of taceo_oprf::types.

Written by Cursor Bugbot for commit d19d812. This will update automatically on new commits. Configure here.

Update world-id-core (and transitive world-id-* crates) from 0.6 to 0.7.

Code adaptations for the new API:
- credential.rs: rename associated_data_hash → associated_data_commitment
- proof_generation_integration.rs: OprfKeyId re-exported from world_id_core::primitives

Extracted from #306.
@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: cargo world-id-proof is 98.0% likely obfuscated

Confidence: 0.98

Location: Package overview

From: ?cargo/world-id-core@0.7.0cargo/world-id-proof@0.7.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/world-id-proof@0.7.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

use walletkit_core::storage::cache_embedded_groth16_material;
use walletkit_core::{defaults::DefaultConfig, Authenticator, Environment};
use world_id_core::primitives::{rp::RpId, FieldElement, Nullifier};
use world_id_core::primitives::{rp::RpId, FieldElement, Nullifier, OprfKeyId};
Copy link

Choose a reason for hiding this comment

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

Unused taceo-oprf dev-dependency after import migration

Low Severity

Moving the OprfKeyId import from taceo_oprf::types to world_id_core::primitives was the only usage of the taceo-oprf dev-dependency in walletkit-core/Cargo.toml (line 80). That dev-dependency (with its TODO comment about removal) is now completely unused — the remaining taceo_oprf references in logger.rs are just string literals for log filtering, not actual crate imports. The dev-dep can be removed.

Fix in Cursor Fix in Web

Copy link
Contributor

Choose a reason for hiding this comment

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

ah yes I added this import. /otto worth removing the direct taceo dep now

@Dzejkop Dzejkop merged commit 725bb12 into main Mar 25, 2026
16 checks passed
@Dzejkop Dzejkop deleted the chore/bump-world-id-protocol branch March 25, 2026 19:04
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