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 May 23, 2019
calvinaco:feature/CRO-120-client-rpc-use-secure-utf8
Merged
Problem: Client RPC requires passphrase to be a byte array#95tomtau merged 4 commits intocrypto-com:masterfrom calvinaco:feature/CRO-120-client-rpc-use-secure-utf8
tomtau merged 4 commits intocrypto-com:masterfrom
calvinaco:feature/CRO-120-client-rpc-use-secure-utf8
Conversation
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
=======================================
Coverage 70.89% 70.89%
=======================================
Files 85 85
Lines 5339 5339
=======================================
Hits 3785 3785
Misses 1554 1554
|
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 /> [](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 /> [](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>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Solution: Use
SecUtf8instead ofSecStrwhich supports deserialization from String to secure string