Commit Graph

15 Commits

Author SHA1 Message Date
a10zn8
25dbc7c388 response signing with auth key (#811)
* docs: spec for unifying response signing with auth key

Design для замены отдельной SignatureConfig на подпись ответов
RSA-ключом, взятым из auth.server.provider-private-key.

Made-with: Cursor

* docs: implementation plan for auth-based response signing

План реализации по спеке 2026-04-20-response-signing-with-auth-key-design.md.
Разбит на 9 задач: новые RsaSigner/DisabledSigner по TDD, переработка фабрики
под AuthorizationConfig, удаление SignatureConfig/signed-response, снятие
cache-гейта в EthereumLocalReader, обновление документации.

Made-with: Cursor

* feat(signature): add RsaSigner using SHA256withRSA

Made-with: Cursor

* feat(signature): add DisabledSigner that throws on sign()

Made-with: Cursor

* refactor(signature): ResponseSigner.sign returns non-null Signature

Made-with: Cursor

* refactor(signature): build signer from AuthorizationConfig

Made-with: Cursor

* refactor(config): remove signed-response YAML section and SignatureConfig

Made-with: Cursor

* refactor(signature): remove EcdsaSigner and NoSigner

Remove the obsolete ECDSA signer and the transitional NoSigner stub.
Replace NoSigner usages in tests with DisabledSigner, and pass
DisabledSigner to BroadcastReader in tests (signer is now non-null).

Made-with: Cursor

* refactor(local-reader): serve cached results for requests with nonce

Made-with: Cursor

* docs: replace signed-response with auth section incl. response signing

Made-with: Cursor

* docs: correct auth section YAML and expand Response Signing note

- docs/reference-configuration.adoc: fix the YAML shape of the auth
  section (server.keys.{provider-private-key,external-public-key} and
  publicKeyOwner) to match AuthorizationConfigReader, and expand the
  Response Signing subsection with the actual signed-message format.
- .gitignore: ignore /demo/response-signing/ (local sandbox with keys
  and generated gRPC stubs — regenerate with generate-keys.sh + protoc)
  and /docs/superpowers/ (specs/plans kept local-only for now). Any
  previously tracked files under these paths are untracked here.

Made-with: Cursor

* feat(upstream): auto-inject secure-signed label when signing is enabled

Expose ResponseSigner.enabled and thread the bean through UpstreamCreator
so Generic/Ethereum/Bitcoin creators can enrich each upstream's labels
with secure-signed=true whenever auth-backed response signing is active.
A user-provided value for the label is preserved.

Made-with: Cursor
2026-04-21 10:33:37 +03:00
Anton
757febc0b5 Forward HTTP response headers from upstream to gRPC client for Beacon Chain (#759)
Added response_headers field to NativeCallReplyItem proto.
Implemented chain-specific header filtering via getResponseHeadersToForward().
BeaconChain forwards: Eth-Consensus-Version, Eth-Consensus-Finalized,
Eth-Execution-Optimistic, Eth-Execution-Payload-Blinded/Value, Eth-Consensus-Block-Value.
2025-12-18 11:30:18 +03:00
Vadim Filin
d1ae0b4052 Add 'confirmed' parameter (#743)
* Add 'confirmed' parameter to Solana blocksSubscribe method

* Add 'confirmed' parameter to Solana getBlocks method
2025-11-13 15:17:43 +04:00
Anton
807f9bb4a4 Add Ozean poseidon testnet (#120) (#657) 2025-04-28 10:10:59 +03:00
Aarif Khamdi
9659851952 add Filecoin.Version method (#565) 2024-09-09 23:27:24 +05:00
Anton
65c383ac69 Node client_type & client_version not parsed for non-eth chains (#467)
* Fix labels fill

* return null in case of unknown client type
2024-05-07 14:38:04 +03:00
a10zn8
ff95105f33 simplified zipkin with ssl 2023-07-18 15:45:05 +04:00
Maxksim Fomenkov
cf6433cd9f use proto as submodule 2022-09-06 16:15:50 +03:00
Aldo
b6a05d67df solution: use gradle 7.2
Co-authored-by: Brian McGee <brian@41north.dev>
2021-11-11 21:36:32 -05:00
Aldo Borrero
5167b8b125 solution: kotlin code conventions 2021-10-20 20:00:38 -04:00
Igor Artamonov
d873130567 solution: open source it 2019-08-22 21:07:12 -04:00
Igor Artamonov
c5228c2cce problem: missing test data
rel: [fd8c35bec2]
2019-07-26 23:15:20 -04:00
Igor Artamonov
fd8c35bec2 solution: connects to remote dshackle 2019-07-25 22:53:02 -04:00
Igor Artamonov
72c983c68f solution: read configuration from dshackle.yaml (in current directory) 2019-06-20 16:39:15 -04:00
Igor Artamonov
54e7081599 solution: initial version 2019-06-07 19:39:04 -04:00