Closed tomwrobel closed 5 years ago
An additional note, and some cross validation: Simeon Warner's OCFL validator correctly fails this digest format:
$ ./ocfl-object.py --objdir /mnt/hard_disk/ocfl/test_roots/20190409160457/c4/0a/00/11/c40a0011-7855-4502-9077-681093e250c2/ --validate
OCFL object at /mnt/hard_disk/ocfl/test_roots/20190409160457/c4/0a/00/11/c40a0011-7855-4502-9077-681093e250c2/ is INVALID
Unknown error Bad inventory digest file /mnt/hard_disk/ocfl/test_roots/20190409160457/c4/0a/00/11/c40a0011-7855-4502-9077-681093e250c2/inventory.json.sha512, wrong format - params ()
Currently, Aaron Birkland's code does not generate a valid inventory.json sha512 hash according to https://ocfl.io/0.2/spec/#inventory-digest: the hash is present, but the filename is missing, e.g.
not