I'm currently running my command as so:
/usr/local/Cellar/libressl/3.0.2/bin/openssl enc -aes-256-gcm -d -in enc.token -out dec.token -iv {IV} -K {KEY}
and the output of that command is bad decrypt
. My output file also looks like it's only half decrypted, with the file looking like
Object(id=998fdsa981sdafkj@ÛP²•v’@v[ðt
- Is that fully decrypted? I believe those symbols represent binary, but it looks like only half of my object got decrypted
- I've been looking up
bad decrypt
and it seems like it has to do with the GCM encryption authentication tag not being supplied to decrypt. Is there a way to supply this to the Libre command? I've been looking through LibreSSL via https://www.libressl.org/ but there seems to be no documentation of any sort.