Enhance Configuration Variables with Secure Encryption and Session Management #5500
Labels
blocked-reason:breaking-change
This is a breaking change that can only be done in a major release
status:ready
This issue is ready to be worked on
Background
Hardhat introduced configuration variables as a way to manage user-specific values and sensitive data separately from the code repository (as per issue #2265). While this was a step in the right direction, the current implementation stores these variables in plain text, which is not ideal for highly sensitive information like private keys.
Feature Request
We propose enhancing the existing configuration variables feature with built-in encryption support and secure session management to provide a more robust solution for managing sensitive data.
Proposed Functionality
Encryption at Rest:
Secure Session Management:
Classified Variables:
Secure Input:
Benefits
Potential Implementation
Questions for Discussion
We believe this enhancement would significantly improve the security posture of Hardhat projects, especially for teams working with valuable assets on public blockchains, while maintaining a smooth developer experience.
Search terms
secrets encryption configuration variables
The text was updated successfully, but these errors were encountered: