Code signing certificate expired on version 1.25.0

オープン
#2,302 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
release

調査の方向性

The problem is in the signed package, not in source code: open the .signature.p7s file inside the 1.25.0 nupkg and check the certificate chain, and compare it with the signed PSScriptAnalyzer.psm1. Fixing it requires the project's signing credentials and a release decision from maintainers, so a newcomer can only confirm the expiry and discuss an RFC 3161 timestamp approach. Done means a re-signed or timestamped release that passes the chain check.

索引モデルが issue の本文から書いたものです。

説明

  • The code signing certificate used to sign PSScriptAnalyzer version 1.25.0 has expired and the PSScriptAnalyzer.psm1 does not contain a RFC 3161 timestamp (which could be used to confirm the file was created before the certificate expiration). This makes it difficult to "clean-source" PSScriptAnalyzer before integrating it

Steps to reproduce

  1. Open the ".signature.p7s" file contained in the nupkg package
  2. In "certmgr", browse to the "Microsoft Corporation" code signing certificate and open it
  3. You will see the certificate has expired.

Expected behavior

The code signing chain is intact and valid

Actual behavior

image

If an unexpected error was thrown then please report the full error details using e.g. $error[0] | Select-Object *

Environment data

> $PSVersionTable
Name                           Value                                                                                                     
----                           -----                                                                                                     
PSVersion                      5.1.26100.9444                                                                                            
PSEdition                      Desktop                                                                                                   
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                   
BuildVersion                   10.0.26100.9444                                                                                           
CLRVersion                     4.0.30319.42000                                                                                           
WSManStackVersion              3.0                                                                                                       
PSRemotingProtocolVersion      2.3                                                                                                       
SerializationVersion           1.1.0.1  


> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
PSScriptAnalyzer).Version: 1.24.0
主要言語
C#
スター
2.2k
フォーク
422
平均マージ
2時間 23分
マージ済み PR(30日)
25

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/PSScriptAnalyzer のほかの issue

PowerShell/PSScriptAnalyzer の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。