Security
Create an encrypted backup of a directory on MacOS
tar -czvf backup.tar.gz [path]
openssl enc -aes-256-cbc -md sha512 -pbkdf2 -salt \
-in backup.tar.gz \
-out backup.enc
openssl enc -aes-256-cbc -md sha512 -pbkdf2 -salt -d \
-in backup.enc \
-out backup.tar.gz
cache ssh credentials
eval $(ssh-agent)
ssh-add
Links
People
Website | ||
---|---|---|
Bruce Schneier | @schneierblog |