EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

FIPS & MD5

Open Squid-Bomb opened this issue 3 years ago • 4 comments

Is there a plan to migrate this to support sha512 instead of md5? Since md5 is not allowed on a fips system. image

Squid-Bomb avatar May 25 '22 12:05 Squid-Bomb

Unfortunately, no. It is probably not allowed because it is a weak encryption. However md5 is not for security purpose here.

rkcosmos avatar Aug 07 '22 10:08 rkcosmos

Hey, I am also facing this issue of easyOCR being not compliant with FIPS, due to which I am not able to deploy my easyOCR based application on private rhel servers. Any fix for this?

suraj99km avatar Jul 12 '23 17:07 suraj99km

Hi, I resolved my issue though not by updating the module but by removing the calculate_md5() check on the if elif statement for both detection and recognizer as it is only checking the file with md5sum I guess. Hence, I skipped the process, as I am using offline models. Thanks to the developer for creating this package, it makes my job easier, though I want to research more on how I can optimize the code such that it takes less time on Rhel servers. Any suggestions would be greatly appreciated.

suraj99km avatar Jul 14 '23 12:07 suraj99km