I think Steve posted a while back that those ciphers require special handling 
and do not work with the enc command yet.

....................................
Erik Tkal
Juniper OAC/UAC/Pulse Development


From: [email protected] [mailto:[email protected]] 
On Behalf Of [email protected]
Sent: Thursday, October 11, 2012 12:19 PM
To: [email protected]
Subject: id-aes256-GCM command line encrypt+decrypt fail

Hello,
I am trying to encrypt and decrypt a string using command-line openssl (1.0.1c) 
with the id-aes256-GCM algorithm, but every time it fails

echo -n "bla" | openssl enc -e -id-aes256-GCM -nosalt -a -out t.out
openssl enc -d -id-aes256-GCM -nosalt -a -in t.out

bad decrypt

This is true whether I use manually specified key/IV or password, with or 
without salt. The same commands work with other algorithms. What am I missing?

Thanks
Mark

Reply via email to