git clone https://github.com/skeeto/enchive.git
make PREFIX=~/bin/enchive install
ln -s ~/bin/enchive/bin/enchive /usr/local/bin/enchive
xcode-select install
enchive keygen --derive
enchive [--pubkey=<enchive_pub_key>] archive <file>
enchive [--seckey=<enchive_sec_key>] extract <file>.enchive
--agent[=seconds]
permite retener en memoria la contraseña por si hemos de hacer varias operaciones (durante 15 minutos por defecto, o especificar los segundos)enchive fingerprint
--pubkey <file>.pub
: especifica el fichero de clave pública a usar--seckey <file>.sec
: especifica el fichero de clave privada a usarecho "mi mama me mima mucho" | enchive archive | transfer <IDENTIFICADOR>
base64 --output mate2.b64.enchive --input -<<< $(echo "mi mama me mima mucho" | enchive archive) base64 --decode --output mate2.enchive --input mate2.b64.enchive #enchive: checksum mismatch!
curl https://transfer.sh/2bxTD6/mate.test | enchive extract > mate.txt # transfer.sh URL is a example
transfer.sh/<FILE_DESCRIPTOR>/scan <FILE>
transfer.sh/<FILE_DESCRIPTOR>/virustotal <FILE>