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

Define that DownloadFile content hash method is SHA256 #68

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ There are 3 levels of hashes:

<h4 id="file-hash">File Hash</h4>

The hash of the addon file content. This is stored in the [hash](#hash) field in
The hash of the addon file content. This is stored in the [content_hash](#content_hash) field in
the [DownloadableFile](#downloadablefile-message) message. This value SHOULD be
used by the Agent to determine if the particular file it has is different on the
Server and needs to be re-downloaded.
Expand Down Expand Up @@ -1974,9 +1974,9 @@ The URL from which the file can be downloaded using HTTP GET request. The server
at the specified URL SHOULD support range requests to allow for resuming
downloads.

<h4 id="content_hash">content_hash</h4>
#### content_hash

The hash of the file content. Can be used by the Agent to verify that the file
The SHA256 hash of the file content. Can be used by the Agent to verify that the file
was downloaded correctly.

#### signature
Expand Down