sudosophy 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.
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.