2017 © Pedro Peláez
 

library vault

Vault

image

aoepeople/vault

Vault

  • Saturday, April 2, 2016
  • by fbrnc
  • Repository
  • 40 Watchers
  • 0 Stars
  • 2,841 Installations
  • PHP
  • 0 Dependents
  • 3 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Vault

Simple vault that allows encrypting and decrypting files based on an encryption key and a mac from environment variables., (*1)

Author: Fabrizio Branca, (*2)

Configuration

export VAULT_ENCRYPTION_KEY=<INSERT_YOUR_ENCRYPTION_KEY>
export VAULT_MAC_KEY=<INSERT_YOU_MAC_KEY>

Key Generation

see https://github.com/archwisp/PHPEncryptData, (*3)

Commands

vault:encrypt <plainTextFilePath> <encryptedFilePath>
vault:decrypt [--force] <encryptedFilePath> <plainTextFilePath>

PHP

Example, (*4)

$plainText = \Vault\Vault::open('vault/config.yml.encrypted');
$config = \Symfony\Component\Yaml\Yaml::parse($plainText);
// and check out \Vault\Vault's other methods...

The Versions

02/04 2016

dev-master

9999999-dev

Vault

  Sources   Download

The Requires

 

02/04 2016