v1.6.310-233
 1

Secure encrypt a folder or decrypt a file into a folder using AES-256-CBC (like codes, business top secrets).

Install

sudo npm install -g p3x-aes-folder --unsafe-perm=true --allow-root

WARNING

Node v8.0.0 is broken (encrypt/write) - decrypt/read works, it is fixed in 8.1.0.

Breaking change v1.1

The method of using password is changed. Now, it is a bit more secure. Even if you use 2 characters, it will create a 128 characters long password. A bit more secure. To use the old versions you can decrypt it with v1.0.12-7, then encrypt with v1.1+.

Breaking change v1.2

Now the encryption uses 512 new additional rounds with AES-256. I think it will be very slow to break. Imagine AES-256 * 512. :) You can decrypt the previous versions and encrypt with the v1.2 version.

Breaking change v1.3

Additional salt included in the encrypted file. Now, you can find out your file version, so in the future, you may just use the appropriate encrypt/decrypt method. Although, same versions Major.Minor are not breaking.

Breaking change v1.5

NPM Archiver changed to v2.0, so AES Folder is changed. Please decrypt your below 1.5 verision krip file and encrypt with latest krip above 1.5.0.

Breaking change v1.6

The encryption security of the P3X AES FOLDER is increased from 512 rounds to 2048, so you can decrypt the previous version and encrypt with v1.6.

Versions

vMajor.Minor.Build-Commit
v1.6.2-67

Usage

Help

krip help
krip v1.6.2-67

usage:
krip help                 - this help info
krip info input?          - if omit input, it uses krip.krip
krip read|decrypt input?  - if omit input, it uses krip.krip
krip write|encrypt input? - if omit input, it uses current krip directory

Write / Encrypt

# krip is the folder, you can ommit totally, 
# if you are in a folder that has a krip this folder name 
krip write /home/patrikx3/ramdisk/krip
Generated command:
krip write /home/patrikx3/ramdisk/krip

Password? ****************
Password confirm? ****************
file done
3845754 total bytes

Read / Decrypt

# krip.krip is the file you use,
# but you can ommit totally, 
# if you are in a folder that has a file krip.krip 
krip read /home/patrikx3/ramdisk/krip.krip
Generated command:
krip read /home/patrikx3/ramdisk/krip.krip

Password? ****************

/home/patrikx3/ramdisk/krip.krip file v1.6.2-67
p3x-aes-folder package v1.6.2-67
Built on Node v8.3.0

read file
decypher done
decrypt done
unzip done
p3x CIA
aes-folderangular-compilecorifeuscorifeus-app-server-patrikx3corifeus-app-web-pagescorifeus-buildercorifeus-builder-angularcorifeus-servercorifeus-server-deployercorifeus-utilscorifeus-webcorifeus-web-materialdocker-registry-clientfreenomgrunt-p3x-expresshtml-pdflede-insomnialede-mariadblede-redisonenoteramdiskredis-commandersystemd-managertools