Download the PHP package jnativel/sentinel-vault without Composer

On this page you can find all versions of the php package jnativel/sentinel-vault. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sentinel-vault

SentinelVault โ€” Secure Key Management and Encryption (KMS)

SentinelVault is a standalone PHP class providing a lightweight Key Management System (KMS).
It securely handles encryption, decryption, and user-specific Data Encryption Keys (DEX), all protected by a master key.


๐Ÿ” Features


๐Ÿงฉ Architecture Overview

DEX JSON structure (before encryption)


โš™๏ธ Installation

Requirements

Usage


๐Ÿ•“ DEX Lifecycle Management

Metadata fields

Field Type Description
status string ACTIVE, SUSPENDED, or REVOKED
exp string ISO-8601 UTC expiration date
meta object Arbitrary metadata (tags, labels, etc.)

Access control

When using encryptWithDex() or decryptWithDex():


๐Ÿ” Master Key Rotation

Rotate all stored DEX blobs when the master key changes.


โ™ป๏ธ DEX Rekeying

Regenerate the internal user encryption key while keeping metadata intact.


๐Ÿงช DEX Metadata Access

You can safely read non-sensitive information from a DEX without exposing its internal key.


๐Ÿงฑ Security Design


๐Ÿงฐ Advanced Operations

Method Description
createDexKey($dexAd, $userAD, $opts) Create a new DEX with optional metadata
getDexMeta($dexBlob, $dexAd) Read DEX metadata without revealing the private key
encryptWithDex($dexBlob, $dexAd, $plaintext) Encrypt data using a DEX
decryptWithDex($dexBlob, $dexAd, $ciphertext) Decrypt data using a DEX
rotateDexMasterKey($dexBlob, $currentDexAd, $newMasterKeyB64, $newDexAd = null) Re-encrypt DEX with a new master key
rekeyDexUserKey($dexBlob, $dexAd) Regenerate internal DEX key

๐Ÿงฟ Example Workflow

  1. System initialization

  2. Create a user DEX

  3. Encrypt user data

  4. Rotate master key later

๐Ÿง  Design Principles


๐Ÿงญ Operational Separation & Service Model (Recommended)

For stronger security, run SentinelVault in an isolated environment, separate from your main application.

Why

Running the vault as an independent service ensures that even if your app is compromised, attackers cannot access the master key or decrypt sensitive data.
It also allows independent deployment, scaling, auditing, and key rotation.

How

Example API endpoints

Summary

Separating SentinelVault from your main stack:

๐Ÿ“„ License

MIT License (c) 2025 Jimmy NATIVEL


All versions of sentinel-vault with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-sodium Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jnativel/sentinel-vault contains the following files

Loading the files please wait ...