Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Signature payload cleartext generation deviates from spec #284

Open
cohix opened this issue Jan 28, 2022 · 1 comment
Open

Signature payload cleartext generation deviates from spec #284

cohix opened this issue Jan 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@cohix
Copy link

cohix commented Jan 28, 2022

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.

@thomastaylor312 thomastaylor312 added the bug Something isn't working label Jan 28, 2022
@thomastaylor312
Copy link
Contributor

Good catch on this. We'll fix it soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants