microsoft / microsoft/CoseSignTool

Cannot register in MST getting "Error: Method not found: 'Azure.Security.CodeTransparency.CodeTransparencyClientOptions ..."

Open
#202 1 comment 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #201 by @JeromySt — merged
Dominant language
C#
Stars
54
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Environment: running Ubuntu Linux on WSL

$ uname -a
Linux DESKTOP-A2EULNV 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

CoseSignTool versions tried:

  • latest
  • v1.7.6
  • v1.7.5
  • v1.7.3
  • v1.7.2 (different error Error: File not found - Could not load file or assembly 'System.ClientModel)

Installation steps:

curl -sL https://github.com/microsoft/CoseSignTool/releases/download/v1.7.5/CoseSignTool-Linux-debug.zip -o ~/cosesigntool/release-v1.7.5.zip
unzip ~/cosesigntool/release-v1.7.5.zip -d ~/cosesigntool/release-v1.7.5

Registration command and output:

~/cosesigntool/release-v1.7.5/debug/CoseSignTool mst_register --endpoint "https://${ledgername}.confidential-ledger.azure.com" --signature statement.cose --payload statement.payload

Error: Method not found: 'Azure.Security.CodeTransparency.CodeTransparencyClientOptions Azure.Security.CodeTransparency.MstClientOptionsExtensions.ConfigureMstPerformanceOptimizations(Azure.Security.CodeTransparency.CodeTransparencyClientOptions, System.Nullable`1<System.TimeSpan>, System.Nullable`1<Int32>)'.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure at the CoseSignTool mst_register entry point using the listed Linux release versions and registration command. Review the relationship between the released assemblies and Azure.Security.CodeTransparency, then verify that registration completes without the method-not-found or assembly-loading errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, linux
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.