0001 EXDECRYPT(8)
0002 ============
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 exdecrypt - Decrypt the string value
0009
0010
0011 SYNOPSIS
0012 --------
0013 *exdecrypt* STRING [STRING...]
0014
0015
0016 DESCRIPTION
0017 -----------
0018 Program decrypts one or many *STRING* value passed on command line.
0019 In the result program prints to *stdout* clear string value.
0020 The debug is configured in standard way as for all other binaries via
0021 'ndrxdebug.conf' or Common Config.
0022
0023 The encrypted value of the string can be made by *exencrypt(8)* utility.
0024
0025 Encryption keys which are used for string encryption are provided either by using
0026 built-in algorithm (username+hostname) hashed with SHA1.
0027 Or from vendor specific loaded plugin.
0028
0029 The encryption principles allows to encrypt the sensitive data and store on disk
0030 in PCI/DSS compatible way. And *exdecrypt* can be used for scripts to get in
0031 runtime the clear values needed.
0032
0033 In case of decrypt failure, logs needs to be analyzed. There could be problems
0034 with base64 string or invalid encryption key. In case decrypt process founds
0035 the binary zero (0x00 byte) in output string, error is generated automatically,
0036 because this value if forbidden in string decryption.
0037
0038 EXAMPLE
0039 -------
0040
0041 Single string decryption:
0042
0043 --------------------------------------------------------------------------------
0044 $ exdecrypt AAAAC196L/d4Sj4OC8cSZh2492I=
0045 HELLO WORLD
0046 --------------------------------------------------------------------------------
0047
0048
0049 Two string decryption:
0050
0051 --------------------------------------------------------------------------------
0052 $ exdecrypt AAAABbBtKbtIv9BXe1SioTYi5xw= AAAABRaPhXxibr6ZktcZ6S71i50=
0053 HELLO
0054 WORLD
0055 --------------------------------------------------------------------------------
0056
0057 EXIT STATUS
0058 -----------
0059 *0*::
0060 Success
0061
0062 *1*::
0063 Failure
0064
0065 BUGS
0066 ----
0067 Report bugs to support@mavimax.com
0068
0069 SEE ALSO
0070 --------
0071 *exencrypt(8)*, *ex_env(5)*, *ndrxdebug.conf(5)*
0072
0073 COPYING
0074 -------
0075 (C) Mavimax, ltd.
0076