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.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • gpg_version_snapshot.png 91.2 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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