From 482eb2029d47bc5d6e8f746e2a75f900d4d22791 Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 13 May 2021 01:50:09 +0200 Subject: [PATCH] =?UTF-8?q?LECTURE=20imm=C3=A9d?= =?UTF-8?q?iate!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zen/ipns_TAG_refresh.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/zen/ipns_TAG_refresh.sh b/zen/ipns_TAG_refresh.sh index 716914b..9e92250 100755 --- a/zen/ipns_TAG_refresh.sh +++ b/zen/ipns_TAG_refresh.sh @@ -64,10 +64,16 @@ do source=$(echo $id | cut -d '_' -f 1) ANNONCE=$(cat ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.gchange.ad) -### IPNS LINK CAN EVOLVE (REFRESH EVERY 12 H TO MAINTAIN ALIVE IN THE SWARM) + ## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature) + [[ -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt ]] && $MY_PATH/tools/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt" -o "/tmp/${id}_filelink.txt" + cat /tmp/${id}_filelink.txt + ARIESLINK="https://aries.copylaradio.com$(cat /tmp/${id}_filelink.txt)" + MIMETYPE="video/${ARIESLINK##*.}" + + ### IPNS LINK CAN EVOLVE (REFRESH EVERY 12 H TO MAINTAIN ALIVE IN THE SWARM) echo "

ASTROPORT/KODI

-DEMO BETA! Lancement video dans 10 secondes ...
+LECTURE immédiate! Lancement video locale dans 10 secondes ...
Recrutons experts BASH pour programmer les nouveaux services du Datacenter Virtuel...

Essayez astrXbian service de video-club entre amis



Fichier ajouté par : @@ -80,14 +86,9 @@ Recrutons experts BASH pour programmer les nouveaux services du Datacenter Virtu # FRANCE COPIE PRIVEE - clear ipfs link no tracking ## Write KEY id (provide verification) [[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.id ]] && echo ${id} > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.id - ## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature) - [[ -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt ]] && $MY_PATH/tools/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt" -o "/tmp/${id}_filelink.txt" - cat /tmp/${id}_filelink.txt - echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html + echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html - ARIESLINK="https://aries.copylaradio.com$(cat /tmp/${id}_filelink.txt)" - MIMETYPE="video/${ARIESLINK##*.}" # echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html if [[ "$source" == "YOUTUBE" ]]