archethic-foundation / archethic-foundation/bridge
Encrypt the secret with Wallet
- Dominant language
- Dart
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem?
Currently the bridge generates a random secret in EVM->AE process to be used in the withdraw EVM process
This secret is available in the logs of the local history
### Describe the solution you'd like
To improve the security, it could be good to encrypt the secret with the Archethic current account's public key
### Additional context
_No response_
### Epic
_No response_
Contributor guide
Research direction
Start by inspecting the linked pull request #237 and the bridge flow described in this issue. Identify where the secret is generated, logged, and consumed, then verify that the completed change protects it with the Archethic account public key without breaking the withdrawal flow or leaving the plaintext secret in local history.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- blockchain, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100