diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-10 18:12:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-10 18:12:56 +0000 |
commit | 0a3cd2f44990ff43d60121278b611e9c1003d379 (patch) | |
tree | d47b84acf0a2af4312a2bc08d2100c46cae727e6 /lib/libusbhid | |
parent | 6197e5f7346b0eb36c011b5ba2dacee7c3b60410 (diff) |
When loading a DSA key from an raw (without DH parameters) ASN.1 serialization,
perform some consistency checks on its `p' and `q' values, and return an
error if the checks failed.
Thanks for Georgi Guninski (guninski at guninski dot com) for mentioning
the possibility of a weak (non prime) q value and providing a test case.
See https://cpunks.org/pipermail/cypherpunks/2015-September/009007.html
for a longer discussion.
ok bcook@ beck@
Diffstat (limited to 'lib/libusbhid')
0 files changed, 0 insertions, 0 deletions