Skip to content

Store your Dat archive's secret key in the macOS keychain.

Notifications You must be signed in to change notification settings

lachenmayer/dat-keychain-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dat-keychain-storage

Store your Dat archive's secret key in the macOS keychain.

This is an extremely simple module wrapping dat-storage, which does all the heavy lifting of storing files in the right places.

Install

npm install dat-keychain-storage

Usage

You can use this anywhere that Dat or Hyperdrive expects a "storage".

const hyperdrive = require('hyperdrive')
const storage = require('dat-keychain-storage')
const archive = hyperdrive(storage('example-archive'), {latest: true})

Check out example.js for a very basic example.

About

Store your Dat archive's secret key in the macOS keychain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published