Why Nostr? What is Njump?
2024-03-10 16:39:38
in reply to

graywolf on Nostr: npub19amud…hqjn6 So I admit I had to try it, but it seems to fetch from software ...

So I admit I had to try it, but it seems to fetch from software heritage by the commit hash, so the url can be literally anything (I tried with `http://a';).

That seems somewhat cool.

However the behavior seems bit.. confusing. Iff the url is not a git repository, it fallback to SWH. Otherwise it just tries to get the commit from the repository, but no fallback is done. That part seems weird.

I have no idea how resistant is git to hash collisions (if someone controls both repositories), so I am curious whether there is a possible attack vector.
Author Public Key
npub1nefrrwuefssnkj6mc8gjkqfxp0z2sgutw7eclqw3h5ns6qm7g7js58uq7k