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
This issue occurs with the current rstudioapi and keyring packages on CRAN. When a user unchecks the box Remember with keyring it also deletes the secret from the keyring. This is unexpected, especially now that askForPassword calls askForSecret. I would not expect the secret to be deleted when unchecking the box. Instead, I would expect to return the password and leave the secret in the keychain (in essence, I would expect to fall back to askForPassword).
This also raises the question of how to delete secrets in the keyring. From the console, I would just run key_delete(). With the dialogs, you could prompt the user to delete the secret when the entering a NULL value in the input window -- but I personally don't think that's necessary. Until there is a more complete UX for managing secrets in the IDE, I think issuing key_delete() is sufficient for deleting secrets.
Cross posting this to rstudio/rstudioapi#226, because it's hard to tell if the issue is with the
rstudioapi
package or thekeyring
package.The text was updated successfully, but these errors were encountered: