Comments (5)
It relates to the Mac OS X keychain API which this was originally designed for. Other platforms were added later.
You can see the description here: https://developer.apple.com/library/mac/documentation/Security/Reference/keychainservices/index.html#//apple_ref/c/func/SecKeychainAddGenericPassword
It is basically just like an id or name to store the password for.
from node-keytar.
So really you can use whatever you want for it, it is just the value by which you can later ask for and delete the password.
from node-keytar.
Thanks for responding!
After importing Keytar, running keytar.addPassword("testService","accountName","password");
returns false
Any idea why that might be? I've done no other real setup, having thought that Keytar would just automatically deal with the keyring details. Was that an incorrect assumption? Is it supposed to be as simple as npm installing keytar and then starting to use it, or am I missing some critical step/thinking about this wrong?
I'm on Fedora 21. gnome-keyring-daemon is running. I'm using node 0.10.35 and npm 1.4.28. npm gave no errors on "npm install keytar"
Thanks for your help.
from node-keytar.
Any idea why that might be?
No sorry, I'd recommend cloning this repository and adding more debugging and then building it and testing it to get more details.
Sorry it doesn't have better error reporting
from node-keytar.
No worries! I will poke around some and let you know if I figure it out.
from node-keytar.
Related Issues (20)
- Prebuild problem on Windows HOT 1
- Not being able to install on Windows. v8.h missing
- electron-rebuild fails after updating keytar to 7.7.0
- WSL Support
- Upgrade dependencies' major versions HOT 7
- https://www.instagram.com/p/CaAP2_VsEFp/?utm_medium=copy_linkc
- [win] handle different value for cred.Persist = CRED_PERSIST_ENTERPRISE;
- [Windows] Old credential comes back after current one is deleted HOT 3
- Keytar installation fails on Alpine Linux (Docker image) HOT 1
- Switch to prebuildify & node-gyp-build HOT 2
- Proposal: Support buffers for binary keychain data
- Not attempting prebuilt install
- setPassword error
- Add a new setPasswordDescription method
- Opt out from having the service name implicitly be concatenated with the account name on windows.
- Setting a password throws strange Error: �ڴ���Դ���㣬�����������” HOT 2
- `FindCredentials` call on Linux without unlocking the key store crashes
- Fails to install on Windows ARM
- Node
- Farewell, my dear Keytar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-keytar.