Closed p1318k closed 1 year ago
Hello
Maybe its related to the recently PR: https://github.com/YehudaKremer/msix/pull/190
Do you have config value in the publisher:
field under msix_config:
?
if so, try to delete publisher
field, and run again (let the package automatically detect the certificate "Subject")
Okay, I wll try. Thanks for the reply.
@YehudaKremer it is working. Thank you.
:information_source: Info
Version:
v3.12.0
:speech_balloon: Description
Regradless of flutter sdk version (3.10.0 or 3.7.12), it fails. It worked only with v3.9.1 package in my case.
Here are some logs.
[ +49 ms] executing: C:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub run msix:create -v --signtool-options /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 /n 'SK Telecom Co.,Ltd.' [ 0.013s] parsing cli arguments [ 0.116s] validating config values [ 0.119s] running "flutter build windows"... [ 54.297s] building msix files... [ 54.298s] validating build files [ 54.306s] cleaning temporary files [ 54.314s] create app icons [ 54.315s] generating icons [ 1m 02.534s] copying VC libraries [ 1m 02.544s] getting certificate publisher Unhandled exception: invalid certificate subject: SK Telecom Co.,Ltd.
0 SignTool._checkCertificateSubject (package:msix/src/sign_tool.dart:78:7)
1 SignTool.getCertificatePublisher (package:msix/src/sign_tool.dart:48:7)
2 Msix._buildMsixFiles (package:msix/msix.dart:114:24)