androwarn segfault in FIPS mode #5

Open
jhumphries opened this Issue Aug 6, 2013 · 0 comments

Comments

Projects
None yet
1 participant

the updates that were made here:
SHA: 6b9845b

cause an error on RHEL6 boxes with FIPS-compliant mode active. In this mode md5 is not allowed, and forces androwarn to segfault.

The most direct fix is the following:

in apk.py line 47:

md5 = hashlib.md5()

update to

md5 = hashlib.md5(usedforsecurity=False)

this has been noted in the commit as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment