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

workflow run namespace: property for file checksums #14

Closed
simleo opened this issue Nov 24, 2022 · 2 comments · Fixed by #15
Closed

workflow run namespace: property for file checksums #14

simleo opened this issue Nov 24, 2022 · 2 comments · Fixed by #15

Comments

@simleo
Copy link
Contributor

simleo commented Nov 24, 2022

As discussed at the WRROC meeting

@simleo
Copy link
Contributor Author

simleo commented Nov 24, 2022

E.g. like https://schema.org/sha256, but we also need other popular ones

@stain
Copy link
Contributor

stain commented Dec 1, 2022

see also
https://datatracker.ietf.org/doc/html/rfc6920

From schemaorg/schemaorg#3162

rfc6920 Naming things with hashes that establishes ways to identify checksum algorithms and representing their checksums as URIs.

Example:

ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk 

identifies anything with the sha256 with the given base64-encoded checksum

alternatively in hex/human readable:

nih:sha-256;7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069

(rfc6920 also specifies how to deal with truncation)

See rfc6920 register for more algorithms.

Combined with arcp URIs this is suggested already by RO-Crate for Establishing a base URI inside a ZIP file.

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

Successfully merging a pull request may close this issue.

2 participants