VPKEdit
VPKEdit copied to clipboard
Signing packfile via CLI or GUI produces inconsistent output.
Describe the Bug
Signing the *_dir.vpk once reports the packfile as not verified.
Signing the *_dir.vpk twice via CLI or GUI makes it valid in the CLI but not in the GUI.
The GUI doesn't report it as signed but you can get both CLI and GUI to report the packfile as signed by signing each partfile of a packfile.
To Reproduce
$ ./vpkeditcli --verify-signature ext_dir.vpk
Pack file does not have a signature.
$ ./vpkeditcli -k pf2.privatekey.vdf ext_dir.vpk
Signed VPK using private key at "pf2.privatekey.vdf".
$ ./vpkeditcli --verify-signature ext_dir.vpk
Pack file signature is invalid!
$ ./vpkeditcli -k pf2.privatekey.vdf ext_dir.vpk
Signed VPK using private key at "pf2.privatekey.vdf".
$ ./vpkeditcli --verify-signature ext_dir.vpk
Pack file signature is valid.
VPKEdit Version
v5.0.0-beta.1
Operating System
Linux