From 692926b32055ca0afd595959c513597c1273cb33 Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Mon, 9 Dec 2019 22:04:05 +0000 Subject: [PATCH] docs/spec: document format of hash in pointer files To avoid ambiguity, specify the format of the hash in pointer files. This is consistent with what all existing implementations do. --- docs/spec.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/spec.md b/docs/spec.md index a3619275..50dd800e 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -29,7 +29,8 @@ The required keys are: simple string comparison on the version, without any URL parsing or normalization. It is case sensitive, and %-encoding is discouraged. * `oid` tracks the unique object id for the file, prefixed by its hashing -method: `{hash-method}:{hash}`. Currently, only `sha256` is supported. +method: `{hash-method}:{hash}`. Currently, only `sha256` is supported. The +hash is lower case hexadecimal. * `size` is in bytes. Example of a v1 text pointer: