Skip to content

feat: decode auth signature bytes#239

Open
Kkkakania wants to merge 1 commit into
Toolbox-Lab:mainfrom
Kkkakania:feat/decode-auth-signatures
Open

feat: decode auth signature bytes#239
Kkkakania wants to merge 1 commit into
Toolbox-Lab:mainfrom
Kkkakania:feat/decode-auth-signatures

Conversation

@Kkkakania

Copy link
Copy Markdown

Closes #222

Summary

  • Decode Soroban auth-entry XDR signatures from address credentials into readable Ed25519 hex strings.
  • Label empty, non-64-byte, non-bytes, and invalid auth-entry XDR cases as malformed_signature(...) instead of panicking.
  • Add decoded auth signatures to ContractInvocation and render them in auth reports when present.
  • Fix a macOS statvfs integer type mismatch that blocked local CLI tests.

Testing

  • /opt/homebrew/bin/cargo test -p prism-core xdr::codec -- --nocapture
  • /opt/homebrew/bin/cargo test -p prism auth_tree -- --nocapture
  • /opt/homebrew/bin/cargo test -p prism -- --nocapture
  • /opt/homebrew/bin/cargo test -p prism-core --lib -- --nocapture
  • /opt/homebrew/bin/cargo check -p prism-core -p prism
  • git diff --check

Note: cargo fmt --check reports broad pre-existing rustfmt diffs across untouched files, so I did not run repository-wide formatting for this scoped patch.

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.

Decode Raw Signature Bytes into Readable Hex Strings

1 participant