Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth security and UX improvements #114

Open
maninak opened this issue Apr 24, 2024 · 0 comments
Open

Auth security and UX improvements #114

maninak opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature extending the app's current capabilities

Comments

@maninak
Copy link
Collaborator

maninak commented Apr 24, 2024

Given that running rad auth unlocks the identity OS-wide in the most popular setups with ssh-agent and the fact that we automatically store the user's passphrase (albeit safely in VS Code's vault), we should augment our auth flow to better as follows:

  • communicate to the user that we can securely store their passphrase for their convenience
    • try to also communicate the availability of a related command to de-authenticate, clearing any stored passphrase and locking ssh-agent
  • only store the user's passphrase after the user has explicitly selected to do so
  • by default don't store the passphrase permanently. Use it to perform whichever task prompted its recall and upon task completion (success or failure) erase it from memory
  • if the extension auto-unlocked the identity on initialization then it should also auto-lock (without clearing the stored passphrase) before exit
  • add a new command in the palette to authenticate any time at will.
  • the (de-)auth commands should be (un-)available according to the current auth status
  • (optional) show auth status on the UI
    • perhaps show the alias (or DID as fallback) with a radicle/person icon on the statusbar. On click it could copy the DID or have additional options like (de-)auth.
@maninak maninak added the enhancement New feature extending the app's current capabilities label Apr 24, 2024
@maninak maninak changed the title Request explicit permission before storing radicle passphrase Auth security and UX improvements Apr 24, 2024
@maninak maninak moved this to 🆕 Backlog in Radicle VS Code Extension Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature extending the app's current capabilities
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant