Repository navigation
fix(coinbase): accept the downloaded ECDSA key file; stop steering to Ed25519 - #84
Merged
Merged
Conversation
… Ed25519
Coinbase App / Advanced Trade accepts ES256 (ECDSA) keys only ('Ed25519
(EdDSA) keys are NOT supported'), with kid/sub = the full
organizations/{org}/apiKeys/{key} name. Settings labels from #75 asked for
an Ed25519 'key ID' + 'Secret' and called EC keys legacy.
- COINBASE_API_PRIVATE_KEY takes the whole downloaded key JSON file
(name/id + privateKey); the key name is read from it, and a full name
beats a bare UUID typed in the name field
- PKCS#8 'BEGIN PRIVATE KEY' PEMs are no longer rewrapped as EC PRIVATE KEY
- plugin labels/hints: paste the key file; create the key as ECDSA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan7 finding(s) MEDIUM: 7
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coinbase App / Advanced Trade accepts ECDSA (ES256) keys only. Per https://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/api-key-authentication: "Ed25519 (EdDSA) keys are NOT supported. You must use ES256". kid/sub are the full
organizations/{org}/apiKeys/{key}name. #75's labels steered users to Ed25519.BEGIN PRIVATE KEYPEMs no longer get rewrapped as EC (which corrupted them)Tests: coinbase-pem + pair-discovery 12/12, tsc clean.
🤖 Generated with Claude Code