Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Secure WS-RPC: grant access to all apis #10246

Merged
merged 1 commit into from
Feb 8, 2019
Merged

Secure WS-RPC: grant access to all apis #10246

merged 1 commit into from
Feb 8, 2019

Conversation

axelchalon
Copy link
Contributor

We're updating Fether/light.js to use personal_signTransaction rather than signer_*. However, currently on Parity Ethereum, ws connections with a secure token have the ApiSet::SafeContext, which is every api except personal. This PR makes ws connections with a secure token have access to all apis. This way we can launch Parity Ethereum with the default apis enabled and have personal_ only be exposed in the ws connection with secure token.

Copy link
Collaborator

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@5chdn 5chdn added this to the 2.4 milestone Jan 25, 2019
@5chdn 5chdn added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 7, 2019
@grbIzl grbIzl self-requested a review February 8, 2019 10:50
@grbIzl
Copy link
Collaborator

grbIzl commented Feb 8, 2019

Looks good

@5chdn 5chdn merged commit 3502b36 into master Feb 8, 2019
@5chdn 5chdn deleted the ac-ws-personal branch February 8, 2019 13:12
ordian added a commit that referenced this pull request Apr 5, 2019
* master:
  no volumes are needed, just run -v volume:/path/in/the/container (#10345)
  Fixed misstype (#10351)
  snap: prefix version and populate candidate channel (#10343)
  Bundle protocol and packet_id together in chain sync (#10315)
  role back docker build image and docker deploy image to ubuntu:xenial based (#10338)
  change docker image based on debian instead of ubuntu due to the chan… (#10336)
  Don't add discovery initiators to the node table (#10305)
  fix(docker): fix not receives SIGINT (#10059)
  snap: official image / test (#10168)
  fix(add helper for timestamp overflows) (#10330)
  Additional error for invalid gas (#10327)
  Revive parity_setMinGasPrice RPC call (#10294)
  Add Statetest support for Constantinople Fix (#10323)
  fix(parity-clib): grumbles that were not addressed in #9920 (#10154)
  fix(light-rpc): Make `light_sync` generic (#10238)
  fix publish job (#10317)
  Secure WS-RPC: grant access to all apis (#10246)
  Make specification of protocol in SyncRequester::send_request explicit (#10295)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M7-signer 🔏 Trusted signer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants