Replies: 1 comment
-
thank you, it's shipped in 1.8.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
publicKeyDER
method for inRSA.swift
only supports the conversion of RSA keys that have a exponent that is exactly 3 bytes long.Most commonly, exponents are either 65537 or 3 and while an exponent of 3 can be vulnerable it is a valid exponent; the common exponents have byte lengths of 3 and 1. In addition, exponents can be non standard and have a byte length that is not 3 or 1.
PR: #1029 adds support for the conversion of RSA keys with an exponent of any length.
Beta Was this translation helpful? Give feedback.
All reactions