mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-08-25 21:08:14 +00:00
Add support for impersonating Firefox 100
Add support for impersonating Firefox 100. The TLS signature is identical to previous versions of Firefox. In addition, upgrade NSS (Firefox's TLS library) to version 3.77 used by Firefox 100. This is not strictly necessary as the previous version used works just fine, but it's better keep up with the newest version.
This commit is contained in:
@@ -40,9 +40,9 @@ RUN cd brotli-${BROTLI_VERSION} && \
|
||||
# Needed for building libnss
|
||||
RUN pip install gyp-next
|
||||
|
||||
ARG NSS_VERSION=nss-3.75
|
||||
ARG NSS_VERSION=nss-3.77
|
||||
# This tarball is already bundled with nspr, a dependency of libnss.
|
||||
ARG NSS_URL=https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_75_RTM/src/nss-3.75-with-nspr-4.32.tar.gz
|
||||
ARG NSS_URL=https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_77_RTM/src/nss-3.77-with-nspr-4.32.tar.gz
|
||||
|
||||
# Download and compile nss.
|
||||
RUN curl -o ${NSS_VERSION}.tar.gz ${NSS_URL}
|
||||
|
||||
Reference in New Issue
Block a user