Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Problem: Client RPC requires passphrase to be a byte array#95

Merged
tomtau merged 4 commits intocrypto-com:masterfrom
calvinaco:feature/CRO-120-client-rpc-use-secure-utf8
May 23, 2019
Merged

Problem: Client RPC requires passphrase to be a byte array#95
tomtau merged 4 commits intocrypto-com:masterfrom
calvinaco:feature/CRO-120-client-rpc-use-secure-utf8

Conversation

@calvinaco
Copy link
Copy Markdown
Collaborator

@calvinaco calvinaco commented May 23, 2019

Solution: Use SecUtf8 instead of SecStr which supports deserialization from String to secure string

@codecov
Copy link
Copy Markdown

codecov bot commented May 23, 2019

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is 88.46%.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   70.89%   70.89%           
=======================================
  Files          85       85           
  Lines        5339     5339           
=======================================
  Hits         3785     3785           
  Misses       1554     1554
Impacted Files Coverage Δ
...action_builder/unauthorized_transaction_builder.rs 75% <ø> (ø) ⬆️
client-cli/src/main.rs 0% <0%> (ø) ⬆️
client-common/src/storage.rs 100% <100%> (ø) ⬆️
client-core/src/wallet/default_wallet_client.rs 90% <100%> (ø) ⬆️
client-core/src/service/key_service.rs 91.93% <100%> (ø) ⬆️
client-core/src/service/wallet_service.rs 91.22% <100%> (ø) ⬆️
...transaction_builder/default_transaction_builder.rs 85% <41.66%> (ø) ⬆️
client-rpc/src/wallet_rpc.rs 63.15% <50%> (ø) ⬆️

@tomtau tomtau requested review from devashishdxt and tomtau May 23, 2019 06:57
Copy link
Copy Markdown
Contributor

@tomtau tomtau left a comment

Choose a reason for hiding this comment

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

lgtm

@tomtau tomtau merged commit 9899f81 into crypto-com:master May 23, 2019
bors bot added a commit that referenced this pull request Oct 25, 2019
507: Problem: (CRO-503) No way to calculate square root of Milli r=tomtau a=devashishdxt

Solution: Implemented [Babylonian Method](https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) to calculate square root.

510: Bump kvdb from 0.1.0 to 0.1.1 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb](https://github.com/paritytech/parity-common) from 0.1.0 to 0.1.1.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/paritytech/parity-common/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.1)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

511: Bump kvdb-rocksdb from 0.1.5 to 0.1.6 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb-rocksdb](https://github.com/paritytech/parity-common) from 0.1.5 to 0.1.6.
<details>
<summary>Commits</summary>

- [`fa938ee`](paritytech/parity-common@fa938ee) Merge pull request [#95](https://github-redirect.dependabot.com/paritytech/parity-common/issues/95) from paritytech/sp-bump-uint
- [`e388dcf`](paritytech/parity-common@e388dcf) Initialize a crate for memory related tools ([#89](https://github-redirect.dependabot.com/paritytech/parity-common/issues/89))
- [`756c608`](paritytech/parity-common@756c608) Bump primitive-types and uint version
- [`5b56003`](paritytech/parity-common@5b56003) Merge pull request [#92](https://github-redirect.dependabot.com/paritytech/parity-common/issues/92) from paritytech/td-u128
- [`39c6ee0`](paritytech/parity-common@39c6ee0) Fix for the review.
- [`9eba22f`](paritytech/parity-common@9eba22f) More compact.
- [`982228f`](paritytech/parity-common@982228f) Add some tests.
- [`e114cfb`](paritytech/parity-common@e114cfb) Expose U128, add u128 conversions.
- [`6e04748`](paritytech/parity-common@6e04748) Merge pull request [#86](https://github-redirect.dependabot.com/paritytech/parity-common/issues/86) from paritytech/sp-primitive-types-init
- [`d632b4c`](paritytech/parity-common@d632b4c) Bump primitive-types patch version
- Additional commits viewable in [compare view](paritytech/parity-common@kvdb-rocksdb-v0.1.5...primitive-types-v0.1.6)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb-rocksdb&package-manager=cargo&previous-version=0.1.5&new-version=0.1.6)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb-rocksdb&package-manager=cargo&previous-version=0.1.5&new-version=0.1.6)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

512: Bump sgx_tstd from `3a43c5f` to `c8a5908` r=tomtau a=dependabot-preview[bot]

Bumps [sgx_tstd](https://github.com/baidu/rust-sgx-sdk) from `3a43c5f` to `c8a5908`.
<details>
<summary>Commits</summary>

- [`c8a5908`](apache/teaclave-sgx-sdk@c8a5908) Update Readme and add third party wiki link
- [`47c5815`](apache/teaclave-sgx-sdk@47c5815) Provides some info on third_party crates
- [`65f8a49`](apache/teaclave-sgx-sdk@65f8a49) Add Fedora 27 docker support
- See full diff in [compare view](apache/teaclave-sgx-sdk@3a43c5f...c8a5908)
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: Devashish Dixit <devashish@crypto.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants