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
RStudio Edition : Desktop
RStudio Version : 1.2.637
OS Version : Windows 10
R Version : 3.4.4, 3.5.0
Steps to reproduce the problem
Set a username/password: key_set_with_value("bobo", username = "bobo_username", password = "bobo_password")
Retrieve the password: key_get("bobo", "bobo_username")
Result: password
[1] "bobo_password"
Update the password using the Credential Manager in the Control Panel
Retrieve the password: key_get("bobo", "bobo_username")
Result: error
Error in b_wincred_get(self, private, service, username, keyring) :
Key contains embedded null bytes, use get_raw()
Describe the problem in detail
When a keyring password is updated in Windows, key_get() returns an error instead of the password.
Describe the behavior you expected
The updated password would be returned. key_get_raw() doesn't help, as it returns a different error:
> key_get_raw("bobo", "bobo_username")
Error in b_wincred_get_raw(self, private, service, username = NULL, keyring = NULL) :
could not find function "b_wincred_get_raw"
The text was updated successfully, but these errors were encountered:
Issue found using RStudio.
System details
Steps to reproduce the problem
key_set_with_value("bobo", username = "bobo_username", password = "bobo_password")
key_get("bobo", "bobo_username")
key_get("bobo", "bobo_username")
Describe the problem in detail
When a
keyring
password is updated in Windows,key_get()
returns an error instead of the password.Describe the behavior you expected
The updated password would be returned.
key_get_raw()
doesn't help, as it returns a different error:The text was updated successfully, but these errors were encountered: