-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Many thanks for this package!
On Windows, I can't seem to retrieve existing keys, although the keyring package does seem to find the Windows Credential Manager. The default keyring is not set and the only keyring available has no name:
library(keyring)
default_backend()$keyring_list()
#> keyring num_secrets locked
#> 1 14 FALSE
default_backend()$keyring_default()
#> NULLThe number of 14 is indeed the number of secrets I have under Generic Credentials in the Windows Credential Manager. But list() cannot find any keys:
default_backend()$list()
#> [1] service username
#> <0 rows> (or 0-length row.names)Setting keys via the package does work, and then these are also the only elements found with list():
default_backend()$set_with_value("testservice", "user123", "pw123")
default_backend()$list()
#> service username
#> 1 testservice user123
default_backend()$keyring_list()
#> keyring num_secrets locked
#> 1 15 FALSEThe number of secrets went from 14 to 15. In other words, my existing secrets are not retrievable.
On StackOverflow, somebody had the exact same problem: https://stackoverflow.com/questions/66959772/r-keyring-package-my-keyring-has-disappeared-maybe-what-happened-to-it-and
I'm on keyring 1.3.0 (no code changes have been made since 1.3.0 aside from the pkgdown website) and Windows 10 behind a corporate proxy.