rolled back eslint version, moved to new widevine module

This commit is contained in:
stratumadev 2025-11-22 23:19:09 +01:00
parent ee6b92909a
commit 13333e2bd1
6 changed files with 147 additions and 3160 deletions

View file

@ -2,16 +2,14 @@ import fs from 'fs';
import { console } from './log';
import { workingDir } from './module.cfg-loader';
import path from 'path';
import { KeyContainer, Session } from './widevine/license';
import * as reqModule from './module.fetch';
import Playready from 'node-playready';
import Widevine, { KeyContainer, LicenseType } from 'widevine';
const req = new reqModule.Req();
//read cdm files located in the same directory
let privateKey: Buffer = Buffer.from([]),
identifierBlob: Buffer = Buffer.from([]),
prd_cdm: Playready | undefined;
let widevine: Widevine | undefined, playready: Playready | undefined;
export let cdm: 'widevine' | 'playready';
export let canDecrypt: boolean;
try {
@ -33,7 +31,7 @@ try {
const zgpriv = fs.readFileSync(file_zgpriv);
// Init Playready Client
prd_cdm = Playready.init(bgroup, zgpriv);
playready = Playready.init(bgroup, zgpriv);
}
} else if ((!bgroup_file_found || !zgpriv_file_found) && prd_file_found) {
const file_prd = path.join(workingDir, 'playready', prd_file_found);
@ -55,13 +53,16 @@ try {
console.warn('Converted deprecated .prd file into bgroupcert.dat and zgpriv.dat.');
prd_cdm = Playready.init(parsed.bgroupcert, parsed.zgpriv);
playready = Playready.init(parsed.bgroupcert, parsed.zgpriv);
}
} catch (e) {
console.error('Error loading Playready CDM. For more informations read the readme.');
console.error(e);
}
let identifierBlob: Buffer = Buffer.from([]);
let privateKey: Buffer = Buffer.from([]);
const files_wvd = fs.readdirSync(path.join(workingDir, 'widevine'));
try {
files_wvd.forEach(function (file) {
@ -69,15 +70,15 @@ try {
const stats = fs.statSync(file);
if (stats.size < 1024 * 8 && stats.isFile()) {
const fileContents = fs.readFileSync(file, { encoding: 'utf8' });
if (fileContents.includes('widevine_cdm_version') && fileContents.includes('oem_crypto_security_patch_level') && !fileContents.startsWith('WVD')) {
identifierBlob = fs.readFileSync(file);
}
if (
(fileContents.includes('-----BEGIN RSA PRIVATE KEY-----') && fileContents.includes('-----END RSA PRIVATE KEY-----')) ||
(fileContents.includes('-----BEGIN PRIVATE KEY-----') && fileContents.includes('-----END PRIVATE KEY-----'))
) {
privateKey = fs.readFileSync(file);
}
if (fileContents.includes('widevine_cdm_version') && fileContents.includes('oem_crypto_security_patch_level') && !fileContents.startsWith('WVD')) {
identifierBlob = fs.readFileSync(file);
}
if (fileContents.startsWith('WVD')) {
console.warn(
'Found WVD file in folder, AniDL currently only supports device_client_id_blob and device_private_key, make sure to have them in the widevine folder.'
@ -87,14 +88,15 @@ try {
});
} catch (e) {
console.error('Error loading Widevine CDM, malformed client blob or private key.');
privateKey = Buffer.from([]);
identifierBlob = Buffer.from([]);
privateKey = Buffer.from([]);
}
if (privateKey.length !== 0 && identifierBlob.length !== 0) {
cdm = 'widevine';
widevine = Widevine.init(identifierBlob, privateKey);
canDecrypt = true;
} else if (prd_cdm) {
} else if (playready) {
cdm = 'playready';
canDecrypt = true;
} else if (privateKey.length === 0 && identifierBlob.length !== 0) {
@ -112,17 +114,17 @@ try {
}
export async function getKeysWVD(pssh: string | undefined, licenseServer: string, authData: Record<string, string>): Promise<KeyContainer[]> {
if (!pssh || !canDecrypt) return [];
if (!pssh || !canDecrypt || !widevine) return [];
// pssh found in the mpd manifest
const psshBuffer = Buffer.from(pssh, 'base64');
// Create a new widevine session
const session = new Session({ privateKey, identifierBlob }, psshBuffer);
const session = widevine.createSession(psshBuffer, LicenseType.STREAMING);
// Request License
const licReq = await req.getData(licenseServer, {
method: 'POST',
body: session.createLicenseRequest(),
body: session.generateChallenge(),
headers: authData
});
@ -142,10 +144,10 @@ export async function getKeysWVD(pssh: string | undefined, licenseServer: string
}
export async function getKeysPRD(pssh: string | undefined, licenseServer: string, authData: Record<string, string>): Promise<KeyContainer[]> {
if (!pssh || !canDecrypt || !prd_cdm) return [];
if (!pssh || !canDecrypt || !playready) return [];
// Generate Playready challenge
const session = await prd_cdm.generateChallenge(pssh);
const session = playready.generateChallenge(pssh);
// Fetch license
const licReq = await req.getData(licenseServer, {
@ -161,7 +163,7 @@ export async function getKeysPRD(pssh: string | undefined, licenseServer: string
// Parse License and return keys
try {
const keys = await prd_cdm.parseLicense(Buffer.from(await licReq.res.text(), 'utf-8'));
const keys = playready.parseLicense(Buffer.from(await licReq.res.text(), 'utf-8'));
return keys.map((k) => {
return {
kid: k.kid,

View file

@ -1,113 +0,0 @@
// Modified version of https://github.com/Frooastside/node-widevine
import crypto from 'crypto';
export class AES_CMAC {
private readonly BLOCK_SIZE = 16;
private readonly XOR_RIGHT = Buffer.from([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87]);
private readonly EMPTY_BLOCK_SIZE_BUFFER = Buffer.alloc(this.BLOCK_SIZE) as Buffer;
private _key: Buffer;
private _subkeys: { first: Buffer; second: Buffer };
public constructor(key: Buffer) {
if (![16, 24, 32].includes(key.length)) {
throw new Error('Key size must be 128, 192, or 256 bits.');
}
this._key = key;
this._subkeys = this._generateSubkeys();
}
public calculate(message: Buffer): Buffer {
const blockCount = this._getBlockCount(message);
let x = this.EMPTY_BLOCK_SIZE_BUFFER;
let y;
for (let i = 0; i < blockCount - 1; i++) {
const from = i * this.BLOCK_SIZE;
const block = message.subarray(from, from + this.BLOCK_SIZE);
y = this._xor(x, block);
x = this._aes(y);
}
y = this._xor(x, this._getLastBlock(message));
x = this._aes(y);
return x;
}
private _generateSubkeys(): { first: Buffer; second: Buffer } {
const l = this._aes(this.EMPTY_BLOCK_SIZE_BUFFER);
let first = this._bitShiftLeft(l);
if (l[0] & 0x80) {
first = this._xor(first, this.XOR_RIGHT);
}
let second = this._bitShiftLeft(first);
if (first[0] & 0x80) {
second = this._xor(second, this.XOR_RIGHT);
}
return { first: first, second: second };
}
private _getBlockCount(message: Buffer): number {
const blockCount = Math.ceil(message.length / this.BLOCK_SIZE);
return blockCount === 0 ? 1 : blockCount;
}
private _aes(message: Buffer): Buffer {
const cipher = crypto.createCipheriv(`aes-${this._key.length * 8}-cbc`, this._key, Buffer.alloc(this.BLOCK_SIZE));
const result = cipher.update(message).subarray(0, 16);
cipher.destroy();
return result;
}
private _getLastBlock(message: Buffer): Buffer {
const blockCount = this._getBlockCount(message);
const paddedBlock = this._padding(message, blockCount - 1);
let complete = false;
if (message.length > 0) {
complete = message.length % this.BLOCK_SIZE === 0;
}
const key = complete ? this._subkeys.first : this._subkeys.second;
return this._xor(paddedBlock, key);
}
private _padding(message: Buffer, blockIndex: number): Buffer {
const block = Buffer.alloc(this.BLOCK_SIZE);
const from = blockIndex * this.BLOCK_SIZE;
const slice = message.subarray(from, from + this.BLOCK_SIZE);
block.set(slice);
if (slice.length !== this.BLOCK_SIZE) {
block[slice.length] = 0x80;
}
return block;
}
private _bitShiftLeft(input: Buffer): Buffer {
const output = Buffer.alloc(input.length);
let overflow = 0;
for (let i = input.length - 1; i >= 0; i--) {
output[i] = (input[i] << 1) | overflow;
overflow = input[i] & 0x80 ? 1 : 0;
}
return output;
}
private _xor(a: Buffer, b: Buffer): Buffer {
const length = Math.min(a.length, b.length);
const output = Buffer.alloc(length);
for (let i = 0; i < length; i++) {
output[i] = a[i] ^ b[i];
}
return output;
}
}

View file

@ -1,303 +0,0 @@
// Modified version of https://github.com/Frooastside/node-widevine
import { AES_CMAC } from './cmac';
import forge from 'node-forge';
import {
ClientIdentification,
ClientIdentificationSchema,
DrmCertificateSchema,
EncryptedClientIdentification,
EncryptedClientIdentificationSchema,
LicenseRequest,
LicenseRequest_ContentIdentification_WidevinePsshDataSchema,
LicenseRequest_ContentIdentificationSchema,
LicenseRequest_RequestType,
LicenseRequestSchema,
LicenseSchema,
LicenseType,
ProtocolVersion,
SignedDrmCertificate,
SignedDrmCertificateSchema,
SignedMessage,
SignedMessage_MessageType,
SignedMessageSchema,
WidevinePsshData,
WidevinePsshDataSchema
} from './license_protocol_pb3';
import { create, fromBinary, toBinary } from '@bufbuild/protobuf';
const WIDEVINE_SYSTEM_ID = new Uint8Array([0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6, 0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc, 0xd5, 0x1d, 0x21, 0xed]);
const WIDEVINE_ROOT_PUBLIC_KEY = new Uint8Array([
0x30, 0x82, 0x01, 0x8a, 0x02, 0x82, 0x01, 0x81, 0x00, 0xb4, 0xfe, 0x39, 0xc3, 0x65, 0x90, 0x03, 0xdb, 0x3c, 0x11, 0x97, 0x09, 0xe8, 0x68, 0xcd, 0xf2, 0xc3, 0x5e, 0x9b, 0xf2,
0xe7, 0x4d, 0x23, 0xb1, 0x10, 0xdb, 0x87, 0x65, 0xdf, 0xdc, 0xfb, 0x9f, 0x35, 0xa0, 0x57, 0x03, 0x53, 0x4c, 0xf6, 0x6d, 0x35, 0x7d, 0xa6, 0x78, 0xdb, 0xb3, 0x36, 0xd2, 0x3f,
0x9c, 0x40, 0xa9, 0x95, 0x26, 0x72, 0x7f, 0xb8, 0xbe, 0x66, 0xdf, 0xc5, 0x21, 0x98, 0x78, 0x15, 0x16, 0x68, 0x5d, 0x2f, 0x46, 0x0e, 0x43, 0xcb, 0x8a, 0x84, 0x39, 0xab, 0xfb,
0xb0, 0x35, 0x80, 0x22, 0xbe, 0x34, 0x23, 0x8b, 0xab, 0x53, 0x5b, 0x72, 0xec, 0x4b, 0xb5, 0x48, 0x69, 0x53, 0x3e, 0x47, 0x5f, 0xfd, 0x09, 0xfd, 0xa7, 0x76, 0x13, 0x8f, 0x0f,
0x92, 0xd6, 0x4c, 0xdf, 0xae, 0x76, 0xa9, 0xba, 0xd9, 0x22, 0x10, 0xa9, 0x9d, 0x71, 0x45, 0xd6, 0xd7, 0xe1, 0x19, 0x25, 0x85, 0x9c, 0x53, 0x9a, 0x97, 0xeb, 0x84, 0xd7, 0xcc,
0xa8, 0x88, 0x82, 0x20, 0x70, 0x26, 0x20, 0xfd, 0x7e, 0x40, 0x50, 0x27, 0xe2, 0x25, 0x93, 0x6f, 0xbc, 0x3e, 0x72, 0xa0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x58, 0x93, 0x3c, 0xac, 0x12, 0xd2, 0x88, 0x6d, 0x41, 0x3d, 0xc5, 0xfe, 0x1c, 0xdc, 0xb9, 0xf8, 0xd4, 0x51, 0x3e, 0x07, 0xe5, 0x03, 0x6f, 0xa7, 0x12, 0xe8, 0x12,
0xf7, 0xb5, 0xce, 0xa6, 0x96, 0x55, 0x3f, 0x78, 0xb4, 0x64, 0x82, 0x50, 0xd2, 0x33, 0x5f, 0x91, 0x02, 0x03, 0x01, 0x00, 0x01
]);
export const SERVICE_CERTIFICATE_CHALLENGE = new Uint8Array([0x08, 0x04]);
const COMMON_SERVICE_CERTIFICATE = new Uint8Array([
0x08, 0x05, 0x12, 0xc7, 0x05, 0x0a, 0xc1, 0x02, 0x08, 0x03, 0x12, 0x10, 0x17, 0x05, 0xb9, 0x17, 0xcc, 0x12, 0x04, 0x86, 0x8b, 0x06, 0x33, 0x3a, 0x2f, 0x77, 0x2a, 0x8c, 0x18,
0x82, 0xb4, 0x82, 0x92, 0x05, 0x22, 0x8e, 0x02, 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0x99, 0xed, 0x5b, 0x3b, 0x32, 0x7d, 0xab, 0x5e, 0x24, 0xef, 0xc3, 0xb6,
0x2a, 0x95, 0xb5, 0x98, 0x52, 0x0a, 0xd5, 0xbc, 0xcb, 0x37, 0x50, 0x3e, 0x06, 0x45, 0xb8, 0x14, 0xd8, 0x76, 0xb8, 0xdf, 0x40, 0x51, 0x04, 0x41, 0xad, 0x8c, 0xe3, 0xad, 0xb1,
0x1b, 0xb8, 0x8c, 0x4e, 0x72, 0x5a, 0x5e, 0x4a, 0x9e, 0x07, 0x95, 0x29, 0x1d, 0x58, 0x58, 0x40, 0x23, 0xa7, 0xe1, 0xaf, 0x0e, 0x38, 0xa9, 0x12, 0x79, 0x39, 0x30, 0x08, 0x61,
0x0b, 0x6f, 0x15, 0x8c, 0x87, 0x8c, 0x7e, 0x21, 0xbf, 0xfb, 0x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4d, 0xd4, 0x75, 0xfd, 0x96, 0xee, 0x9c, 0xe4, 0xe3, 0x26, 0xf2, 0x1b, 0x83, 0xc7, 0x05, 0x85, 0x77,
0xb3, 0x87, 0x32, 0xcd, 0xda, 0xbc, 0x6a, 0x6b, 0xed, 0x13, 0xfb, 0x0d, 0x49, 0xd3, 0x8a, 0x45, 0xeb, 0x87, 0xa5, 0xf4
]);
export type KeyContainer = {
kid: string;
key: string;
};
export type ContentDecryptionModule = {
privateKey: Buffer;
identifierBlob: Buffer;
};
export class Session {
private _devicePrivateKey: forge.pki.rsa.PrivateKey;
private _identifierBlob: ClientIdentification;
private _pssh: Buffer;
private _rawLicenseRequest?: Buffer;
private _serviceCertificate?: SignedDrmCertificate;
constructor(contentDecryptionModule: ContentDecryptionModule, pssh: Buffer) {
this._devicePrivateKey = forge.pki.privateKeyFromPem(contentDecryptionModule.privateKey.toString('binary'));
this._identifierBlob = fromBinary(ClientIdentificationSchema, contentDecryptionModule.identifierBlob);
this._pssh = pssh;
}
async setDefaultServiceCertificate() {
await this.setServiceCertificate(Buffer.from(COMMON_SERVICE_CERTIFICATE));
}
async setServiceCertificateFromMessage(rawSignedMessage: Buffer) {
const signedMessage: SignedMessage = fromBinary(SignedMessageSchema, rawSignedMessage);
if (!signedMessage.msg) {
throw new Error('the service certificate message does not contain a message');
}
await this.setServiceCertificate(Buffer.from(signedMessage.msg));
}
async setServiceCertificate(serviceCertificate: Buffer) {
const signedServiceCertificate: SignedDrmCertificate = fromBinary(SignedDrmCertificateSchema, serviceCertificate);
if (!(await this._verifyServiceCertificate(signedServiceCertificate))) {
throw new Error('Service certificate is not signed by the Widevine root certificate');
}
this._serviceCertificate = signedServiceCertificate;
}
createLicenseRequest(licenseType: LicenseType = LicenseType.STREAMING, android: boolean = false): Buffer {
if (!this._pssh.subarray(12, 28).equals(Buffer.from(WIDEVINE_SYSTEM_ID))) {
throw new Error('the pssh is not an actuall pssh');
}
const pssh = this._parsePSSH(this._pssh);
if (!pssh) {
throw new Error('pssh is invalid');
}
const licenseRequest: LicenseRequest = create(LicenseRequestSchema, {
type: LicenseRequest_RequestType.NEW,
contentId: create(LicenseRequest_ContentIdentificationSchema, {
contentIdVariant: {
case: 'widevinePsshData',
value: create(LicenseRequest_ContentIdentification_WidevinePsshDataSchema, {
psshData: [this._pssh.subarray(32)],
licenseType: licenseType,
requestId: android ? this._generateAndroidIdentifier() : this._generateGenericIdentifier()
})
}
}),
requestTime: BigInt(Date.now()) / BigInt(1000),
protocolVersion: ProtocolVersion.VERSION_2_1,
keyControlNonce: Math.floor(Math.random() * 2 ** 31)
});
if (this._serviceCertificate) {
const encryptedClientIdentification = this._encryptClientIdentification(this._identifierBlob, this._serviceCertificate);
licenseRequest.encryptedClientId = encryptedClientIdentification;
} else {
licenseRequest.clientId = this._identifierBlob;
}
this._rawLicenseRequest = Buffer.from(toBinary(LicenseRequestSchema, licenseRequest));
const pss: forge.pss.PSS = forge.pss.create({ md: forge.md.sha1.create(), mgf: forge.mgf.mgf1.create(forge.md.sha1.create()), saltLength: 20 });
const md = forge.md.sha1.create();
md.update(this._rawLicenseRequest.toString('binary'), 'raw');
const signature = Buffer.from(this._devicePrivateKey.sign(md, pss), 'binary');
const signedLicenseRequest: SignedMessage = create(SignedMessageSchema, {
type: SignedMessage_MessageType.LICENSE_REQUEST,
msg: this._rawLicenseRequest,
signature: signature
});
return Buffer.from(toBinary(SignedMessageSchema, signedLicenseRequest));
}
parseLicense(rawLicense: Buffer) {
if (!this._rawLicenseRequest) {
throw new Error('please request a license first');
}
const signedLicense = fromBinary(SignedMessageSchema, rawLicense);
if (!signedLicense.sessionKey) {
throw new Error('the license does not contain a session key');
}
if (!signedLicense.msg) {
throw new Error('the license does not contain a message');
}
if (!signedLicense.signature) {
throw new Error('the license does not contain a signature');
}
const sessionKey = this._devicePrivateKey.decrypt(Buffer.from(signedLicense.sessionKey).toString('binary'), 'RSA-OAEP', {
md: forge.md.sha1.create()
});
const cmac = new AES_CMAC(Buffer.from(sessionKey, 'binary'));
const encKeyBase = Buffer.concat([Buffer.from('ENCRYPTION'), Buffer.from('\x00', 'ascii'), this._rawLicenseRequest, Buffer.from('\x00\x00\x00\x80', 'ascii')]);
const authKeyBase = Buffer.concat([Buffer.from('AUTHENTICATION'), Buffer.from('\x00', 'ascii'), this._rawLicenseRequest, Buffer.from('\x00\x00\x02\x00', 'ascii')]);
const encKey = cmac.calculate(Buffer.concat([Buffer.from('\x01'), encKeyBase]));
const serverKey = Buffer.concat([cmac.calculate(Buffer.concat([Buffer.from('\x01'), authKeyBase])), cmac.calculate(Buffer.concat([Buffer.from('\x02'), authKeyBase]))]);
/*const clientKey = Buffer.concat([
cmac.calculate(Buffer.concat([Buffer.from("\x03"), authKeyBase])),
cmac.calculate(Buffer.concat([Buffer.from("\x04"), authKeyBase]))
]);*/
const hmac = forge.hmac.create();
hmac.start(forge.md.sha256.create(), serverKey.toString('binary'));
hmac.update(Buffer.from(signedLicense.msg).toString('binary'));
const calculatedSignature = Buffer.from(hmac.digest().data, 'binary');
if (!calculatedSignature.equals(signedLicense.signature)) {
throw new Error('signatures do not match');
}
const license = fromBinary(LicenseSchema, signedLicense.msg);
const keyContainers = license.key
.filter((k) => k.id)
.map((keyContainer) => {
if (keyContainer.type && keyContainer.key && keyContainer.iv) {
const keyId = Buffer.from(keyContainer.id!).toString('hex');
const decipher = forge.cipher.createDecipher('AES-CBC', encKey.toString('binary'));
decipher.start({ iv: Buffer.from(keyContainer.iv).toString('binary') });
decipher.update(forge.util.createBuffer(new Uint8Array(keyContainer.key)));
decipher.finish();
const decryptedKey = Buffer.from(decipher.output.data, 'binary');
const key: KeyContainer = {
kid: keyId,
key: decryptedKey.toString('hex')
};
return key;
}
});
if (keyContainers.filter((container) => !!container).length < 1) {
throw new Error('there was not a single valid key in the response');
}
return keyContainers;
}
private _encryptClientIdentification(clientIdentification: ClientIdentification, signedServiceCertificate: SignedDrmCertificate): EncryptedClientIdentification {
if (!signedServiceCertificate.drmCertificate) {
throw new Error('the service certificate does not contain an actual certificate');
}
const serviceCertificate = fromBinary(DrmCertificateSchema, signedServiceCertificate.drmCertificate);
if (!serviceCertificate.publicKey) {
throw new Error('the service certificate does not contain a public key');
}
const key = forge.random.getBytesSync(16);
const iv = forge.random.getBytesSync(16);
const cipher = forge.cipher.createCipher('AES-CBC', key);
cipher.start({ iv: iv });
cipher.update(forge.util.createBuffer(toBinary(ClientIdentificationSchema, clientIdentification)));
cipher.finish();
const rawEncryptedClientIdentification = Buffer.from(cipher.output.data, 'binary');
const publicKey = forge.pki.publicKeyFromAsn1(forge.asn1.fromDer(Buffer.from(serviceCertificate.publicKey).toString('binary')));
const encryptedKey = publicKey.encrypt(key, 'RSA-OAEP', { md: forge.md.sha1.create() });
const encryptedClientIdentification: EncryptedClientIdentification = create(EncryptedClientIdentificationSchema, {
encryptedClientId: rawEncryptedClientIdentification,
encryptedClientIdIv: Buffer.from(iv, 'binary'),
encryptedPrivacyKey: Buffer.from(encryptedKey, 'binary'),
providerId: serviceCertificate.providerId,
serviceCertificateSerialNumber: serviceCertificate.serialNumber
});
return encryptedClientIdentification;
}
private async _verifyServiceCertificate(signedServiceCertificate: SignedDrmCertificate): Promise<boolean> {
if (!signedServiceCertificate.drmCertificate) {
throw new Error('the service certificate does not contain an actual certificate');
}
if (!signedServiceCertificate.signature) {
throw new Error('the service certificate does not contain a signature');
}
const publicKey = forge.pki.publicKeyFromAsn1(forge.asn1.fromDer(Buffer.from(WIDEVINE_ROOT_PUBLIC_KEY).toString('binary')));
const pss: forge.pss.PSS = forge.pss.create({ md: forge.md.sha1.create(), mgf: forge.mgf.mgf1.create(forge.md.sha1.create()), saltLength: 20 });
const sha1 = forge.md.sha1.create();
sha1.update(Buffer.from(signedServiceCertificate.drmCertificate).toString('binary'), 'raw');
return publicKey.verify(sha1.digest().bytes(), Buffer.from(signedServiceCertificate.signature).toString('binary'), pss);
}
private _parsePSSH(pssh: Buffer): WidevinePsshData | null {
try {
return fromBinary(WidevinePsshDataSchema, pssh.subarray(32));
} catch {
return null;
}
}
private _generateAndroidIdentifier(): Buffer {
return Buffer.from(`${forge.util.bytesToHex(forge.random.getBytesSync(8))}${'01'}${'00000000000000'}`);
}
private _generateGenericIdentifier(): Buffer {
return Buffer.from(forge.random.getBytesSync(16), 'binary');
}
get pssh(): Buffer {
return this._pssh;
}
}

File diff suppressed because one or more lines are too long

View file

@ -52,30 +52,27 @@
"lookpath": "^1.2.3",
"m3u8-parsed": "^2.0.0",
"mpd-parser": "^1.3.1",
"node-forge": "^1.3.1",
"node-playready": "^1.1.0",
"node-playready": "^1.1.1",
"open": "^11.0.0",
"protobufjs": "^7.5.4",
"puppeteer-real-browser": "^1.4.4",
"undici": "^7.16.0",
"widevine": "^1.0.1",
"ws": "^8.18.3",
"yaml": "^2.8.1"
},
"devDependencies": {
"@bufbuild/buf": "^1.60.0",
"@bufbuild/protoc-gen-es": "^2.10.1",
"@eslint/js": "^9.39.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.5",
"@types/ffprobe": "^1.1.8",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.10.1",
"@types/node-forge": "^1.3.14",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"@yao-pkg/pkg": "^6.10.1",
"esbuild": "^0.27.0",
"esbuild": "0.26.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.6.2",

View file

@ -44,12 +44,9 @@ importers:
mpd-parser:
specifier: ^1.3.1
version: 1.3.1
node-forge:
specifier: ^1.3.1
version: 1.3.1
node-playready:
specifier: ^1.1.0
version: 1.1.0
specifier: ^1.1.1
version: 1.1.1
open:
specifier: ^11.0.0
version: 11.0.0
@ -62,6 +59,9 @@ importers:
undici:
specifier: ^7.16.0
version: 7.16.0
widevine:
specifier: ^1.0.1
version: 1.0.1
ws:
specifier: ^8.18.3
version: 8.18.3
@ -69,12 +69,6 @@ importers:
specifier: ^2.8.1
version: 2.8.1
devDependencies:
'@bufbuild/buf':
specifier: ^1.60.0
version: 1.60.0
'@bufbuild/protoc-gen-es':
specifier: ^2.10.1
version: 2.10.1(@bufbuild/protobuf@2.10.1)
'@eslint/js':
specifier: ^9.39.1
version: 9.39.1
@ -93,9 +87,6 @@ importers:
'@types/node':
specifier: ^24.10.1
version: 24.10.1
'@types/node-forge':
specifier: ^1.3.14
version: 1.3.14
'@types/ws':
specifier: ^8.18.1
version: 8.18.1
@ -109,8 +100,8 @@ importers:
specifier: ^6.10.1
version: 6.10.1
esbuild:
specifier: ^0.27.0
version: 0.27.0
specifier: 0.26.0
version: 0.26.0
eslint:
specifier: ^9.39.1
version: 9.39.1
@ -160,225 +151,165 @@ packages:
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
engines: {node: '>=6.9.0'}
'@bufbuild/buf-darwin-arm64@1.60.0':
resolution: {integrity: sha512-3C/+EVyHnTGEl0DQ2GISab86IyE0jI4A65m059/BT0LFOF4vPbJU7bHO3Zzz+sFDWer+Ddi+93Tph+pWoxGI9A==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
'@bufbuild/buf-darwin-x64@1.60.0':
resolution: {integrity: sha512-hS6BLLJGJj1FfA0m/pGI/ihv2i4/kin7pQlY1x1rE/FOwzpDFveLVKht+o6dt38cz2HSjLcItOrnke7D4hLBsg==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
'@bufbuild/buf-linux-aarch64@1.60.0':
resolution: {integrity: sha512-arpgQZ3YZ6RQ6xwCAfKaBHS7wlQBxBDeWSEb+KXOkCGu6fcJX+4b80vUWIVJPE+j2tfpIv02ncWLCwU1tyWeuA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
'@bufbuild/buf-linux-armv7@1.60.0':
resolution: {integrity: sha512-4vDsFgo1m5+J/kY8L58tbnPlpbt6FUO5ngKSIporCTZ+VfpiMiK8R6kh0Tp7PDOO3nAyTqzY/V6h+APnewsuOQ==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
'@bufbuild/buf-linux-x64@1.60.0':
resolution: {integrity: sha512-E3p1o1VLUxiPnTvOUXU5A37CeF3zbvNZYZQzZT2KZvMCbjch1ZG2zFBmgRtuGsid2aQ260O5NXurh+abDg3boA==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
'@bufbuild/buf-win32-arm64@1.60.0':
resolution: {integrity: sha512-c3udQuwdCOZk5ijeQKT64rbXvzRvJzXqOLjOn+2loM/Yhx6csoOKzCRPxlGKP8qLy45woSoH/tfiBPzuvFKeLA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
'@bufbuild/buf-win32-x64@1.60.0':
resolution: {integrity: sha512-xu/o0wJHK+KL/kvfbV/3UvcelJ+DAwxMwhjrGG0mCq91MY+wKXaQHwv28MDjHtSC71+aV81A/YgJDcQjpQtZkg==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
'@bufbuild/buf@1.60.0':
resolution: {integrity: sha512-RF7EcwHF9wGUs4EBSweHtXZHfVL7bqkSPD1zwgJmG/ejo/I7KXS8+mT56fjw4r6MNgyNTV9F9gVfTsx4D6vhhA==}
engines: {node: '>=12'}
hasBin: true
'@bufbuild/protobuf@2.10.1':
resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==}
'@bufbuild/protoc-gen-es@2.10.1':
resolution: {integrity: sha512-vsfbWs1X93oX+sMMJ7910/OwIizAYH5IOAArsxnSTifiop1fVgLFPAvJBLiHZoNMI8B/lbqji2SFwvjK0AWO1Q==}
engines: {node: '>=20'}
hasBin: true
peerDependencies:
'@bufbuild/protobuf': 2.10.1
peerDependenciesMeta:
'@bufbuild/protobuf':
optional: true
'@bufbuild/protoplugin@2.10.1':
resolution: {integrity: sha512-imB8dKEjrOnG5+XqVS+CeYn924WGLU/g3wogKhk11XtX9y9NJ7432OS6h24asuBbLrQcPdEZ6QkfM7KeOCeeyQ==}
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
'@esbuild/aix-ppc64@0.27.0':
resolution: {integrity: sha512-KuZrd2hRjz01y5JK9mEBSD3Vj3mbCvemhT466rSuJYeE/hjuBrHfjjcjMdTm/sz7au+++sdbJZJmuBwQLuw68A==}
'@esbuild/aix-ppc64@0.26.0':
resolution: {integrity: sha512-hj0sKNCQOOo2fgyII3clmJXP28VhgDfU5iy3GNHlWO76KG6N7x4D9ezH5lJtQTG+1J6MFDAJXC1qsI+W+LvZoA==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [aix]
'@esbuild/android-arm64@0.27.0':
resolution: {integrity: sha512-CC3vt4+1xZrs97/PKDkl0yN7w8edvU2vZvAFGD16n9F0Cvniy5qvzRXjfO1l94efczkkQE6g1x0i73Qf5uthOQ==}
'@esbuild/android-arm64@0.26.0':
resolution: {integrity: sha512-DDnoJ5eoa13L8zPh87PUlRd/IyFaIKOlRbxiwcSbeumcJ7UZKdtuMCHa1Q27LWQggug6W4m28i4/O2qiQQ5NZQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
'@esbuild/android-arm@0.27.0':
resolution: {integrity: sha512-j67aezrPNYWJEOHUNLPj9maeJte7uSMM6gMoxfPC9hOg8N02JuQi/T7ewumf4tNvJadFkvLZMlAq73b9uwdMyQ==}
'@esbuild/android-arm@0.26.0':
resolution: {integrity: sha512-C0hkDsYNHZkBtPxxDx177JN90/1MiCpvBNjz1f5yWJo1+5+c5zr8apjastpEG+wtPjo9FFtGG7owSsAxyKiHxA==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
'@esbuild/android-x64@0.27.0':
resolution: {integrity: sha512-wurMkF1nmQajBO1+0CJmcN17U4BP6GqNSROP8t0X/Jiw2ltYGLHpEksp9MpoBqkrFR3kv2/te6Sha26k3+yZ9Q==}
'@esbuild/android-x64@0.26.0':
resolution: {integrity: sha512-bKDkGXGZnj0T70cRpgmv549x38Vr2O3UWLbjT2qmIkdIWcmlg8yebcFWoT9Dku7b5OV3UqPEuNKRzlNhjwUJ9A==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
'@esbuild/darwin-arm64@0.27.0':
resolution: {integrity: sha512-uJOQKYCcHhg07DL7i8MzjvS2LaP7W7Pn/7uA0B5S1EnqAirJtbyw4yC5jQ5qcFjHK9l6o/MX9QisBg12kNkdHg==}
'@esbuild/darwin-arm64@0.26.0':
resolution: {integrity: sha512-6Z3naJgOuAIB0RLlJkYc81An3rTlQ/IeRdrU3dOea8h/PvZSgitZV+thNuIccw0MuK1GmIAnAmd5TrMZad8FTQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
'@esbuild/darwin-x64@0.27.0':
resolution: {integrity: sha512-8mG6arH3yB/4ZXiEnXof5MK72dE6zM9cDvUcPtxhUZsDjESl9JipZYW60C3JGreKCEP+p8P/72r69m4AZGJd5g==}
'@esbuild/darwin-x64@0.26.0':
resolution: {integrity: sha512-OPnYj0zpYW0tHusMefyaMvNYQX5pNQuSsHFTHUBNp3vVXupwqpxofcjVsUx11CQhGVkGeXjC3WLjh91hgBG2xw==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
'@esbuild/freebsd-arm64@0.27.0':
resolution: {integrity: sha512-9FHtyO988CwNMMOE3YIeci+UV+x5Zy8fI2qHNpsEtSF83YPBmE8UWmfYAQg6Ux7Gsmd4FejZqnEUZCMGaNQHQw==}
'@esbuild/freebsd-arm64@0.26.0':
resolution: {integrity: sha512-jix2fa6GQeZhO1sCKNaNMjfj5hbOvoL2F5t+w6gEPxALumkpOV/wq7oUBMHBn2hY2dOm+mEV/K+xfZy3mrsxNQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
'@esbuild/freebsd-x64@0.27.0':
resolution: {integrity: sha512-zCMeMXI4HS/tXvJz8vWGexpZj2YVtRAihHLk1imZj4efx1BQzN76YFeKqlDr3bUWI26wHwLWPd3rwh6pe4EV7g==}
'@esbuild/freebsd-x64@0.26.0':
resolution: {integrity: sha512-tccJaH5xHJD/239LjbVvJwf6T4kSzbk6wPFerF0uwWlkw/u7HL+wnAzAH5GB2irGhYemDgiNTp8wJzhAHQ64oA==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
'@esbuild/linux-arm64@0.27.0':
resolution: {integrity: sha512-AS18v0V+vZiLJyi/4LphvBE+OIX682Pu7ZYNsdUHyUKSoRwdnOsMf6FDekwoAFKej14WAkOef3zAORJgAtXnlQ==}
'@esbuild/linux-arm64@0.26.0':
resolution: {integrity: sha512-IMJYN7FSkLttYyTbsbme0Ra14cBO5z47kpamo16IwggzzATFY2lcZAwkbcNkWiAduKrTgFJP7fW5cBI7FzcuNQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
'@esbuild/linux-arm@0.27.0':
resolution: {integrity: sha512-t76XLQDpxgmq2cNXKTVEB7O7YMb42atj2Re2Haf45HkaUpjM2J0UuJZDuaGbPbamzZ7bawyGFUkodL+zcE+jvQ==}
'@esbuild/linux-arm@0.26.0':
resolution: {integrity: sha512-JY8NyU31SyRmRpuc5W8PQarAx4TvuYbyxbPIpHAZdr/0g4iBr8KwQBS4kiiamGl2f42BBecHusYCsyxi7Kn8UQ==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
'@esbuild/linux-ia32@0.27.0':
resolution: {integrity: sha512-Mz1jxqm/kfgKkc/KLHC5qIujMvnnarD9ra1cEcrs7qshTUSksPihGrWHVG5+osAIQ68577Zpww7SGapmzSt4Nw==}
'@esbuild/linux-ia32@0.26.0':
resolution: {integrity: sha512-XITaGqGVLgk8WOHw8We9Z1L0lbLFip8LyQzKYFKO4zFo1PFaaSKsbNjvkb7O8kEXytmSGRkYpE8LLVpPJpsSlw==}
engines: {node: '>=18'}
cpu: [ia32]
os: [linux]
'@esbuild/linux-loong64@0.27.0':
resolution: {integrity: sha512-QbEREjdJeIreIAbdG2hLU1yXm1uu+LTdzoq1KCo4G4pFOLlvIspBm36QrQOar9LFduavoWX2msNFAAAY9j4BDg==}
'@esbuild/linux-loong64@0.26.0':
resolution: {integrity: sha512-MkggfbDIczStUJwq9wU7gQ7kO33d8j9lWuOCDifN9t47+PeI+9m2QVh51EI/zZQ1spZtFMC1nzBJ+qNGCjJnsg==}
engines: {node: '>=18'}
cpu: [loong64]
os: [linux]
'@esbuild/linux-mips64el@0.27.0':
resolution: {integrity: sha512-sJz3zRNe4tO2wxvDpH/HYJilb6+2YJxo/ZNbVdtFiKDufzWq4JmKAiHy9iGoLjAV7r/W32VgaHGkk35cUXlNOg==}
'@esbuild/linux-mips64el@0.26.0':
resolution: {integrity: sha512-fUYup12HZWAeccNLhQ5HwNBPr4zXCPgUWzEq2Rfw7UwqwfQrFZ0SR/JljaURR8xIh9t+o1lNUFTECUTmaP7yKA==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
'@esbuild/linux-ppc64@0.27.0':
resolution: {integrity: sha512-z9N10FBD0DCS2dmSABDBb5TLAyF1/ydVb+N4pi88T45efQ/w4ohr/F/QYCkxDPnkhkp6AIpIcQKQ8F0ANoA2JA==}
'@esbuild/linux-ppc64@0.26.0':
resolution: {integrity: sha512-MzRKhM0Ip+//VYwC8tialCiwUQ4G65WfALtJEFyU0GKJzfTYoPBw5XNWf0SLbCUYQbxTKamlVwPmcw4DgZzFxg==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
'@esbuild/linux-riscv64@0.27.0':
resolution: {integrity: sha512-pQdyAIZ0BWIC5GyvVFn5awDiO14TkT/19FTmFcPdDec94KJ1uZcmFs21Fo8auMXzD4Tt+diXu1LW1gHus9fhFQ==}
'@esbuild/linux-riscv64@0.26.0':
resolution: {integrity: sha512-QhCc32CwI1I4Jrg1enCv292sm3YJprW8WHHlyxJhae/dVs+KRWkbvz2Nynl5HmZDW/m9ZxrXayHzjzVNvQMGQA==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
'@esbuild/linux-s390x@0.27.0':
resolution: {integrity: sha512-hPlRWR4eIDDEci953RI1BLZitgi5uqcsjKMxwYfmi4LcwyWo2IcRP+lThVnKjNtk90pLS8nKdroXYOqW+QQH+w==}
'@esbuild/linux-s390x@0.26.0':
resolution: {integrity: sha512-1D6vi6lfI18aNT1aTf2HV+RIlm6fxtlAp8eOJ4mmnbYmZ4boz8zYDar86sIYNh0wmiLJEbW/EocaKAX6Yso2fw==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
'@esbuild/linux-x64@0.27.0':
resolution: {integrity: sha512-1hBWx4OUJE2cab++aVZ7pObD6s+DK4mPGpemtnAORBvb5l/g5xFGk0vc0PjSkrDs0XaXj9yyob3d14XqvnQ4gw==}
'@esbuild/linux-x64@0.26.0':
resolution: {integrity: sha512-rnDcepj7LjrKFvZkx+WrBv6wECeYACcFjdNPvVPojCPJD8nHpb3pv3AuR9CXgdnjH1O23btICj0rsp0L9wAnHA==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
'@esbuild/netbsd-arm64@0.27.0':
resolution: {integrity: sha512-6m0sfQfxfQfy1qRuecMkJlf1cIzTOgyaeXaiVaaki8/v+WB+U4hc6ik15ZW6TAllRlg/WuQXxWj1jx6C+dfy3w==}
'@esbuild/netbsd-arm64@0.26.0':
resolution: {integrity: sha512-FSWmgGp0mDNjEXXFcsf12BmVrb+sZBBBlyh3LwB/B9ac3Kkc8x5D2WimYW9N7SUkolui8JzVnVlWh7ZmjCpnxw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
'@esbuild/netbsd-x64@0.27.0':
resolution: {integrity: sha512-xbbOdfn06FtcJ9d0ShxxvSn2iUsGd/lgPIO2V3VZIPDbEaIj1/3nBBe1AwuEZKXVXkMmpr6LUAgMkLD/4D2PPA==}
'@esbuild/netbsd-x64@0.26.0':
resolution: {integrity: sha512-0QfciUDFryD39QoSPUDshj4uNEjQhp73+3pbSAaxjV2qGOEDsM67P7KbJq7LzHoVl46oqhIhJ1S+skKGR7lMXA==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
'@esbuild/openbsd-arm64@0.27.0':
resolution: {integrity: sha512-fWgqR8uNbCQ/GGv0yhzttj6sU/9Z5/Sv/VGU3F5OuXK6J6SlriONKrQ7tNlwBrJZXRYk5jUhuWvF7GYzGguBZQ==}
'@esbuild/openbsd-arm64@0.26.0':
resolution: {integrity: sha512-vmAK+nHhIZWImwJ3RNw9hX3fU4UGN/OqbSE0imqljNbUQC3GvVJ1jpwYoTfD6mmXmQaxdJY6Hn4jQbLGJKg5Yw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
'@esbuild/openbsd-x64@0.27.0':
resolution: {integrity: sha512-aCwlRdSNMNxkGGqQajMUza6uXzR/U0dIl1QmLjPtRbLOx3Gy3otfFu/VjATy4yQzo9yFDGTxYDo1FfAD9oRD2A==}
'@esbuild/openbsd-x64@0.26.0':
resolution: {integrity: sha512-GPXF7RMkJ7o9bTyUsnyNtrFMqgM3X+uM/LWw4CeHIjqc32fm0Ir6jKDnWHpj8xHFstgWDUYseSABK9KCkHGnpg==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
'@esbuild/openharmony-arm64@0.27.0':
resolution: {integrity: sha512-nyvsBccxNAsNYz2jVFYwEGuRRomqZ149A39SHWk4hV0jWxKM0hjBPm3AmdxcbHiFLbBSwG6SbpIcUbXjgyECfA==}
'@esbuild/openharmony-arm64@0.26.0':
resolution: {integrity: sha512-nUHZ5jEYqbBthbiBksbmHTlbb5eElyVfs/s1iHQ8rLBq1eWsd5maOnDpCocw1OM8kFK747d1Xms8dXJHtduxSw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openharmony]
'@esbuild/sunos-x64@0.27.0':
resolution: {integrity: sha512-Q1KY1iJafM+UX6CFEL+F4HRTgygmEW568YMqDA5UV97AuZSm21b7SXIrRJDwXWPzr8MGr75fUZPV67FdtMHlHA==}
'@esbuild/sunos-x64@0.26.0':
resolution: {integrity: sha512-TMg3KCTCYYaVO+R6P5mSORhcNDDlemUVnUbb8QkboUtOhb5JWKAzd5uMIMECJQOxHZ/R+N8HHtDF5ylzLfMiLw==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
'@esbuild/win32-arm64@0.27.0':
resolution: {integrity: sha512-W1eyGNi6d+8kOmZIwi/EDjrL9nxQIQ0MiGqe/AWc6+IaHloxHSGoeRgDRKHFISThLmsewZ5nHFvGFWdBYlgKPg==}
'@esbuild/win32-arm64@0.26.0':
resolution: {integrity: sha512-apqYgoAUd6ZCb9Phcs8zN32q6l0ZQzQBdVXOofa6WvHDlSOhwCWgSfVQabGViThS40Y1NA4SCvQickgZMFZRlA==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
'@esbuild/win32-ia32@0.27.0':
resolution: {integrity: sha512-30z1aKL9h22kQhilnYkORFYt+3wp7yZsHWus+wSKAJR8JtdfI76LJ4SBdMsCopTR3z/ORqVu5L1vtnHZWVj4cQ==}
'@esbuild/win32-ia32@0.26.0':
resolution: {integrity: sha512-FGJAcImbJNZzLWu7U6WB0iKHl4RuY4TsXEwxJPl9UZLS47agIZuILZEX3Pagfw7I4J3ddflomt9f0apfaJSbaw==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
'@esbuild/win32-x64@0.27.0':
resolution: {integrity: sha512-aIitBcjQeyOhMTImhLZmtxfdOcuNRpwlPNmlFKPcHQYPhEssw75Cl1TSXJXpMkzaua9FUetx/4OQKq7eJul5Cg==}
'@esbuild/win32-x64@0.26.0':
resolution: {integrity: sha512-WAckBKaVnmFqbEhbymrPK7M086DQMpL1XoRbpmN0iW8k5JSXjDRQBhcZNa0VweItknLq9eAeCL34jK7/CDcw7A==}
engines: {node: '>=18'}
cpu: [x64]
os: [win32]
@ -572,9 +503,6 @@ packages:
'@types/ms@2.1.0':
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
'@types/node-forge@1.3.14':
resolution: {integrity: sha512-mhVF2BnD4BO+jtOp7z1CdzaK4mbuK0LLQYAvdOLqHTavxFNq4zA1EmYkpnFjP8HOUzedfQkRnp0E2ulSAYSzAw==}
'@types/node@24.10.1':
resolution: {integrity: sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==}
@ -658,11 +586,6 @@ packages:
resolution: {integrity: sha512-SIV3/6eftCy1bNzCQoPmbWsRLujS8t5iDIZ4spZOBHqrM+yfX2ogg8Tt3PDTAVKw3sSCiUgg30uOAvK2r9zGjQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript/vfs@1.6.2':
resolution: {integrity: sha512-hoBwJwcbKHmvd2QVebiytN1aELvpk9B74B4L1mFm/XT1Q/VOYAWl2vQ9AWRFtQq8zmz6enTpfTV8WRc4ATjW/g==}
peerDependencies:
typescript: '*'
'@videojs/vhs-utils@4.0.0':
resolution: {integrity: sha512-xJp7Yd4jMLwje2vHCUmi8MOUU76nxiwII3z4Eg3Ucb+6rrkFVGosrXlMgGnaLjq724j3wzNElRZ71D/CKrTtxg==}
engines: {node: '>=8', npm: '>=5'}
@ -706,10 +629,6 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
aes-cmac@4.0.0:
resolution: {integrity: sha512-HhYx38lyXTYYVR7WdgN9LRdls63t3RXAUDUUpKrEVgyOTiqVanc1FBxh7Mncuu7Q1VyNU+HRSZHdAYefBL7Hcg==}
engines: {node: '>=20.19.2'}
agent-base@6.0.2:
resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
engines: {node: '>= 6.0.0'}
@ -1017,8 +936,8 @@ packages:
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'}
esbuild@0.27.0:
resolution: {integrity: sha512-jd0f4NHbD6cALCyGElNpGAOtWxSq46l9X/sWB0Nzd5er4Kz2YTm+Vl0qKFT9KUJvD8+fiO8AvoHhFvEatfVixA==}
esbuild@0.26.0:
resolution: {integrity: sha512-3Hq7jri+tRrVWha+ZeIVhl4qJRha/XjRNSopvTsOaCvfPHrflTYTcUFcEjMKdxofsXXsdc4zjg5NOTnL4Gl57Q==}
engines: {node: '>=18'}
hasBin: true
@ -1566,8 +1485,8 @@ packages:
node-int64@0.4.0:
resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==}
node-playready@1.1.0:
resolution: {integrity: sha512-AZ7HIqI8aHtqj2MrjgCKKoo90fFXh7hfAeodjnN5CikO81ik9JF/qEbb4T+FTIVgxOr4iK/DplybSmbaUcH7GA==}
node-playready@1.1.1:
resolution: {integrity: sha512-lGoS0T4cVnRZA5mQbHOn31EXqRwijb0pXdxISCL8cjFhE6DjWjEtlcCL/XgpUFwODajVUg5GI0zFVJZOH4nRtg==}
object-assign@4.1.1:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
@ -1991,11 +1910,6 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
typescript@5.4.5:
resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==}
engines: {node: '>=14.17'}
hasBin: true
typescript@5.9.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
@ -2056,6 +1970,9 @@ packages:
engines: {node: '>= 8'}
hasBin: true
widevine@1.0.1:
resolution: {integrity: sha512-xbFxyuyrq/BYBeTI42PsotGEgT/pNcJDD6EU8Y9vldvm28Ql7RnpDSiZO01EuZHihBsfYPmOFLk13iPelvqD2w==}
word-wrap@1.2.5:
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
engines: {node: '>=0.10.0'}
@ -2154,135 +2071,88 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
'@bufbuild/buf-darwin-arm64@1.60.0':
optional: true
'@bufbuild/buf-darwin-x64@1.60.0':
optional: true
'@bufbuild/buf-linux-aarch64@1.60.0':
optional: true
'@bufbuild/buf-linux-armv7@1.60.0':
optional: true
'@bufbuild/buf-linux-x64@1.60.0':
optional: true
'@bufbuild/buf-win32-arm64@1.60.0':
optional: true
'@bufbuild/buf-win32-x64@1.60.0':
optional: true
'@bufbuild/buf@1.60.0':
optionalDependencies:
'@bufbuild/buf-darwin-arm64': 1.60.0
'@bufbuild/buf-darwin-x64': 1.60.0
'@bufbuild/buf-linux-aarch64': 1.60.0
'@bufbuild/buf-linux-armv7': 1.60.0
'@bufbuild/buf-linux-x64': 1.60.0
'@bufbuild/buf-win32-arm64': 1.60.0
'@bufbuild/buf-win32-x64': 1.60.0
'@bufbuild/protobuf@2.10.1': {}
'@bufbuild/protoc-gen-es@2.10.1(@bufbuild/protobuf@2.10.1)':
dependencies:
'@bufbuild/protoplugin': 2.10.1
optionalDependencies:
'@bufbuild/protobuf': 2.10.1
transitivePeerDependencies:
- supports-color
'@bufbuild/protoplugin@2.10.1':
dependencies:
'@bufbuild/protobuf': 2.10.1
'@typescript/vfs': 1.6.2(typescript@5.4.5)
typescript: 5.4.5
transitivePeerDependencies:
- supports-color
'@cspotcode/source-map-support@0.8.1':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
'@esbuild/aix-ppc64@0.27.0':
'@esbuild/aix-ppc64@0.26.0':
optional: true
'@esbuild/android-arm64@0.27.0':
'@esbuild/android-arm64@0.26.0':
optional: true
'@esbuild/android-arm@0.27.0':
'@esbuild/android-arm@0.26.0':
optional: true
'@esbuild/android-x64@0.27.0':
'@esbuild/android-x64@0.26.0':
optional: true
'@esbuild/darwin-arm64@0.27.0':
'@esbuild/darwin-arm64@0.26.0':
optional: true
'@esbuild/darwin-x64@0.27.0':
'@esbuild/darwin-x64@0.26.0':
optional: true
'@esbuild/freebsd-arm64@0.27.0':
'@esbuild/freebsd-arm64@0.26.0':
optional: true
'@esbuild/freebsd-x64@0.27.0':
'@esbuild/freebsd-x64@0.26.0':
optional: true
'@esbuild/linux-arm64@0.27.0':
'@esbuild/linux-arm64@0.26.0':
optional: true
'@esbuild/linux-arm@0.27.0':
'@esbuild/linux-arm@0.26.0':
optional: true
'@esbuild/linux-ia32@0.27.0':
'@esbuild/linux-ia32@0.26.0':
optional: true
'@esbuild/linux-loong64@0.27.0':
'@esbuild/linux-loong64@0.26.0':
optional: true
'@esbuild/linux-mips64el@0.27.0':
'@esbuild/linux-mips64el@0.26.0':
optional: true
'@esbuild/linux-ppc64@0.27.0':
'@esbuild/linux-ppc64@0.26.0':
optional: true
'@esbuild/linux-riscv64@0.27.0':
'@esbuild/linux-riscv64@0.26.0':
optional: true
'@esbuild/linux-s390x@0.27.0':
'@esbuild/linux-s390x@0.26.0':
optional: true
'@esbuild/linux-x64@0.27.0':
'@esbuild/linux-x64@0.26.0':
optional: true
'@esbuild/netbsd-arm64@0.27.0':
'@esbuild/netbsd-arm64@0.26.0':
optional: true
'@esbuild/netbsd-x64@0.27.0':
'@esbuild/netbsd-x64@0.26.0':
optional: true
'@esbuild/openbsd-arm64@0.27.0':
'@esbuild/openbsd-arm64@0.26.0':
optional: true
'@esbuild/openbsd-x64@0.27.0':
'@esbuild/openbsd-x64@0.26.0':
optional: true
'@esbuild/openharmony-arm64@0.27.0':
'@esbuild/openharmony-arm64@0.26.0':
optional: true
'@esbuild/sunos-x64@0.27.0':
'@esbuild/sunos-x64@0.26.0':
optional: true
'@esbuild/win32-arm64@0.27.0':
'@esbuild/win32-arm64@0.26.0':
optional: true
'@esbuild/win32-ia32@0.27.0':
'@esbuild/win32-ia32@0.26.0':
optional: true
'@esbuild/win32-x64@0.27.0':
'@esbuild/win32-x64@0.26.0':
optional: true
'@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)':
@ -2485,10 +2355,6 @@ snapshots:
'@types/ms@2.1.0': {}
'@types/node-forge@1.3.14':
dependencies:
'@types/node': 24.10.1
'@types/node@24.10.1':
dependencies:
undici-types: 7.16.0
@ -2614,13 +2480,6 @@ snapshots:
'@typescript-eslint/types': 8.47.0
eslint-visitor-keys: 4.2.1
'@typescript/vfs@1.6.2(typescript@5.4.5)':
dependencies:
debug: 4.4.3
typescript: 5.4.5
transitivePeerDependencies:
- supports-color
'@videojs/vhs-utils@4.0.0':
dependencies:
'@babel/runtime': 7.28.4
@ -2694,8 +2553,6 @@ snapshots:
acorn@8.15.0: {}
aes-cmac@4.0.0: {}
agent-base@6.0.2:
dependencies:
debug: 4.4.3
@ -2977,34 +2834,34 @@ snapshots:
dependencies:
es-errors: 1.3.0
esbuild@0.27.0:
esbuild@0.26.0:
optionalDependencies:
'@esbuild/aix-ppc64': 0.27.0
'@esbuild/android-arm': 0.27.0
'@esbuild/android-arm64': 0.27.0
'@esbuild/android-x64': 0.27.0
'@esbuild/darwin-arm64': 0.27.0
'@esbuild/darwin-x64': 0.27.0
'@esbuild/freebsd-arm64': 0.27.0
'@esbuild/freebsd-x64': 0.27.0
'@esbuild/linux-arm': 0.27.0
'@esbuild/linux-arm64': 0.27.0
'@esbuild/linux-ia32': 0.27.0
'@esbuild/linux-loong64': 0.27.0
'@esbuild/linux-mips64el': 0.27.0
'@esbuild/linux-ppc64': 0.27.0
'@esbuild/linux-riscv64': 0.27.0
'@esbuild/linux-s390x': 0.27.0
'@esbuild/linux-x64': 0.27.0
'@esbuild/netbsd-arm64': 0.27.0
'@esbuild/netbsd-x64': 0.27.0
'@esbuild/openbsd-arm64': 0.27.0
'@esbuild/openbsd-x64': 0.27.0
'@esbuild/openharmony-arm64': 0.27.0
'@esbuild/sunos-x64': 0.27.0
'@esbuild/win32-arm64': 0.27.0
'@esbuild/win32-ia32': 0.27.0
'@esbuild/win32-x64': 0.27.0
'@esbuild/aix-ppc64': 0.26.0
'@esbuild/android-arm': 0.26.0
'@esbuild/android-arm64': 0.26.0
'@esbuild/android-x64': 0.26.0
'@esbuild/darwin-arm64': 0.26.0
'@esbuild/darwin-x64': 0.26.0
'@esbuild/freebsd-arm64': 0.26.0
'@esbuild/freebsd-x64': 0.26.0
'@esbuild/linux-arm': 0.26.0
'@esbuild/linux-arm64': 0.26.0
'@esbuild/linux-ia32': 0.26.0
'@esbuild/linux-loong64': 0.26.0
'@esbuild/linux-mips64el': 0.26.0
'@esbuild/linux-ppc64': 0.26.0
'@esbuild/linux-riscv64': 0.26.0
'@esbuild/linux-s390x': 0.26.0
'@esbuild/linux-x64': 0.26.0
'@esbuild/netbsd-arm64': 0.26.0
'@esbuild/netbsd-x64': 0.26.0
'@esbuild/openbsd-arm64': 0.26.0
'@esbuild/openbsd-x64': 0.26.0
'@esbuild/openharmony-arm64': 0.26.0
'@esbuild/sunos-x64': 0.26.0
'@esbuild/win32-arm64': 0.26.0
'@esbuild/win32-ia32': 0.26.0
'@esbuild/win32-x64': 0.26.0
escalade@3.2.0: {}
@ -3574,10 +3431,9 @@ snapshots:
node-int64@0.4.0: {}
node-playready@1.1.0:
node-playready@1.1.1:
dependencies:
'@noble/curves': 2.0.1
aes-cmac: 4.0.0
fast-xml-parser: 5.3.2
object-assign@4.1.1: {}
@ -4113,8 +3969,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
typescript@5.4.5: {}
typescript@5.9.3: {}
unbzip2-stream@1.4.3:
@ -4165,6 +4019,11 @@ snapshots:
dependencies:
isexe: 2.0.0
widevine@1.0.1:
dependencies:
'@bufbuild/protobuf': 2.10.1
node-forge: 1.3.1
word-wrap@1.2.5: {}
wrap-ansi@7.0.0: