feat(aep-86): add provider signer abstraction#397
Conversation
Adds the narrow provider-side signing and broadcast interface needed by later AEP-86 inventory and snapshot components. The implementation is sourced from the provider CLI client context and keyring at service startup. Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Routes REST and gRPC gateway Authorization headers through one parser. This keeps the gRPC interceptor from panicking on a single metadata value and makes both gateway paths enforce the same Bearer token shape. Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
WalkthroughThis PR introduces a ProviderSigner abstraction for signing and broadcasting Cosmos SDK transactions, with comprehensive validation and error handling. Independently, it refactors authorization header token extraction into a shared utility used by both gRPC and REST authentication layers. ChangesProviderSigner Implementation
Auth Header Token Extraction Refactoring
🎯 3 (Moderate) | ⏱️ ~25 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Scope
Linear
Refs AKT-287