You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
Currently when generating a key from a seed phrase the phrase is part of the initial command.
near generate-key bob.near --seedPhrase="..."
This is akin to typing out a password is plaintext and will remain in the shell's history. Also currently keys are stored in plaintext, but assuming that that issue was addressed with being encrypted with a password, this would still be an issue.
Solution
Using --seedPhrase instead uses stdin and treats the input like a password when logging in with SSH.
The text was updated successfully, but these errors were encountered:
Secrets must never be passed in command line arguments. On Linux, any process can see command line arguments of any other process, even if this process belongs to a different user.
Currently when generating a key from a seed phrase the phrase is part of the initial command.
This is akin to typing out a password is plaintext and will remain in the shell's history. Also currently keys are stored in plaintext, but assuming that that issue was addressed with being encrypted with a password, this would still be an issue.
Using
--seedPhrase
instead uses stdin and treats the input like a password when logging in with SSH.The text was updated successfully, but these errors were encountered: