question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install does not work when hash algo is SHA2_256

See original GitHub issue

When using the SHA2_256 hash algo on the faucet to create a Flow account, the config described in the readme does not work.

flow project deploy --network=testnet
❌  Kibble error: [Error Code: 1006] invalid proposal key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: signature is not valid
❌  KittyItems error: [Error Code: 1006] invalid proposal key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: signature is not valid
❌  KittyItemsMarket error: [Error Code: 1006] invalid proposal key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account e5c068f5a1155a3b does not have a valid signature: signature is not valid

✨  All contracts deployed successfully

TODO:

  • update readme to state that hash algo should be SHA3_256
  • provide config to use SHA2_256

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
KesleyDavidcommented, May 27, 2021

@10thfloor,

After doing several tests and readings, I finally discovered the problem in my situation.

Currently cli flow is in version 0.21.0 and my installed version was different.

Make the test by updating your cli again: https://docs.onflow.org/flow-cli/install

0reactions
cybercentcommented, May 29, 2021

@sideninja yes, can be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

hashAlg option in ipfs.add does not work , it's overridden by ...
hashAlg option in ipfs.add does not work , it's overridden by sha2-256 ... Works Good(sha2-256 algo): ... Doesn't Work (blake2b-256 algo):.
Read more >
You cannot run an application that is signed with a SHA-256 ...
Resolution. To resolve this issue, install the following update on the computer. After you install the update, the GetCertHash() function can store hash...
Read more >
hashlib — Secure hashes and message digests ... - Python Docs
Source code: Lib/hashlib.py This module implements a common interface to many different secure hash and message digest algorithms. Included are the FIPS ...
Read more >
hash - Are there any SHA-256 javascript implementations that ...
The problem is, having established a secure channel with SSL, you no longer need Javascript cryptography; you have "real" cryptography. Which leads to...
Read more >
The Difference Between SHA-1, SHA-2 and SHA-256 Hash ...
An in-depth look at hashing algorithms, how they relate to SSL Certificates and what it means when we discuss SHA-1, SHA-2 and SHA-256....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found