Bugzilla – Bug 1189698
wsl-appx build differs between OBS and osc
Last modified: 2021-08-23 04:47:17 UTC
While working on reproducible builds for openSUSE, I found that building our wsl-appx package with osc build produced different results from the official OBS build. +++ /usr/share/wsl-appx/AppxManifest.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <Package IgnorableNamespaces="uap uap2 uap3 rescap desktop" xmlns="http://schem as.microsoft.com/appx/manifest/foundation/windows10" xmlns:desktop="http://schem as.microsoft.com/appx/manifest/desktop/windows10" xmlns:mp="http://schemas.micro soft.com/appx/2014/phone/manifest" xmlns:rescap="http://schemas.microsoft.com/ap px/manifest/foundation/windows10/restrictedcapabilities" xmlns:uap="http://schem as.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microso ft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/a ppx/manifest/uap/windows10/3"> - <Identity Name="46932SUSE.openSUSETumbleweed" ProcessorArchitecture="x64" Publisher="CN=15720A30-FA72-4BF5-8077-C1376E0B561C" Version="21153.0.0.0"/> + <Identity Name="46932SUSE.openSUSETumbleweed" ProcessorArchitecture="x64" Publisher="nobody" Version="21153.0.0.0"/> <Properties> <DisplayName>openSUSE Tumbleweed</DisplayName> <PublisherDisplayName>SUSE</PublisherDisplayName> Is there a way to always get the Publisher field set?
The publisher needs to match the signing certificate. If you want to reproduce that you'd have to create a fake _projectcert.crt that has the same CN as the official one. Obviously the signature would still not match.