From 636ece849adf3ad8e770882911c68fb32833de34 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Wed, 10 Jan 2024 14:45:13 +0100 Subject: [PATCH] update known information for Node.js to version 20.11.0 --- changelog.md | 1 + updater/software/NodeJS.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 6320370f..9dfe6524 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ improvements may be omitted.)_ __[maintenance]__ * NLog library is updated from 5.2.7 to 5.2.8. +* Update certificate information for Node.js installer. ## Version 2023.12.11.0 diff --git a/updater/software/NodeJS.cs b/updater/software/NodeJS.cs index 5dd434b6..e3be5f2a 100644 --- a/updater/software/NodeJS.cs +++ b/updater/software/NodeJS.cs @@ -1,6 +1,6 @@ /* This file is part of the updater command line interface. - Copyright (C) 2021, 2022, 2023 Dirk Stolle + Copyright (C) 2021, 2022, 2023, 2024 Dirk Stolle This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,13 +47,13 @@ public NodeJS(bool autoGetNewer) /// /// publisher of signed binaries /// - private const string publisherX509 = "CN=OpenJS Foundation, O=OpenJS Foundation, L=San Francisco, S=California, C=US"; + private const string publisherX509 = "CN=OpenJS Foundation, OU=Nodejs, O=OpenJS Foundation, L=San Francisco, S=California, C=US, SERIALNUMBER=5579593, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US"; /// /// expiration date of certificate /// - private static readonly DateTime certificateExpiration = new(2023, 12, 18, 12, 0, 0, DateTimeKind.Utc); + private static readonly DateTime certificateExpiration = new(2026, 11, 15, 23, 59, 59, DateTimeKind.Utc); /// @@ -63,7 +63,7 @@ public NodeJS(bool autoGetNewer) /// details about the software. public override AvailableSoftware knownInfo() { - const string version = "20.10.0"; + const string version = "20.11.0"; var signature = new Signature(publisherX509, certificateExpiration); return new AvailableSoftware( "Node.js", @@ -73,13 +73,13 @@ public override AvailableSoftware knownInfo() new InstallInfoMsi( "https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x86.msi", HashAlgorithm.SHA256, - "39c3f584ebca40f61fb610739722b7ec163e214f7f9d3e73bd980ce658cffa56", + "01484d759ca9aa758ca1e1ddf080c00ef850b2aa98645dafe4557a46e9fa0e7d", signature, "/qn /norestart"), new InstallInfoMsi( "https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x64.msi", HashAlgorithm.SHA256, - "90ae1666c56988a6cc38424e8b9bffd05defe0e892a46aa606b94f7552cfb581", + "9a8c2e99b1fca559e1a1a393d6be4a23781b0c66883a9d6e5584272d9bf49dc2", signature, "/qn /norestart") );