8000 Large RSA keys can break json export · Issue #33 · badkeys/badkeys · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Large RSA keys can break json export #33
Open
@hannob

Description

@hannob

Running badkeys -j on a very large RSA key (16384 bit) together with the json parameter runs into Python's limits for int to string conversion.

See also:
https://docs.python.org/3/library/stdtypes.html#int-max-str-digits

I am not yet sure how to best adress this. Options that crossed my mind:

  • Catch large numbers and put a placeholder in
  • Just limit the RSA key size we allow to begin with
  • Reconsider the JSON format (it is decimal, should it be hex?)
  • Several?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0