Encrypting 1.5 - 4 GB file with command line results in "WARNING: encrypting more than 150 MiB with algorithm CAST5 should be avoided"

miscmael's Avatar


13 May, 2018 04:23 AM

Which of our tools is giving you problems? gpg for mac osx command line

Attach a screenshot of the version info for all installed components (how to: https://gpgtools.tenderapp.com/kb/faq/where-can-i-find-version-info...): See attached.

Describe your problem. Add as much detail as possible. When encrypting a large file with this command shell script:
for files in *.zip
echo echo Starting $files gpg -v -r [email blocked] -o $files.gpg -se $files done

Warning is given: "WARNING: encrypting more than 150 MiB with algorithm CAST5 should be avoided"

What did you expect instead Need to configure gpg so that I'm using an algorithm suitable for the file sizes I am encrypting.

Describe steps leading to the problem. Long time configuration, this is the first time I've seen this message.

Are you using any other Mail.app plugins? No

  1. Support Staff 1 Posted by Steve on 20 May, 2018 01:37 PM

    Steve's Avatar

    Hi Jim,

    this is possibly related to a setting configured in your gpg.conf file (located in ~/.gnupg)
    Unfortunately we are currently very busy implementing a proper mitigation for the efail vulnerability (https://efail.de).
    If solving this problem is a time sensitive matter, we recommend asking on the gnupg users mailling list.


  2. Steve closed this discussion on 17 Jul, 2018 08:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac