Skip to content

refactor: delete the IotaSignature trait - #12696

Draft
Thoralf-M wants to merge 2 commits into
developfrom
claude/sdk-signatures-aftermath-e4coco
Draft

refactor: delete the IotaSignature trait#12696
Thoralf-M wants to merge 2 commits into
developfrom
claude/sdk-signatures-aftermath-e4coco

Conversation

@Thoralf-M

Copy link
Copy Markdown
Member

Description of change

Deletes the IotaSignature trait: since the AuthenticatorTrait/verify_claims rework its methods were thin wrappers around what the SDK already provides, so call sites now sign via Signer over signing_digest() and the verification (including the signer/author binding) lives directly in the AuthenticatorTrait impl for SimpleSignature.

One more #11590 checklist item.

Links to any relevant issues

Part of #11590.

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

iota-types, iota-keys, iota-core and iota-rpc-loadgen compile clean with --all-targets; the iota-types/iota-keys unit tests pass locally.


Generated by Claude Code

Its three methods are now thin wrappers around what the SDK already
provides: new_hashed is Signer::sign, new_secure is sign over
IntentMessage::signing_digest, and verify_secure only backed the
AuthenticatorTrait impl for SimpleSignature, where it is now inlined.

Co-Authored-By: Claude Digestron 7 (3-byte intent) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K8HDhvVEyBujVabtPaZtoe
@iota-ci iota-ci added dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group. labels Aug 18, 2026
Co-Authored-By: Claude Digestron 7 (3-byte intent) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K8HDhvVEyBujVabtPaZtoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants