keystore: Managing stores of secret things

[ bsd3, cryptography, library, program ] [ Propose Tags ]

Writing deployment scripts is a critical yet error-prone activity which we would rather do in Haskell. One of the most difficult aspect of deployment scripts is the management of credentials: they cannot be stored in the VCS like almost everything else, but need to be organised and accessed while under lock and key. This is the problem that keystore is trying to solve: flexible, secure and well-typed deployment scripts.

All Haskell

This package is written purely in Hakell and all of the cryptographic packages it relies upon are written in Haskell.

JSON Format

It stores everything in a JSON format that has proven to be stable. We can can use migrations in future should the store need to be reorganized.

Simple and Flexible Underlying Model

The Onion

Perhaps apropriately, the keystore package has several layers. Most users will probably need only the top "batteries-included" layer:

Launch Instructions

See the bottom README on GitHub home page for launch instructions for the deploy example.

0.5 Migration instructions

The formation of the names used in Data.Keystore.Sections derived keystores has changed to fix an issue (#3) that barred hosts, sections and key identifiers from being prefixes of each other. See the changelog for details, especially on how to ensure that an existing Sections-based keystore gets migrated properly.

Versions [faq] 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.1.0, 0.5.1.1, 0.6.0.0, 0.6.1.0, 0.6.1.1, 0.6.2.0, 0.6.3.0, 0.6.3.1, 0.7.0.0, 0.7.0.1, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.1.0, 0.8.1.1
Change log changelog
Dependencies aeson (>=0.6.2), aeson-pretty (>=0.7), api-tools (>=0.4), asn1-encoding (>=0.8.0), asn1-types (>=0.2.0), base (>4 && <5), base64-bytestring (>=1.0), byteable (>=0.1), bytestring (>=0.9), cipher-aes (>=0.2.6), containers (>=0.4), crypto-pubkey (>=0.2.1), crypto-random (>=0.0.7), directory (>=1.2), filepath (>=1.3), keystore, lens (>=3.9.2), mtl (>=2), old-locale (>=1.0.0.5), optparse-applicative (>=0.9.0), pbkdf (>=1.1.1.0), raw-strings-qq (>=1.0.2), regex-compat-tdfa (>=0.95.1), safe (>=0.3.3), text (>=0.11.3), time (>=1.4), unordered-containers (>=0.2.3.0), vector (>=0.10.0.1) [details]
License BSD-3-Clause
Copyright Chris Dornan
Author Chris Dornan
Maintainer chris@chrisdornan.com
Category Cryptography
Home page http://github.com/cdornan/keystore
Source repo head: git clone https://github.com/iconnect/keystore
Uploaded by ChrisDornan at Wed Jul 30 16:16:14 UTC 2014
Distributions NixOS:0.8.1.1
Executables deploy, ks
Downloads 8788 total (211 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
hpcDisabledAutomatic
stacktraceDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees