Event JSON
{
"id": "9f812ee3fe2920149c104c0a7156bf83e96ae70a86612b502ad59733cfda91d9",
"pubkey": "e07e6c1351e07c837b1feb6c3624173c6b3f13e40d75f8e4ebd69fff0739c1c7",
"created_at": 1724693653,
"kind": 1,
"tags": [
[
"p",
"e07e6c1351e07c837b1feb6c3624173c6b3f13e40d75f8e4ebd69fff0739c1c7",
"",
"mention"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"",
"mention"
],
[
"p",
"cfd7df62799a22e384a4ab5da8c4026c875b119d0f47c2716b20cdac9cc1f1a6",
"",
"mention"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
],
[
"e",
"61dc9ee6b1a102808bd7c9aa9d909a45d8edfdd5c5386c16fcbccdc3be84fc23",
"",
"root"
],
[
"e",
"f661a0042c15d8bfdcbed63df6b9ea34efe2ec0a6d0d6d60726c4b44adf18e22",
"wss://nos.lol",
"reply"
]
],
"content": "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.\n\nfull 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.\n\nfor 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.\n\nif connection is successfully, git and ssh will do the rest.",
"sig": "192f4ecd9932cc9b73703d82682936a7c9e148074b6311c4ac5f71ff542f9d0e5f632c8b619683acb0a6e312d32a23f0ff65676011d8a4fec5e6ce9caee60951"
}