microsoft / microsoft/CoseSignTool
Cannot register in MST getting "Error: Method not found: 'Azure.Security.CodeTransparency.CodeTransparencyClientOptions ..."
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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