Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

androsign: Fix #1031 & #764 - use oscrypto to load public_key instead… #1040

Merged
merged 2 commits into from
Apr 27, 2024

Commits on Apr 22, 2024

  1. androsign: Fix androguard#1031 & androguard#764 - use oscrypto to loa…

    …d public_key instead of asn1crypto
    
    This commit replaces the outdated:
        asn1crypto.keys.PublicKeyInfo().fingerprint call
    
    With the new:
        oscrypto.asymmetric.PublicKey().fingerprint call
    
    ValueError/ve is properly excepted and when printed, it shows "Only DSA keys are generated using a hash algorithm, this key is RSA" for RSA signed apk's.
    
    This commit satisfies the:
    `asn1crypto._errors.APIException: asn1crypto.keys.PublicKeyInfo().fingerprint has been removed, please use oscrypto.asymmetric.PublicKey().fingerprint instead`
    while still keeping the original behavior.
    olokos committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    be77adf View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Update pyproject.toml

    erev0s committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    4df9aed View commit details
    Browse the repository at this point in the history