Skip to content

[Proposal] leo build shouldn't display the private key from the .env file #28974

Description

@mohammadfawaz

💥 Proposal

When running leo build with a .env file available, the following is displayed:

📢 Loading environment variables from a `.env` file in the directory tree.
  - NETWORK=testnet
  - PRIVATE_KEY=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH
  - ENDPOINT=https://api.explorer.provable.com/v1
...

it's probably better and more secure if the private key is not actually displayed. Instead, we could display the corresponding public key.

Metadata

Metadata

Assignees

Labels

proposalA proposal for something new.🖥️ CLIAnything related to the Leo CLI.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions