Project

General

Profile

Bug #2258

Decryption fails with $decrypt

Added by jon chris over 3 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
10/16/2015
Due date:
% Done:

0%

Estimated time:
Operative System:
Windows 10
Regression:
No

Description

When I run this on the betabuild portable 32 and 64bit
var %text $encrypt(Hello World, test)
echo -ag $decrypt(%text, test)
I get this :
0ƭ ~ò�.�trD�

before I found $encrypt and $decrypt I was using the blowfish fork.
And I have gotten similar issues with cbc decryption there too.

History

#1

Updated by Per Amundsen over 3 years ago

Thanks this is fixed for next beta.

The blowfish dll is not related to this, I will try update it from upstream.

#2

Updated by Per Amundsen over 3 years ago

  • Status changed from New to Resolved
#3

Updated by Per Amundsen over 3 years ago

mirc fish is updated now, using next AdiIRC beta, encoding should be more reliable.

https://dev.adiirc.com/projects/adiirc/wiki/Blowfish

#4

Updated by jon chris over 3 years ago

Per Amundsen wrote:

mirc fish is updated now, using next AdiIRC beta, encoding should be more reliable.

https://dev.adiirc.com/projects/adiirc/wiki/Blowfish

Thanks for the quickfix, btw does $encrypt use cbc mode?

#5

Updated by Per Amundsen over 3 years ago

No it uses EBC.

#6

Updated by Per Amundsen about 2 months ago

  • Status changed from Resolved to Closed
  • Target version changed from 1.9.9 to 3.3

Was keeping this open in case I figured out how to do CBC, but I just learned even ECB is not working properly so
$encrypt is gonna be disabled in 3.3, consider using the blowfish plugin instead https://dev.adiirc.com/projects/adiirc/wiki/Blowfish, it also supports CBC.

Also available in: Atom PDF