cytopia / mysqldump-secure

[sh] Encrypted mysqldump script with compression, logging, blacklisting and Nagios/Icinga monitoring integration
https://mysqldump-secure.org
147 stars 38 forks source link

Please Add Decryption Example to Documentation #26

Open sibblegp opened 7 years ago

sibblegp commented 7 years ago

Hello. This is a fantastic product but since the encryption code is so specific, could you please add an example decryption command to your documentation? Thank you!

sibblegp commented 7 years ago

I managed to figure it out. Here's an example we can add to the docs:

openssl smime -decrypt -binary -aes256 -in 2017-02-27_19-03__somesql.sql.enc -out 2017-02-27_19-03__somesql.sql -inform DER -inkey KEY.priv.pem

And just saw the decrypt command in the .conf file. Would be easier if it were on this page: https://mysqldump-secure.org/information/encryption.php