r-lib / keyring

:closed_lock_with_key: Access the system credential store from R

Home Page:https://keyring.r-lib.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keyring error (macOS Keychain)

13479776 opened this issue · comments

Hi guys,

I used the keyring in mac OS, but when i restart the R, the error was happened, i don't know what happened?

Best, hees

key_set_with_value("R-test-service", "donaldduck", password = "secret")
Error in b_macos_set_with_value(self, private, service, username, password, :
keyring error (macOS Keychain), cannot set password: The user name or passphrase you entered is not correct.

Can you give more details? macOS version? keyring version? What does keyring::keyring_is_locked() say?

Hi gaborcsardi,

I use the MacOS high sierra and keyring version 1.3.1, the error was produced, when my R was restarted.
Best, hees

key_set_with_value("R-test-service", "donaldduck", password = "secret")
Error in b_macos_set_with_value(self, private, service, username, password, :
keyring error (macOS Keychain), cannot set password: The user name or passphrase you entered is not correct.
keyring_is_locked(keyring = NULL)
[1] FALSE

keyring_is_locked()
[1] FALSE

Hi, gaborcsardi,

I found the keyring request the login password of my Mac PC. When i input the login password of my Mac PC, the error was missing. Is that normal? did Keyring need the login password of my Mac PC?

Best wishes,
hees

Error:
key_set_with_value("R-test-service", "donaldduck", password = "secret")
Error in b_macos_set_with_value(self, private, service, username, password, :
keyring error (macOS Keychain), cannot set password: The user name or passphrase you entered is not correct.