Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WACZ Signing and Verification spec: Support for timestamped anonynous signatures #142

Open
matteocargnelutti opened this issue Apr 21, 2023 · 0 comments

Comments

@matteocargnelutti
Copy link
Contributor

The WACZ Signing and Verification spec currently supports either anonymous signing or domain-name Identity + timestamp signing.

It could be beneficial to extend the anonymous signing portion of the spec to support RFC 3161 timestamping.

The addition of a timestamp to an anonymous signature could improve its intrinsic "value":
While it is difficult to assert the authenticity of a given file with an anonymous signature alone, the addition of an external timestamp shows that a given signed WACZ file:

  • Was indeed made at datetime X
  • And that it hasn't been altered since then

signedData objects would look as follows in that context:

{
    "hash": "<sha256 hash of datapackage.json>",

    "created": "<ISO 8601 Date>",
    "software": "<string>",
    "version": "<string>",

    "signature": "<base64 encoded signature>",
    "publicKey": "<base64 encoded public key (ECDSA)>",

    "timeSignature": "<base64 encoded signature>",
    "timestampCert": "<PEM certificate chain>",
}

js-wacz would be one of the first tool in the WACZ ecosystem to take advantage of this feature.
archiveweb.page could also use this extension of the spec to reinforce the signatures it currently generates with a trusted timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant