r-lib / keyring

:closed_lock_with_key: Access the system credential store from R
https://keyring.r-lib.org/
Other
196 stars 28 forks source link

`key_set_with_password` fails on Windows #150

Open justynafurman opened 6 months ago

justynafurman commented 6 months ago

I've found recently that key_set_with_value function doesn't work anymore. Now, when I run it I'm getting an error as below

> key_set_with_value(keyring="system", service="my-service", username='my-username', password=''my-password")
Error in b_wincred_i_get(target) : 
  Windows credential store error in 'get': Element not found.

I've checked in Ubuntu and everything works as expected, so I'm not sure what is happening.

I use R in version 4.4.0 and keyring package in version 1.3.2

rdboyes commented 1 week ago

I'm having the same issue - any luck resolving this?

rdboyes commented 1 week ago

Solved this - the "solution" is to not specify a keyring, which seems to not be supported on Windows