keyring icon indicating copy to clipboard operation
keyring copied to clipboard

keyring error (macOS Keychain)

Open 13479776 opened this issue 3 years ago • 3 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.

13479776 avatar Nov 23 '22 07:11 13479776

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

gaborcsardi avatar Nov 23 '22 08:11 gaborcsardi

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

13479776 avatar Nov 23 '22 11:11 13479776

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.

13479776 avatar Nov 23 '22 13:11 13479776