BrettMayson / HEMTT

Build System for Arma 3
http://hemtt.dev/
GNU General Public License v2.0
113 stars 40 forks source link

Keys are broken in restructure #223

Closed jonpas closed 4 years ago

jonpas commented 4 years ago

HEMTT Version: 0.7.1-41d60e5 Project: https://github.com/Theseus-Aegis/Mods/commit/acc462acc58e29bcde8ab76ead88f29ef895f461

Description:

Generated keys fail -checkSignatures and prevent loading into key protected server. The error says it's not finding the signatures matching PBO files at all, not that the signatures are wrong. Also tested with reuse_private_keys enabled.

Steps to reproduce:

Additional information:

RPT:

17:17:04 Proper signatures not found for E:\Arma 3\Mods\TAC_Mods\releases\1.17.1.43\@tac_mods\addons\tac_ratelmarker.pbo. Test FAILED!
17:17:04 Warning Message: Proper signatures not found for E:\Arma 3\Mods\TAC_Mods\releases\1.17.1.43\@tac_mods\addons\tac_ratelmarker.pbo. Test FAILED!

HEMTT Output:

HEMTT 0.7.1-41d60e5                                                                              Environment: dev

♻️ Clean       
🔍 Checks         [00:00:00] [##############################] [36|36]
🚧 Prebuild       [00:00:00] [##############################] [17|17]
📝 Build          [00:00:00] [##############################] [17|17]
⭐ Release     
⭐ Sign        
ReleaseBuild `@zip {{prefix}}_mods_{{version}}`
Archiving tac_mods_1.17.1.43.zip
warning: compatibility addon `compat_rhsusf` should be in `compats/`
warning: compatibility addon `compat_melb` should be in `compats/`
warning: compatibility addon `compat_cup_vehicles` should be in `compats/`
warning: compatibility addon `compat_rhsafrf` should be in `compats/`
warning: compatibility addon `compat_cha_av8b` should be in `compats/`
jonpas commented 4 years ago

Also found possibly related issue or even a cause.

File tac_air_security.pbo with sig_name = "{{prefix}}_{{version}}" still names the signature: tac_air_security.pbo.{{version}}.bisign just like without specifying sig_name at all, instead of tac_air_security.pbo.{{prefix}}_{{version}}.bisign.

Something is getting lost somewhere.