JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
23.61k stars 3.1k forks source link

FIPS & MD5 #737

Open Squid-Bomb opened 2 years ago

Squid-Bomb commented 2 years ago

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

rkcosmos commented 2 years ago

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

suraj99km commented 1 year ago

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 commented 1 year ago

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.