VPKEdit icon indicating copy to clipboard operation
VPKEdit copied to clipboard

Signing packfile via CLI or GUI produces inconsistent output.

Open sour-dani opened this issue 3 months ago • 0 comments

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

sour-dani avatar Sep 11 '25 19:09 sour-dani