-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Failed to parse publisher because ST
is not a valid key
#232
Comments
I have the same problem. Found a workaround.
The most trouble I had was figuring out the exact Subject of the real certificate. I had to download it from Azuer Keyvault, import it into Windows Certificate store and then use this powerhsell script to get the subject: |
@YehudaKremer I have the same issue and the fix is simple. I've opened a pull request. Is it possible for you to have a look? It would be really appreciated. |
@Sylfwood Thank you 👍 Publish in version |
@YehudaKremer Sorry to bother, but the new release does not seem to contain the fix. Or maybe I missed to fix another part in your code with the last pull request ? I still have a similar error with 3.16.2, but I'm not sure it is the same of the 3.16.1. Maybe it's because of the manifest validation, and the Microsoft schema does not allow the
I've cleaned the cache, and I can see that the 3.16.2 version is used:
It is possible for you to take a look at it? Thanks a lot |
Hum... It seems this is a limitation of Microsoft... Not sure we can do anything about that. I will try the workaround.
|
ℹ️ Info
Version:
3.16.1
💬 Description
When running the following command in our GitHub actions pipeline:
We get the following error:
The
ST
key is not part of the regular expression, while it is a valid key in the subject of our certificate.A valid key would be
S
. But if we use this key then it is not possible to sign the installer afterwards because the app manifest publisher name does not match the subject of the certificate.Would it be possible to make the publisher as described in the pubspec below a valid publisher?
📜 Pubspec.yaml
The text was updated successfully, but these errors were encountered: