Why Nostr? What is Njump?
2024-07-03 00:54:24

npub1xh…jqdyr on Nostr: commit 6fd2ef556b6ddc942066a34e11ddcfbd8b3f7eb2 Author: @RandyMcMillan ...

commit 6fd2ef556b6ddc942066a34e11ddcfbd8b3f7eb2
Author: @RandyMcMillan <[email protected]>
Date: Sat Nov 4 20:35:06 2023 -0400

gnostr.c: GIT_CONFIG: gnostr-git config --add gnostr.secretkeys

diff --git a/gnostr.c b/gnostr.c
index 1cc330810..71c36917f 100644
--- a/gnostr.c
+++ b/gnostr.c
@@ -100,9 +100,18 @@ void usage()
{
printf("usage: gnostr [OPTIONS]\n");
printf("\n");
- printf(" GIT OPTIONS\n");
+ printf(" GNOSTR-GIT:\n");
+ printf(" CONFIG:\n");
printf("\n");
+ printf(" gnostr-git config\n");
+ printf(" gnostr git config --global\n");
+ printf(" gnostr git config --global --add gnostr.secretkey $(gnostr-sha256 12345)\n");
+ printf(" gnostr git config --global --get gnostr.secretkey\n");
+ printf(" 5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\n");
printf("\n");
+ printf(" gnostr --sec $(gnostr-git config --global --get gnostr.secretkey)\n");
+ printf("\n");
+ printf(" gnostr --sec $(gnostr-git config --global --get gnostr.secretkey) --envelope --content \n");
printf(" RELAY OPTIONS\n");
printf("\n");
printf("\n");
@@ -123,6 +132,15 @@ void usage()
printf(" -e <event_id> shorthand for --tag e <event_id>\n");
printf(" -p <pubkey> shorthand for --tag p <pubkey>\n");
printf(" -t <hashtag> shorthand for --tag t <hashtag>\n");
+ printf("\n");
+ printf("\n");
+
+
+//gnostr-git config --global --get gnostr.secretkey
+
+// git config --global --add gnostr.secretkey
+// 0000000000000000000000000000000000000000000000000000000000000001
+
exit(0);
}
Author Public Key
npub1xhtt9m7kctc76u4845muevuyfl6aacffhsvvhl4044ja73yz8h3skjqdyr