Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Check for ROCA factorisation weaknesses #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpalmer
Copy link
Contributor

@mpalmer mpalmer commented Oct 17, 2017

Based on sample Python code from https://github.com/crocs-muni/roca.

@pzb
Copy link
Contributor

pzb commented Feb 18, 2018

What would you think if having a class that tests for weak keys? ROCA is one example, Debian weak keys are another, so are keys with small factors. The class would take a OpenSSL::PKey (rather than cert) so it can be used with CSRs and such.

If you agree, I'll merge then refactor.

@mpalmer
Copy link
Contributor Author

mpalmer commented Feb 18, 2018

Sounds reasonable to have a whole bucket of key-related checks in one place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants