OpenSSL AES-256-CBC...
 
Notifications
Clear all

OpenSSL AES-256-CBC Decrypt Issue

2 Posts
2 Users
0 Reactions
5,457 Views
(@fra93)
Eminent Member
Joined: 6 years ago
Posts: 11
Topic starter  

I'm trying to decrypt a .tgz archive with OpenSSL in Windows.
I use this command:

openssl aes-256-cbc -d -a -pbkdf2 -in "C:\archive.tgz.enc" -out:"C:\decrypt.tgz"

 

I'll get this error:

bad decrypt
74470000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:providers\implementations\ciphers\ciphercommon_block.c:124:

 

Can someone help me to figure out what is going on?
Thanks.


   
Quote
(@Anonymous 6593)
Guest
Joined: 17 years ago
Posts: 1158
 

As the message appears to give a source file reference, it is probably an internal bug trap or assertion that fails.  No matter what you provide for input, no program should do that.

As far as I can make out, it is not a standard Windows command. So ... report it as a bug to whereever you got that openssl from. After verifying that you have the latest version, and that you have installed it according to instructions.

On the very off chance that you have cited the command line correctly, take a second look at it: it doesn't look as if it is correct after '-out'.

 


   
ReplyQuote
Share: