Skip to content

feat(tempo): add raw access key signing#4654

Merged
jxom merged 1 commit into
wevm:mainfrom
deodad:dad/tempo-access-key-raw-sign
May 21, 2026
Merged

feat(tempo): add raw access key signing#4654
jxom merged 1 commit into
wevm:mainfrom
deodad:dad/tempo-access-key-raw-sign

Conversation

@deodad
Copy link
Copy Markdown
Contributor

@deodad deodad commented May 21, 2026

Summary

Adds raw signing for Tempo access key accounts.

Motivation

MPP session vouchers need signatures from the access key itself, without the keychain envelope used by normal access-key account signing.

Changes

  • Added raw?: boolean to AccessKeyAccount.sign in src/tempo/Account.ts.
  • Skipped keychain hashing/enveloping when access key signing uses raw: true.
  • Documented raw behavior on the access key sign TSDoc.
  • Added secp256k1 and p256 access-key coverage in src/tempo/Account.test.ts.

Testing

  • pnpm test src/tempo/Account.test.ts
  • pnpm exec tsc --noEmit --pretty false --project tsconfig.json
  • pnpm exec biome check .changeset/tempo-access-key-raw-sign.md src/tempo/Account.ts src/tempo/Account.test.ts
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@deodad is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

🦋 Changeset detected

Latest commit: e858705

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 21, 2026

Open in StackBlitz

npm i https://pkg.pr.new/viem@4654

commit: e858705

@deodad deodad force-pushed the dad/tempo-access-key-raw-sign branch from c53fc73 to e858705 Compare May 21, 2026 18:34
@deodad deodad marked this pull request as ready for review May 21, 2026 18:41
@jxom jxom merged commit 038a062 into wevm:main May 21, 2026
18 of 26 checks passed
@github-actions github-actions Bot mentioned this pull request May 21, 2026
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