bindle icon indicating copy to clipboard operation
bindle copied to clipboard

Signature payload cleartext generation deviates from spec

Open cohix opened this issue 3 years ago • 1 comments

The signing spec says: The signature is computed by concatenating the following pieces of data together in a line-separated (\n) UTF-8 string: by, name, version, role, at and the label.sha256 of each parcel:

However the Bindle server does not include the at value when generating its version of the payload, and so a client who follows the spec creates a signature that is invalid in the eyes of the server.

cohix avatar Jan 28 '22 15:01 cohix

Good catch on this. We'll fix it soon

thomastaylor312 avatar Jan 28 '22 17:01 thomastaylor312