generating sha1 hashes for LocalDynamicMetadataProvider?
Peter Schober
peter.schober at univie.ac.at
Thu Oct 25 12:34:11 EDT 2018
* Liam Hoekenga <liamr at umich.edu> [2018-10-25 18:19]:
> > > I don't suppose that someone's already come up with a c_rehash
> > > like utility to create the sha1 hash based filesnames needed by
> > > the LocalDynamicMetadataProvider?
> >
> > echo -n "entity" | sha1sum
> > ?
>
> I was thinking of something for scale? I don't want to have
> manually rename hundreds of files.
I've shared this on this list back in April in the thead "managing
untrusted metadata":
> Name the XML files anything you like (human-friendly) and run `make`
> to create (and remove stale) symlinks with sha1-hashes [of the
> entities' entityID] as file names.
I haven't checked but I guess it should be usable for the IDP just the
same (otherwise feel free to propose changes):
https://gitlab.com/snippets/1720109
-peter
More information about the users
mailing list