Why Nostr? What is Njump?
2024-08-26 17:34:13
in reply to

gugabfigueiredo on Nostr: right, I skipped the nip-34 because I always need to fetch it. I was only focusing on ...

right, I skipped the nip-34 because I always need to fetch it. I was only focusing on the identity part because it is only required for uploading.

full flow starts with fetching the nip-34 announcement to get the actual remote url, because it can be a GitHub url, so before considering auth I need to check that. that's done for all commands.

for upload specifically, if the remote url is pointing to a relay that supports nip34, then I try to auth. and only then allow ssh to attempt to connect.

if connection is successfully, git and ssh will do the rest.
Author Public Key
npub1uplxcy63up7gx7cladkrvfqh834n7ylyp46l3e8t660l7peec8rsd2sfek