fix(deps): update dependency node-forge to v1 #522
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.10.0
->1.3.1
Release Notes
digitalbazaar/forge
v1.3.1
Compare Source
Fixes
DigestAlgorithm
NULL
parametersfor
sha*
algorithms and requireNULL
paramters formd2
andmd5
algorithms.
v1.3.0
Compare Source
Security
Yahyazadeh ([email protected]).
digestAlgorithm
structure can lead tosignature forgery.
allow a crafted structure that steals padding bytes and uses unchecked
portion of the PKCS#1 encoded message to forge a signature when a low
public exponent is being used. For more information, please see
"Bleichenbacher's RSA signature forgery based on implementation
error"
by Hal Finney.
forgery.
DigestInfo
ASN.1 structure. This can allow padding bytes to be removedand garbage data added to forge a signature when a low public exponent is
being used. For more information, please see "Bleichenbacher's RSA
signature forgery based on implementation
error"
by Hal Finney.
DigestInfo
is not properly checked for proper ASN.1 structure. This canlead to successful verification with signatures that contain invalid
structures but a valid digest.
Fixed
fromDer
is now more strict and will default to ensuring all inputbytes are parsed or throw an error. A new option
parseAllBytes
can disablethis behavior.
security issues with crafted inputs. It is possible that code doing custom
DER parsing may need to adapt to this new behavior and optional flag.
RSASSA-PKCS-v1_5
DigestInfo
data. Additionally check that the hashalgorithm identifier is a known value from RFC 8017
PKCS1-v1-5DigestAlgorithms
. An invalidDigestInfo
or algorithm identifierwill now throw an error.
since it could lead to security issues with crafted inputs. It is possible
that code may have to handle the errors from these stricter checks.
Added
identifiers:
1.2.840.113549.2.2
/md2
2.16.840.1.101.3.4.2.4
/sha224
2.16.840.1.101.3.4.2.5
/sha512-224
2.16.840.1.101.3.4.2.6
/sha512-256
v1.2.1
Compare Source
Fixed
reporting.
URLSearchParams
.v1.2.0
Compare Source
Fixed
message.
Added
1.3.14.3.2.29 / sha1WithRSASignature
for sha1 withRSA. Considered a deprecated equivalent to
1.2.840.113549.1.1.5 / sha1WithRSAEncryption
. See discussion andlinks.
Changed
digest given an signature algorithm OID. Add helper function to verify
signatures.
v1.1.0
Compare Source
Fixed
behavior of openssl.
CERTIFICATE REQUEST" handled as "BEGIN CERTIFICATE REQUEST".
v1.0.0
Compare Source
Notes
code (unrelated to the much wider used cryptography code). The automated and
manual test coverage for this code is weak at best. Issues or patches to
update the code or tests would be appreciated.
Removed
forge.debug
API. The API has thepotential for prototype pollution. This API was only briefly used by the
maintainers for internal project debug purposes and was never intended to be
used with untrusted user inputs. This API was not documented or advertised
and is being removed rather than fixed.
forge.util.parseUrl()
(andforge.http.parseUrl
alias) and use the WHATWG URLStandard.
URL
is supported by modern browersand modern Node.js. This change is needed to address URL parsing security
issues. If
forge.util.parseUrl()
is used directly or throughforge.xhr
orforge.http
APIs, and support is needed for environments withoutURL
support, then a polyfill must be used.
forge.task
API. This API was never used, documented,or advertised by the maintainers. If anyone was using this API and wishes to
continue development it in other project, please let the maintainers know.
Due to use in the test suite, a modified version is located in
tests/support/
.forge.util.makeLink
,forge.util.makeRequest
,forge.util.parseFragment
,forge.util.getQueryVariables
. Replace withURL
,URLSearchParams
, and custom code as needed.Changed
master
branch tomain
.with
v
. Other tools, scripts, or scanners may need to adapt.forge-dist. Install using
another method.
Added
surname
,title
, andgivenName
.Fixed
serialName
toserialNumber
.Depending on how applications used this id to name association it could cause
compatibility issues.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.