Skip to content

mnaza/rd_themis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rd_themis

Redis module for Themis

This module provides a simple and secure way to store data in Redis and later get them.

Quick start guide

  1. Build a Redis server with support for modules.

  2. Build the rd_themis module:

    git clone --recursive https://github.com/cossacklabs/rd_themis
    make
    
  3. To load the module, Start Redis with the --loadmodule /path/to/module.so option, add it as a directive to the configuration file or send a MODULE LOAD command.

Commands

rd_themis.cset key password data

Works like the standard Redis SET command, but stores the encrypted data (encrypted with themis secure cell in seal mode) instead of the clear data.

rd_themis.cget key password

Decrypt and return stored data.

rd_themis.msset key public_key data

Works like the standard Redis SET command, but stores the encrypted data (encrypted by themis secure message with randomly generated key pair and public_key) instead of the clear data.

rd_themis.msget key private_key

Decrypt and return stored data.

Commands alternatives uses RedisModule_BlockClient API

rd_themis.csetbl key password data

Works like the standard Redis SET command, but stores the encrypted data (encrypted with themis secure cell in seal mode) instead of the clear data.

rd_themis.cgetbl key password

Decrypt and return stored data.

rd_themis.mssetbl key public_key data

Works like the standard Redis SET command, but stores the encrypted data (encrypted by themis secure message with randomly generated key pair and public_key) instead of the clear data.

rd_themis.msgetbl key private_key

Decrypt and return stored data.

Releases

No releases published

Packages

No packages published