Socket
Book a DemoInstallSign in
Socket

keychain-sync

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keychain-sync

access the mac keychain synchronously

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Keychain-Sync

Build Status

Access the mac keychain synchronously

Usage

First, add 'keychain-sync' to your package.json dependencies, or run:

npm install keychain-sync

Then use the following code:


keychainSync = require 'keychain-sync'

keychainSync.setPassword('myAccount', 'myService', '12345')

keychainSync.getPassword('myAccount', 'myService')
# returns '12345'

keychainSync.getPassword('myAccount', 'wrongService')
# returns null

FAQs

Package last updated on 02 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts