Skip to content

release: 4.90.0#242

Merged
stainless-app[bot] merged 3 commits intomasterfrom
release-please--branches--master--changes--next
Mar 31, 2026
Merged

release: 4.90.0#242
stainless-app[bot] merged 3 commits intomasterfrom
release-please--branches--master--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Mar 31, 2026

Automated Release PR

4.90.0 (2026-03-31)

Full Changelog: v4.89.0...v4.90.0

Features

  • lib: add ED25519 webhook signature verification (18be54b)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

ankitTelnyx and others added 3 commits March 31, 2026 10:39
Add ED25519 webhook verification to match Go, Java, and Ruby SDKs.

The generated webhooks.py uses standardwebhooks (HMAC-SHA256), but
Telnyx webhooks use ED25519 signatures with:
- Header: telnyx-signature-ed25519 (base64-encoded 64-byte signature)
- Header: telnyx-timestamp (Unix timestamp in seconds)
- Signed payload: "{timestamp}|{payload}"

New files in lib/ (preserved across Stainless codegen):
- webhook_verification.py: Core ED25519 verification logic
- webhooks_ed25519.py: Higher-level helpers (verify_ed25519, unwrap_with_ed25519)

Usage:
  from telnyx.lib import verify_ed25519, unwrap_with_ed25519, WebhookVerificationError

  # Verify only
  verify_ed25519(client, payload, headers)

  # Verify and parse
  event = unwrap_with_ed25519(client, payload, headers)

Requires PyNaCl (optional dependency) for ED25519 cryptography.
…ication

feat(lib): add ED25519 webhook signature verification
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 31, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/telnyx-python/a74508f49091104232ca2fc221cca024e4229124/telnyx-4.89.0-py3-none-any.whl'

Expires at: Thu, 30 Apr 2026 09:46:40 GMT
Updated at: Tue, 31 Mar 2026 09:46:40 GMT

@stainless-app stainless-app bot merged commit e205396 into master Mar 31, 2026
10 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 31, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant