node-keytar icon indicating copy to clipboard operation
node-keytar copied to clipboard

Is it possible to use kSecClassInternetPassword instead of kSecClassGenericPassword

Open n-for-all opened this issue 7 years ago • 2 comments

kSecClassInternetPassword is more usefull, allows us to share password between internet apps, like transmit, safari and any mac app etc.., the find generic password have no benefits of sharing passwords and have no use except the app itself.

is it possible to add findInternetCredentials, AddInternetPassword, etc... that uses kSecClassInternetPassword?

n-for-all avatar Oct 28 '18 12:10 n-for-all

I was just thinking that this would be useful. Maybe it would be helpful to add an option to keytar.js's methods to allow an optional domain to be set.

pducks32 avatar Nov 27 '18 21:11 pducks32

There's a related question in #168 where the caller would like to control the "place" where a credential is stored on Windows.

I'd prefer to not add duplicate APIs that perform the same function but use a different "place" on macOS, but if there's enough interest in this maybe there's a solution that will support cases like this.

shiftkey avatar May 25 '19 15:05 shiftkey