Skip to content

Signing packfile via CLI or GUI produces inconsistent output. #272

@sour-dani

Description

@sour-dani

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

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions