Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyring error (macOS Keychain) #133

Open
13479776 opened this issue Nov 23, 2022 · 3 comments
Open

keyring error (macOS Keychain) #133

13479776 opened this issue Nov 23, 2022 · 3 comments
Labels
reprex needs a minimal reproducible example

Comments

@13479776
Copy link

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.

@gaborcsardi
Copy link
Member

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

@gaborcsardi gaborcsardi added the reprex needs a minimal reproducible example label Nov 23, 2022
@13479776
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants