Results 1 to 4 of 4

Thread: openssl, is this a decent level of encryption?

  1. #1
    Join Date
    Oct 2021
    Beans
    2

    openssl, is this a decent level of encryption?

    Hi Folks,
    I am encrypting for storage in the cloud using the following openssl command. Is this secure or can I do better with different openssl arguments?

    #!/bin/bash
    #
    read -p Password: password
    cat $1 | openssl enc -iter 1000 -bf -salt -out $1.dat -pass pass:"$password"

    Cheers,
    Marty

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: openssl, is this a decent level of encryption?

    That all depends on what you mean by "cloud." Are you uploading to S3 or another service?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Oct 2021
    Beans
    2

    Re: openssl, is this a decent level of encryption?

    By cloud I mean uploading to google drive or carrying about with me on a losable usb stick. The encryption is to protect my backups.
    Last edited by mertnlee; October 16th, 2021 at 11:46 PM.

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: openssl, is this a decent level of encryption?

    You can use rclone for syncing to Google Drive, but the setup process seems pretty involved if you want encryption.

    You could always encrypt the USB stick with LUKS or the like rather than try to do file level encryption. VeraCrypt might be more user friendly though.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •