diff --git a/ASTROBOT/G1CopierYoutube.sh b/ASTROBOT/G1CopierYoutube.sh index d04c7b95..701e222c 100755 --- a/ASTROBOT/G1CopierYoutube.sh +++ b/ASTROBOT/G1CopierYoutube.sh @@ -298,5 +298,8 @@ fi done < ~/.zen/tmp/${IPFSNODEID}/yt-dlp.cache.${PLAYER} # FINISH YID loop 1 +## COPY PLAYER CACHE TO STATION SWARM CACHE +cp ${HOME}/.zen/game/players/${PLAYER}/G1CopierYoutube/* \ + ~/.zen/tmp/${IPFSNODEID}/G1CopierYoutube/${PLAYER}/ exit 0 diff --git a/RUNTIME/VISA.new.sh b/RUNTIME/VISA.new.sh index 95f24606..8d760fe9 100755 --- a/RUNTIME/VISA.new.sh +++ b/RUNTIME/VISA.new.sh @@ -84,10 +84,10 @@ if [[ $SALT != "" && PEPPER != "" ]]; then tiddlywiki --load ~/.zen/tmp/${MOATS}/TW/index.html --output ~/.zen/tmp/${MOATS} --render '.' 'AstroID.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'AstroID' AstroID=$(cat ~/.zen/tmp/${MOATS}/AstroID.json | jq -r .[]._canonical_uri) HPass=$(cat ~/.zen/tmp/${MOATS}/AstroID.json | jq -r .[].HPASS) - #~ echo "AstroID=$AstroID ($HPass)" + echo "AstroID=$AstroID ($HPass)" tiddlywiki --load ~/.zen/tmp/${MOATS}/TW/index.html --output ~/.zen/tmp/${MOATS} --render '.' 'G1Visa.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'G1Visa' G1Visa=$(cat ~/.zen/tmp/${MOATS}/G1Visa.json | jq -r .[]._canonical_uri) - #~ echo "G1Visa=$G1Visa" + echo "G1Visa=$G1Visa" if [[ ${ASTROPORT} != "" && ${ASTROPORT} != "null" ]]; then @@ -213,9 +213,9 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" #~ echo "$secFromDunikey" > ~/.zen/tmp/${MOATS}/${PSEUDO}.sec ## PGP ENCODING SALT/PEPPER API ACCESS - echo "${DISCO}" > ~/.zen/tmp/topgp - cat ~/.zen/tmp/topgp | gpg --symmetric --armor --batch --passphrase "$PASS" -o ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc - rm ~/.zen/tmp/topgp + echo "${DISCO}" > ~/.zen/tmp/${MOATS}/topgp + cat ~/.zen/tmp/${MOATS}/topgp | gpg --symmetric --armor --batch --passphrase "$PASS" -o ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc + rm ~/.zen/tmp/${MOATS}/topgp #~ openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -in ~/.zen/game/players/${PLAYER}/secret.june -out "$HOME/.zen/tmp/${MOATS}/enc.${PSEUDO}.sec" -k "$PASS" #~ PASsec=$(cat ~/.zen/tmp/${MOATS}/enc.${PSEUDO}.sec | base64 -w 0 | jq -sRr '@uri' ) #~ HPass=$(echo "$PASS" | sha512sum | cut -d ' ' -f 1) @@ -508,12 +508,14 @@ echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" echo "$(${MY_PATH}/../tools/face.sh cool)" echo " 'Astronaute' $PSEUDO" echo -echo "* Public Key G1Visa" +echo "* Public Key : G1Visa +${NID}/ipns/${ASTRONAUTENS}#G1Visa" echo " " -echo "* AstroID with PASS: $PASS" -echo " G1Card" +echo "* AstroID : G1Card with PASS : $PASS" +echo "${NID}/ipns/${ASTRONAUTENS}#AstroID" echo -echo "* U Map _$LAT_$LON" +echo "* UMap_$LAT_$LON +${myIPFS}${URL}" echo echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" #~ echo "BIENVENUE"