Backup encryption key

Backup encryption key

Oleg Goldshmidt pub at goldshmidt.org
Thu Apr 23 17:17:34 IDT 2009


Dotan Cohen <dotancohen at gmail.com> writes:

>> How do you use the password in an automated backup then?
>>
>
> Actually, I do not automate it. This is the command that I use to make
> the tarball:
> $ tar -zcvf - /home/user/ | openssl des3 -salt -k PASSWORD | dd of=DATE.tbz
>
> And this one to decrypt it:
> $ dd if=DATE.tbz | openssl des3 -d -k PASSWORD | tar zvxf -

So you password appears in cleartext in the shell history, probably in
some logs, is ps output, etc?

-- 
Oleg Goldshmidt | pub at goldshmidt.org



More information about the Linux-il mailing list