onflow / onflow/flow-cli

CLI should warn users about their keys in flow.json for mainnet accounts

Open
#601 4 comments 0 reactions 1 assignee View on GitHub

@chasefleming is already working on this.

Since Mar 30, 2023.

Feature Feedback
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

We should have the CLI check all the accounts in flow.json and determine if an account is a mainnet account and if it contains the secret key, we should then warn the user in all the commands they are executing (similar to how the outdated version warning looks like) that they should follow the security recommendation for mainnet accounts which would link to a document explaining all the secure alternatives they can take.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.