Repository navigation
chore(deps): update dependency node-forge to >=1.4.4 - #11445
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
>=1.4.3→>=1.4.4Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
digitalbazaar/forge (node-forge)
v1.4.4Compare Source
Security
pki.privateKeyFromPem()andpki.privateKeyFromAsn1()ignore theRSAPrivateKey version and any otherPrimeInfos, so a multi-prime key
(RFC 8017 A.1.2) is read with only its first two primes. forge doesn't
support multi-prime keys: signatures made with such a key are invalid,
and each one reveals a factor of the modulus to anyone who sees it. Keys
that forge or most other tools generate are two-prime and not
affected. Replace multi-prime keys that were used to sign with forge.
#1143.
Fixed
otherPrimeInfos. Reported by @Jennifer-first
(#1143).
to load with "Only two-prime RSAPrivateKey version 0 is supported."
instead of loading and then producing invalid signatures and failing
decryption.
expansion was wrong when the effective key size was not a multiple of 8
bits, and two of the RFC 2268 test vectors failed. Reported by @Martomate
(#1120). From PR
#1150 by
@ArockiaRajamanickam.
of 8 bits. Data encrypted with such sizes by earlier versions doesn't
decrypt with this version (and didn't interoperate with other RC2
implementations). The default (128) and other multiples of 8, including
the 40 and 128 bit sizes used by PKCS#12, are unchanged.
util.encode64(),as Node.js does for 'binary' strings, instead of returning invalid base64.
Input should still be a binary string (use
util.encodeUtf8()for text).Reported in #932.
Based on PR #933 by
@wklaczynski.
digits in SSH and PuTTY key encoding. Integers such as the private
exponent or primes in
ssh.privateKeyToPutty()were sometimes encodedwith an extra leading zero byte, which RFC 4251 doesn't allow, and PuTTY
couldn't load several percent of the keys. Reported by @yammelvin
(#952). From PR
#987 by @romeech91.
util.isNodejsinstead of a missingnavigatorglobal, which Node.js 21+ defines. jsbn used a browser code path with
26-bit digits instead of 28-bit digits on Node.js 21+. Results are the
same. Reported in #1081.
From PR #1082 by
@dhensby.
URLorwindow.location.hrefisn'tavailable (for example in hybrid mobile runtimes and some test
environments). Reported by @elshadsm
(#1117). From PR
#1153 by @cpruijsen
(similar fix in #1103
by @LaelLuo).
crypto.randomBytes()seed data as raw bytes. Itwas decoded as UTF-8, which turned many bytes into U+FFFD and reduced the
entropy of each reseed of forge's PRNG (used by
forge.randomin Node.js)from about 256 to about 156 bits.
Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.