[Bug 29721] makecert from Windows Platform SDK 7.1 crashes due to unimplemented function mssign32.dll.PvkGetCryptProv

WineHQ Bugzilla wine-bugs at winehq.org
Sun Nov 21 05:05:55 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=29721

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.microsoft.com/do |https://web.archive.org/web
                   |wnload/en/details.aspx?id=8 |/20110805064614/http://down
                   |279                         |load.microsoft.com/download
                   |                            |/A/6/A/A6AC035D-DA3F-4F0C-A
                   |                            |DA4-37C8E5D34E3D/winsdk_web
                   |                            |.exe

--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

adding stable download link via Internet Archive.

https://web.archive.org/web/20110805064614/http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe

https://www.virustotal.com/gui/file/9ea8d82a66a33946e8673df92d784971b35b8f65ade3e0325855be8490e3d51d

$ sha1sum winsdk_web.exe 
a8717ebb20a69c7efa85232bcb9899b8b07f98cf  winsdk_web.exe

$ du -sh winsdk_web.exe 
500K    winsdk_web.exe

The web-installer is only a bootstrapper and snapshotting it alone via
archive.org is not future-safe. Many (web)installers and payloads have vanished
from MDC (Microsoft download center) in 2020.

====

Alternative #1: full offline installer / ISO

https://web.archive.org/web/20120107114630/http://www.microsoft.com/download/en/details.aspx?id=8279

->

https://web.archive.org/web/20140809051201/http://www.microsoft.com/en-us/download/confirmation.aspx?id=8442

->

https://web.archive.org/web/20140728031703/http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso

$ sha1sum GRMSDK_EN_DVD.iso 
cde254e83677c34c8fd509d6b733c32002fe3572  GRMSDK_EN_DVD.iso

$ du -sh GRMSDK_EN_DVD.iso 
568M    GRMSDK_EN_DVD.iso

--- snip ---
$ 7z l GRMSDK_EN_DVD.iso

Scanning the drive for archives:
1 file, 594841600 bytes (568 MiB)

Listing archive: GRMSDK_EN_DVD.iso

--
Path = GRMSDK_EN_DVD.iso
Type = Udf
Physical Size = 594841600
Comment = GRMSDK_EN_DVD
Cluster Size = 2048
Created = 2010-05-14 01:00:00

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2010-04-20 04:49:04 .....           27            0  Autorun.inf
2010-05-11 04:09:24 .....       148026       149504  ReleaseNotes.Htm
2010-05-14 17:09:28 D....                            Setup
2010-05-14 17:08:55 D....                            Setup/MTPack
2010-04-20 04:37:19 .....     16611628     16613376  Setup/MTPack/netfx_dtp.cab
2010-04-20 04:37:04 .....       176640       178176  Setup/MTPack/netfx_dtp.msi
2010-05-14 05:11:42 .....        22836        24576  Setup/SDKSetup.cab
2010-05-14 05:11:42 .....      1622864      1624064  Setup/SDKSetup.exe
2010-04-20 04:49:04 .....          251            0  Setup/SDKSetup.exe.config
2010-05-14 17:09:02 D....                            Setup/WinSDK
2010-05-14 11:47:27 .....       678400       679936 
Setup/WinSDK/WinSDK_x86.msi
2010-05-14 11:44:55 .....     13664452     13666304  Setup/WinSDK/cab1.cab
2010-05-14 17:09:03 D....                           
Setup/WinSDKApplicationVerifier
2010-04-20 04:45:34 .....      8675840      8677376 
Setup/WinSDKApplicationVerifier/ApplicationVerifier.x86.msi
2010-05-14 17:09:03 D....                           
Setup/WinSDKApplicationVerifier_amd64
2010-04-20 04:45:41 .....     17019904     17020928 
Setup/WinSDKApplicationVerifier_amd64/ApplicationVerifier.amd64.msi
2010-05-14 17:09:04 D....                           
Setup/WinSDKApplicationVerifier_ia64
2010-04-20 04:45:42 .....     17922048     17922048 
Setup/WinSDKApplicationVerifier_ia64/ApplicationVerifier.ia64.msi
2010-05-14 17:09:08 D....                            Setup/WinSDKAppverRedist
2010-05-14 07:26:32 .....       637440       638976 
Setup/WinSDKAppverRedist/WinSDKAppVerRedist_x86.msi
2010-05-14 07:24:02 .....     42088281     42088448 
Setup/WinSDKAppverRedist/cab1.cab
2010-05-14 17:09:10 D....                            Setup/WinSDKBuild
2010-05-14 05:39:50 .....       960512       960512 
Setup/WinSDKBuild/WinSDKBuild_x86.msi
2010-05-14 05:37:16 .....      5720612      5722112  Setup/WinSDKBuild/cab1.cab
2010-05-14 05:35:12 .....      6153852      6154240  Setup/WinSDKBuild/cab2.cab
2010-05-14 05:35:03 .....      4797930      4798464  Setup/WinSDKBuild/cab3.cab
2010-05-14 05:35:02 .....      1049928      1050624  Setup/WinSDKBuild/cab4.cab
2010-05-14 17:09:18 D....                           
Setup/WinSDKDebugToolsRedist
2010-05-14 07:38:33 .....       637440       638976 
Setup/WinSDKDebugToolsRedist/WinSDKDebugToolsRedist_x86.msi
2010-05-14 07:36:01 .....     35874600     35874816 
Setup/WinSDKDebugToolsRedist/cab1.cab
2010-05-14 07:33:44 .....     26576986     26578944 
Setup/WinSDKDebugToolsRedist/cab2.cab
2010-05-14 17:09:10 D....                            Setup/WinSDKDebuggingTools
2010-04-20 04:45:43 .....     19269120     19269632 
Setup/WinSDKDebuggingTools/dbg_x86.msi
2010-05-14 17:09:11 D....                           
Setup/WinSDKDebuggingTools_amd64
2010-04-20 04:45:42 .....     17529856     17530880 
Setup/WinSDKDebuggingTools_amd64/dbg_amd64.msi
2010-05-14 17:09:12 D....                           
Setup/WinSDKDebuggingTools_ia64
2010-04-20 04:45:49 .....     27293184     27293696 
Setup/WinSDKDebuggingTools_ia64/dbg_ia64.msi
2010-05-14 17:09:18 D....                            Setup/WinSDKHelp
2010-05-14 07:48:19 .....       891904       892928 
Setup/WinSDKHelp/WinSDKHelp_x86.msi
2010-05-14 07:43:46 .....      1326579      1327104  Setup/WinSDKHelp/cab1.cab
2010-05-14 17:09:19 D....                           
Setup/WinSDKIntellisenseNFX
2010-05-14 05:57:21 .....       713728       714752 
Setup/WinSDKIntellisenseNFX/WinSDKIntellisenseNFX.msi
2010-05-14 05:54:39 .....      2887338      2887680 
Setup/WinSDKIntellisenseNFX/cab1.cab
2010-05-14 05:54:33 .....      3276825      3278848 
Setup/WinSDKIntellisenseNFX/cab2.cab
2010-05-14 05:54:31 .....      3141373      3141632 
Setup/WinSDKIntellisenseNFX/cab3.cab
2010-05-14 05:54:34 .....      3061037      3061760 
Setup/WinSDKIntellisenseNFX/cab4.cab
2010-05-14 05:54:35 .....      1828177      1828864 
Setup/WinSDKIntellisenseNFX/cab5.cab
2010-05-14 17:09:19 D....                           
Setup/WinSDKIntellisenseRefAssys
2010-05-14 05:48:42 .....       646656       647168 
Setup/WinSDKIntellisenseRefAssys/WinSDKIntellisenseRefAssys_x86.msi
2010-05-14 05:46:11 .....      1649588      1650688 
Setup/WinSDKIntellisenseRefAssys/cab1.cab
2010-05-14 17:09:20 D....                            Setup/WinSDKInterop
2010-05-14 06:03:08 .....       653824       655360 
Setup/WinSDKInterop/WinSDKInterop_x86.msi
2010-05-14 06:00:37 .....       384506       385024 
Setup/WinSDKInterop/cab1.cab
2010-05-14 17:09:20 D....                            Setup/WinSDKNetFx40Tools
2010-05-14 07:05:56 .....       751104       751616 
Setup/WinSDKNetFx40Tools/WinSDK_nfx40tools_x86.msi
2010-05-14 07:03:29 .....      2922989      2924544 
Setup/WinSDKNetFx40Tools/cab1.cab
2010-05-14 17:09:20 D....                            Setup/WinSDKNetFxTools
2010-05-14 07:00:17 .....       747520       747520 
Setup/WinSDKNetFxTools/WinSDK_nfxtoolsm_x86.msi
2010-05-14 06:57:47 .....      5547935      5548032 
Setup/WinSDKNetFxTools/cab1.cab
2010-05-14 17:09:20 D....                           
Setup/WinSDKPerformanceToolKit
2010-04-20 04:37:39 .....     19431936     19433472 
Setup/WinSDKPerformanceToolKit/wpt_x86.msi
2010-05-14 17:09:22 D....                           
Setup/WinSDKPerformanceToolKit_amd64
2010-04-20 04:37:41 .....     20184576     20185088 
Setup/WinSDKPerformanceToolKit_amd64/wpt_x64.msi
2010-05-14 17:09:23 D....                           
Setup/WinSDKPerformanceToolKit_ia64
2010-04-20 04:37:35 .....     20088832     20088832 
Setup/WinSDKPerformanceToolKit_ia64/wpt_ia64.msi
2010-05-14 17:09:27 D....                            Setup/WinSDKRedist
2010-05-14 07:14:24 .....       637440       638976 
Setup/WinSDKRedist/WinSDKRedist_x86.msi
2010-05-14 07:11:54 .....     38709706     38711296 
Setup/WinSDKRedist/cab1.cab
2010-05-14 07:10:42 .....     19562219     19562496 
Setup/WinSDKRedist/cab2.cab
2010-05-14 17:09:28 D....                            Setup/WinSDKSamples
2010-05-14 06:17:50 .....      2434560      2435072 
Setup/WinSDKSamples/WinSDKSamples_x86.msi
2010-05-14 06:11:17 .....     11615398     11616256 
Setup/WinSDKSamples/cab1.cab
2010-05-14 06:13:12 .....     14317157     14317568 
Setup/WinSDKSamples/cab2.cab
2010-05-14 06:10:42 .....      2247426      2248704 
Setup/WinSDKSamples/cab3.cab
2010-05-14 17:09:28 D....                            Setup/WinSDKTools
2010-05-14 06:38:26 .....       772608       774144 
Setup/WinSDKTools/WinSDKTools_x86.msi
2010-05-14 06:35:58 .....     11211250     11212800  Setup/WinSDKTools/cab1.cab
2010-05-14 17:09:29 D....                            Setup/WinSDKWin32Tools
2010-05-14 06:50:56 .....       743936       745472 
Setup/WinSDKWin32Tools/WinSDKWin32Tools_x86.msi
2010-05-14 06:48:24 .....      8229168      8230912 
Setup/WinSDKWin32Tools/cab1.cab
2010-05-14 07:50:55 .....        59224        59392  Setup/custsat_amd64.dll
2010-05-14 09:44:17 .....       105304       106496  Setup/custsat_ia64.dll
2010-05-14 05:11:42 .....        39768        40960  Setup/custsat_x86.dll
2010-05-14 17:08:56 D....                            Setup/vc_stdamd64
2010-04-20 04:37:16 .....     24785124     24786944 
Setup/vc_stdamd64/vc_stdamd64.cab
2010-05-11 04:09:24 .....       287232       288768 
Setup/vc_stdamd64/vc_stdamd64.msi
2010-05-14 17:08:58 D....                            Setup/vc_stdia64
2010-04-20 04:37:29 .....     30053038     30054400 
Setup/vc_stdia64/vc_stdia64.cab
2010-05-11 04:09:24 .....       409600       409600 
Setup/vc_stdia64/vc_stdia64.msi
2010-05-14 17:09:02 D....                            Setup/vc_stdx86
2010-04-20 04:38:06 .....     71673244     71673856 
Setup/vc_stdx86/vc_stdx86.cab
2010-05-11 04:09:24 .....       535552       536576 
Setup/vc_stdx86/vc_stdx86.msi
2010-05-14 05:11:42 .....        73544        73728  setup.exe
2010-05-14 12:04:15 .....       121344       122880  winsdk_dvdx86.msi
------------------- ----- ------------ ------------  ------------------------
2010-05-14 17:09:29          593892926    593954816  66 files, 28 folders
--- snip ---

====

Alternative #2: minimal offline installer by analysis

Figure out the package dependencies / payloads for the app(s) in question by
doing +msi,+wininet trace on the web-installer and inspect .msi packages if
they have external .cab references in 'media' table.

For 'makecert' (WinSDK_makecert_exe_24DFD147_3F96_47FC_B09E_5FCACE50CD4C_amd64)
this is the minimal set of packages:

*
https://web.archive.org/web/20180409023150/https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools_amd64/WinSDKTools_amd64.msi

https://www.virustotal.com/gui/file/75a4cf13efca7639b5964bb6ae625f4f76c7180418cfc77224e801aacc306b66

$ sha1sum WinSDKTools_amd64.msi 
41d8e28f34a5411d7d56cdb37ad538f0d3886ebd  WinSDKTools_amd64.msi

$ du -sh WinSDKTools_amd64.msi 
772K    WinSDKTools_amd64.msi

*
https://web.archive.org/web/20180409024241/https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools_amd64/cab1.cab

https://www.virustotal.com/gui/file/f143f792e5d3623034467e7c8386b9769bf2bea3218c0ad7903813e3eb43fe36

$ sha1sum cab1.cab 
33101e29f29d083ddfd590536f25bcce61470cd4  cab1.cab

$ du -sh cab1.cab 
12M    cab1.cab

Minimal offline install with above packages downloaded prior:

--- snip ---
$ wine msiexec -i WinSDKTools_amd64.msi
--- snip ---

====

Alternative #3: archive.org Microsoft Download Center 2020 backup

https://wiki.archiveteam.org/index.php/Microsoft_Download_Center

https://archive.org/details/archiveteam_microsoft_download

--- quote ---
Citing hash collection possibilities/security, Microsoft removed a variety of
downloads from their download center, opening up a world of opportunity for
sketchy sites to offer the now missing versions and items. This is a
last-minute grab of these items before they were removed in August of 2020. 
--- quote ---

Several terabytes, split across many 25 GB archives. I'm not sure how complete
that backup is, if they really captured all the web-installer payloads as well
(spider mode?). Also it's a bit cumbersome to locate individual artifacts
there, let alone reference them. Hence I prefer to research minimal offline
installs for reproduce/documentation (#2).

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list