Why Nostr? What is Njump?
2024-07-03 00:52:38

npub1zx…n65ne on Nostr: commit 15d4ef4c331e9093dbdc4007c956cb0eaf6cda69 Author: @RandyMcMillan ...

commit 15d4ef4c331e9093dbdc4007c956cb0eaf6cda69
Author: @RandyMcMillan <[email protected]>
Date: Tue Feb 13 15:00:34 2024 -0500

tests.mk:gnotr-verify-keypair:CASE 1 and CASE 2

diff --git a/tests.mk b/tests.mk
index 8d5680d12..b88f24144 100644
--- a/tests.mk
+++ b/tests.mk
@@ -1,2 +1,17 @@
-gnostr-verify-keys:gnostr gnostr-install
+gnostr-verify-keypair:## with install sequence
+ [ -x "$(shell which gnostr)" ] || \
+ $(MAKE) gnostr
+ [ -x "$(shell which gnostr-weeble)" ] || \
+ $(MAKE) gnostr-install
+ [ -x "$(shell which gnostr-sha256)" ] || \
+ $(MAKE) gnostr-sha256 || \
+ [ -x "$(shell which cargo)" ] && \
+ cargo install -q gnostr-sha256
+ [ -x "$(shell which gnostr-verify-keypair)" ] || \
+ $(MAKE) gnostr-bins
+##CASE 1
+ echo CASE 1
gnostr-verify-keypair $(shell gnostr --sec $(shell gnostr-sha256 $(shell gnostr-weeble)) | jq .pubkey | sed 's/\"//g') $(shell gnostr-sha256 $(shell gnostr-weeble)) || $(MAKE) bins
+##CASE 2
+ echo CASE 2
+ gnostr-verify-keypair $(shell gnostr --sec $(shell gnostr --hash $(shell gnostr-weeble)) | jq .pubkey | sed 's/\"//g') $(shell gnostr-sha256 $(shell gnostr-weeble)) || $(MAKE) bins
Author Public Key
npub1zx5fm5der7mxk8ffh5ac0ajm6e3s8wtn72kw3u2scywxmrklzzhsrn65ne