0

I have an curious problem with my script. The script runs very fast ,when i use GnuPG 1.x. With GnuPG 2.x it runs very slow at encryption/decryption, and i have no idea why.

Versions: GnuPG 1.4.20-6 / GnuPG 2.1.11-7, both on Debian Testing x64

Commandlines:

gpg -z 0 --yes --no-tty --symmetric --cipher-algo twofish --digest-algo sha512 --passphrase-file $KEYFILE

gpg2 -z 0 --yes --batch --no-tty --symmetric --cipher-algo twofish --digest-algo sha512 --passphrase-file $KEYFILE

Both are working without any problems. Only the speed of GnuPG 2.x versus GnuPG 1.x is horrobly slow.

Any suggestions?

1 Answers1

1

RNG seems to be depleted. If they're on the same host with the same libraries linked and built from source - then there's no other problem should be than RNG. It's especially visible/reproduceable if you're generating a long key: GPGv1 will be faster