From 382a10a4155f6751db41e567d9a57d570e6330b8 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 4 Mar 2023 00:49:59 +0100 Subject: [PATCH] PLAYER Magic QRCode to keep all your key protected with your PASS then your PEPPER --- ASTROBOT/G1Voeu.sh | 4 +++- tools/VISA.new.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ASTROBOT/G1Voeu.sh b/ASTROBOT/G1Voeu.sh index f9c0fe2c..14dcad17 100755 --- a/ASTROBOT/G1Voeu.sh +++ b/ASTROBOT/G1Voeu.sh @@ -100,7 +100,7 @@ mkdir -p ~/.zen/tmp/$MOATS qrencode -s 12 -o $HOME/.zen/game/players/${PLAYER}/QRsec.png $PASsec ## MAKE amzqr WITH astro:// LINK - amzqr "astro://$WISHKEY/?sslpassdunikeysec=$PASsec&hashpass=$HPass&player=$PLAYER&tw=/ipns/$ASTRONAUTENS&g1pub=$G1PUB&flux=/ipns/$VOEUNS" \ + amzqr "$myASTROPORT/?astro=$WISHKEY&sslpassdunikeysec=$PASsec&hashpass=$HPass&player=$PLAYER&tw=/ipns/$ASTRONAUTENS&g1pub=$G1PUB&flux=/ipns/$VOEUNS" \ -d "$HOME/.zen/game/world/$PEPPER/$WISHKEY" \ -l H \ -p ${MY_PATH}/../images/g1magicien.png -c @@ -144,6 +144,7 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"$PEPPE echo '[{"title":"$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-name","text":"'${PLAYER}_${PEPPER}'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-name.json echo '[{"title":"$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-key-'${PEPPER}'","text":"'${VOEUNS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-key.json echo '[{"title":"$:/plugins/astroport/lightbeams/saver/g1/lightbeam-key-'${PEPPER}'","text":"'${WISHKEY}'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-g1.json + echo '[{"title":"$:/plugins/astroport/lightbeams/saver/g1/lightbeam-natools-'${PEPPER}'","text":"'${ENCODING}'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-natools.json @@ -190,6 +191,7 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"$PEPPE --import ~/.zen/tmp/${MOATS}/lightbeam-name.json "application/json" \ --import ~/.zen/tmp/${MOATS}/lightbeam-key.json "application/json" \ --import ~/.zen/tmp/${MOATS}/lightbeam-g1.json "application/json" \ + --import ~/.zen/tmp/${MOATS}/lightbeam-natools.json "application/json" \ --import ~/.zen/game/world/$PEPPER/$WISHKEY/${PEPPER}.voeu.json "application/json" \ --output ~/.zen/tmp --render "$:/core/save/all" "newindex.html" "text/plain" diff --git a/tools/VISA.new.sh b/tools/VISA.new.sh index 998eac95..edde2bec 100755 --- a/tools/VISA.new.sh +++ b/tools/VISA.new.sh @@ -195,7 +195,7 @@ DISCO="https://astroport.$(myHostName)/?salt=${SALT}&pepper=${PEPPER}&logout=${P qrencode -s 12 -o $HOME/.zen/game/players/${PLAYER}/QRsec.png $PASsec ## MAKE amzqr WITH astro:// LINK - amzqr "astro://$G1PUB/?sslpassdunikeysec=$PASsec&hashpass=$HPass&player=$PLAYER&tw=/ipns/$ASTRONAUTENS&g1pub=$G1PUB" \ + amzqr "$myASTROPORT/?astro=$G1PUB/?sslpassdunikeysec=$PASsec&hashpass=$HPass&player=$PLAYER&tw=/ipns/$ASTRONAUTENS&g1pub=$G1PUB" \ -d $HOME/.zen/game/players/${PLAYER} \ -l H \ -p ${MY_PATH}/../images/G1WorldMap.png