cesium update
This commit is contained in:
parent
a6518e72f2
commit
d0efd176eb
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
|
@ -12,21 +12,21 @@
|
|||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon" href="../img/logo_57px.png">
|
||||
|
||||
<link rel="stylesheet" href="../dist_css/cesium-api.css?v=1.6.1">
|
||||
<link rel="stylesheet" href="../dist_css/cesium-api.css?v=1.6.5">
|
||||
|
||||
</head>
|
||||
|
||||
<body ng-app="cesium-api" id="cesium-api" ng-strict-di="true">
|
||||
<ion-nav-view>
|
||||
<ion-nav-view>
|
||||
<h3 style="text-align: center; padding-top: 25px"><b>Cesium API</b></h3>
|
||||
<h4 style="text-align: center">Loading...</h4>
|
||||
</ion-nav-view>
|
||||
</ion-nav-view>
|
||||
|
||||
<script src="../dist_js/vendor-api.js?v=1.6.1"></script>
|
||||
<script src="../dist_js/vendor-api.js?v=1.6.5"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../dist_js/cesium-api.js?v=1.6.1"></script>
|
||||
<script src="../dist_js/cesium-api.js?v=1.6.5"></script>
|
||||
|
||||
<script src="../config.js"></script>
|
||||
</body>
|
||||
|
|
|
@ -97,8 +97,8 @@ angular.module("cesium.config", [])
|
|||
"defaultCountry": "France"
|
||||
}
|
||||
},
|
||||
"version": "1.6.1",
|
||||
"build": "2020-03-17T16:53:39.290Z",
|
||||
"version": "1.6.5",
|
||||
"build": "2020-04-22T17:36:59.565Z",
|
||||
"newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new"
|
||||
})
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 172 KiB |
|
@ -13,7 +13,7 @@
|
|||
<link rel="apple-touch-icon" href="img/logo_57px.png">
|
||||
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link rel="stylesheet" href="dist_css/cesium.css?v=1.6.1">
|
||||
<link rel="stylesheet" href="dist_css/cesium.css?v=1.6.5">
|
||||
|
||||
<!--removeIf(device)-->
|
||||
<!-- Add open graph tags (for social networks) -->
|
||||
|
@ -37,19 +37,19 @@
|
|||
<!--endRemoveIf(device)-->
|
||||
|
||||
</head>
|
||||
<body id="cesium" ng-strict-di="true" window-exit-unauth="true" ng-class="{'nobackdrop': $root.tour, 'expert-mode': $root.settings.expertMode}">
|
||||
<body id="cesium" ng-strict-di="true" window-exit-unauth="true" ng-class="{'nobackdrop': $root.tour, 'expert-mode': $root.settings.expertMode}" style="background-color: #1a237e">
|
||||
<ion-nav-view>
|
||||
<div class="loader">
|
||||
<h3 style="text-align: center; padding-top: 25px"><b>Cesium</b></h3>
|
||||
<h4 style="text-align: center"><i class="icon ion-load-a"></i></h4>
|
||||
<h3 style="text-align: center; padding-top: 25px; color: whitesmoke"><b>Cesium</b></h3>
|
||||
<h4 style="text-align: center; color: whitesmoke"><i class="icon ion-load-a"></i></h4>
|
||||
</div>
|
||||
</ion-nav-view>
|
||||
|
||||
<script src="dist_js/vendor.js?v=1.6.1"></script>
|
||||
<script src="dist_js/vendor.js?v=1.6.5"></script>
|
||||
|
||||
|
||||
|
||||
<script src="dist_js/cesium.js?v=1.6.1"></script>
|
||||
<script src="dist_js/cesium.js?v=1.6.5"></script>
|
||||
|
||||
<script src="config.js"></script>
|
||||
</body>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<link rel="apple-touch-icon" href="img/logo_57px.png">
|
||||
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link rel="stylesheet" href="dist_css/cesium.css?v=1.6.1" integrity="sha384-9p8u+V2LZEXNC3friTHsKr7Ibq1DkOV5BKZnXm/JyC5wwcO68a6J9Fv2Ub8D7d6g" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="dist_css/cesium.css?v=1.6.5" integrity="sha384-W41M0zmfwbCUBPWStR4fw2mvDML+zhyBgQaFhctRXdGWITZ3MmU4+92i5aO6nQoW" crossorigin="anonymous">
|
||||
|
||||
<!--removeIf(device)-->
|
||||
<!-- Add open graph tags (for social networks) -->
|
||||
|
@ -35,21 +35,21 @@
|
|||
<!--endRemoveIf(device)-->
|
||||
|
||||
</head>
|
||||
<body id="cesium" ng-strict-di="true" window-exit-unauth="true" ng-class="{'nobackdrop': $root.tour, 'expert-mode': $root.settings.expertMode}">
|
||||
<body id="cesium" ng-strict-di="true" window-exit-unauth="true" ng-class="{'nobackdrop': $root.tour, 'expert-mode': $root.settings.expertMode}" style="background-color: #1a237e">
|
||||
<ion-nav-view>
|
||||
<div class="loader">
|
||||
<h3 style="text-align: center; padding-top: 25px"><b>Cesium</b></h3>
|
||||
<h4 style="text-align: center"><i class="icon ion-load-a"></i></h4>
|
||||
<h3 style="text-align: center; padding-top: 25px; color: whitesmoke"><b>Cesium</b></h3>
|
||||
<h4 style="text-align: center; color: whitesmoke"><i class="icon ion-load-a"></i></h4>
|
||||
</div>
|
||||
</ion-nav-view>
|
||||
|
||||
<script src="dist_js/vendor.js?v=1.6.1" integrity="sha384-/g3wFs+DsR9lNDPmvbqLoDa+qeQtvZcRRMUj89kaR/8eZiA/sjOXktQW8vC5SSGE" crossorigin="anonymous"></script>
|
||||
<script src="dist_js/vendor.js?v=1.6.5" integrity="sha384-Kt15bu2uaBUdkeH8rUC7izZx2bdO1gi/HfYkU0WujjQXGmekyiiVVB6kH+QrpoBi" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
|
||||
<script src="dist_js/cesium.js?v=1.6.1" integrity="sha384-Rtqo+Ut7L5x7WP+MdVm6wSLCwDUFXwyVfmfkNtCm+wf+AKb99o2MajrouXqKtn8O" crossorigin="anonymous"></script>
|
||||
<script src="dist_js/cesium.js?v=1.6.5" integrity="sha384-xqbqhXDcV+GJsEdpsJhKUqbmCrznkKlUz5OW2ZqvJuw835SJqMdXK4cRTM6kIVFJ" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="config.js" integrity="sha384-nOuQdw7hndhlHztnhkst0R2GbazHCtmidMUnf7wbqglFrqgZJ4pZT588BXFzNESm" crossorigin="anonymous"></script>
|
||||
<script src="config.js" integrity="sha384-jjxp2uKNvdYiPpJdDUnQ0PXPU0MWk12uW147KY7xqLj8OU6g+4I9/ZlxPhs6GbpG" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -2,9 +2,9 @@
|
|||
"short_name": "Cesium",
|
||||
"name": "Cesium",
|
||||
"manifest_version": 1,
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.5",
|
||||
"default_locale": "fr",
|
||||
"description": "Manage your Duniter Wallet on a libre currency, like Ğ1",
|
||||
"description": "Cesium Wallet for Ğ1 libre currency",
|
||||
"icons": [
|
||||
{
|
||||
"src": "img/logo_32px.png",
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -10,10 +10,18 @@ echo '
|
|||
############# '$MY_PATH/$ME'
|
||||
########################################################################
|
||||
# Make a G1SSB Account
|
||||
# Creates ~/.ssb_astroport/secret and link it to ~/.ssb
|
||||
# Verify silkaj & sbotc install
|
||||
# Backup any ~/.ssb to ~/.ssb_$USER
|
||||
# Creates ~/.ssb_astroport and link it to ~/.ssb
|
||||
# Ask for credentials (or auto)
|
||||
# CREATE "~/.ssb/secret" & "~/.ssb/secret.dunikey" of you
|
||||
# !!! KEEP CREDENTIALS IN ~/.zen/secret.astroport.key
|
||||
########################################################################
|
||||
'
|
||||
mkdir -p ~/.zen
|
||||
# git & astroport code in ~/.zen
|
||||
[[ ! -d ~/.zen ]] && mkdir -p ~/.zen
|
||||
[[ !$(which git) ]] && sudo apt install git -y
|
||||
[[ ! -d ~/.zen/astroport ]] && cd ~/.zen && git clone https://git.p2p.legal/axiom-team/astroport.git && cd astroport
|
||||
|
||||
# INSTALL Silkaj, CLI for Duniter
|
||||
if [[ ! $(which silkaj) ]]; then
|
||||
|
@ -22,7 +30,7 @@ if [[ ! $(which silkaj) ]]; then
|
|||
(_ | | |/ /\ |
|
||||
__) _|_ |_ |\ /--\ \_|
|
||||
|
||||
#Libre Money Layer
|
||||
#Duniter communication client...
|
||||
'
|
||||
sudo apt update || true
|
||||
libzzz=$(sudo apt-cache search libsodium | awk '{print $1}' | grep libsodium2)
|
||||
|
@ -43,20 +51,32 @@ echo '
|
|||
(__ ) /_/ / /_/ / /_/ /__
|
||||
/____/_.___/\____/\__/\___/
|
||||
|
||||
ScuttleButt communication client
|
||||
ScuttleButt communication client...
|
||||
'
|
||||
sudo apt install libsodium-dev jq -y
|
||||
cd $MY_PATH/.install/sbotc
|
||||
cd ~/.zen/astroport/.install/sbotc
|
||||
make
|
||||
sudo make install
|
||||
cd $MY_PATH
|
||||
cd ~/.zen/astroport
|
||||
fi
|
||||
|
||||
|
||||
echo '
|
||||
__ __
|
||||
____ ______/ /__________ ____ ____ _____/ /_
|
||||
/ __ `/ ___/ __/ ___/ __ \/ __ \/ __ \/ ___/ __/
|
||||
/ /_/ (__ ) /_/ / / /_/ / /_/ / /_/ / / / /_
|
||||
\__,_/____/\__/_/ \____/ .___/\____/_/ \__/
|
||||
/_/
|
||||
|
||||
ONBOARDING activation... linking ~/.ssb to ~/.ssb_astroport
|
||||
|
||||
'
|
||||
# CREATE ~/.ssb_astroport
|
||||
[[ ! -d ~/.ssb_astroport ]] && mkdir -p ~/.ssb_astroport
|
||||
|
||||
# If exists backup ~/.ssb to ~/.ssb_$USER SSB (one time only !)
|
||||
[[ -d ~/.ssb_$USER ]] && echo "BACKUP already existing... RUN command : rm ~/.ssb && mv ~/.ssb_$USER ~/.ssb and try again..." && exit 1
|
||||
[[ -d ~/.ssb_$USER ]] && echo "BACKUP already existing... Restore it : rm -Rf ~/.ssb && mv ~/.ssb_$USER ~/.ssb and Try again..." && exit 1
|
||||
|
||||
if [[ -d ~/.ssb ]]; then
|
||||
cp -f ~/.ssb/manifest.json ~/.ssb_astroport/
|
||||
|
@ -73,36 +93,38 @@ fi
|
|||
|
||||
cd ~/.ssb/
|
||||
|
||||
echo "WELCOME CREATING YOUR G1 SSB ACCOUNT !!!"
|
||||
echo '
|
||||
echo '>>>>>>> METAVERSE KEY CREATION <<<<<<<<
|
||||
|
||||
__ __ __ _
|
||||
/__ /| (_ (_ |_)
|
||||
\_| | __) __) |_)
|
||||
|
||||
CHOOSE YOU LOGIN or LEAVE BLANK & HIT ENTER FOR AUTO GENERATION
|
||||
CHOOSE YOU LOGIN (best more than 6 words)...
|
||||
or LEAVE BLANK and HIT ENTER FOR diceware AUTO GENERATION
|
||||
'
|
||||
read salt
|
||||
[[ $salt != "" ]] && echo "CHOOSE PASSWORD?" && read pepper && [[ $pepper == "" ]] && exit 1
|
||||
|
||||
if [[ "$salt" == "" && "$pepper" == "" ]]; then
|
||||
echo '
|
||||
|
||||
echo '
|
||||
._ _ ._ _ ._ _ _ ._ o _
|
||||
| | | | | (/_ | | | (_) | | | (_
|
||||
|
||||
passphrase generator...'
|
||||
diceware passphrase generator...'
|
||||
|
||||
# GENERATE MNEMONIC KEY: 9 MOTS
|
||||
# LOGIN (=SALT) 6 WORDS
|
||||
# LOGIN (=SALT)
|
||||
salt="$($MY_PATH/diceware.sh 6)"
|
||||
# PASS (=PEPPER) 4 WORDS
|
||||
# PASS (=PEPPER)
|
||||
pepper="$($MY_PATH/diceware.sh 4)"
|
||||
|
||||
echo "........."
|
||||
rm -f ~/.zen/secret.ZEN.txt
|
||||
echo "SECRET CREDENTIALS !!! https://cesium.app & https://gchange.fr
|
||||
ID:$salt
|
||||
PWD:$pepper" > ~/.zen/secret.ZEN.txt
|
||||
|
||||
[[ -f ~/.zen/secret.astroport.key ]] && echo "Your identity is already existing..." && cat ~/.zen/secret.astroport.key && exit 1
|
||||
rm -f ~/.zen/secret.astroport.key
|
||||
echo "# ASTROPORT SECRET CREDENTIALS !!!
|
||||
ZENID=\"$salt\"
|
||||
ZENPWD=\"$pepper\"" > ~/.zen/secret.astroport.key
|
||||
|
||||
fi
|
||||
|
||||
|
@ -113,19 +135,14 @@ sleep 1
|
|||
|
||||
# CREATE SSB secret
|
||||
g1pub=$(cat ~/.ssb/secret.dunikey | grep "pub" | cut -d ' ' -f 2)
|
||||
echo "G1:$g1pub" >> ~/.zen/secret.ZEN.txt
|
||||
echo "ZENG1=\"$g1pub\"" >> ~/.zen/secret.astroport.key
|
||||
|
||||
g1priv=$(cat ~/.ssb/secret.dunikey | grep "sec" | cut -d ' ' -f 2)
|
||||
ssbpub=$(echo $g1pub | base58 -d | base64)
|
||||
ssbpriv=$(echo $g1priv | base58 -d | base64 | tr -d "\n" )
|
||||
|
||||
cat > ~/.ssb/secret <<EOF
|
||||
# This secret is related to your G1Wallet - https://cesium.app
|
||||
# silkaj balance $g1pub
|
||||
# ID (salt): $salt / Pass: $pepper
|
||||
# THIS KEY IS YOURS! REMIND IT AND KEEP IT SAFE AS A REAL WALLET
|
||||
# chmod 400 ~/.zen/secret
|
||||
|
||||
{
|
||||
"curve": "ed25519",
|
||||
"public": "${ssbpub}.ed25519",
|
||||
|
@ -134,26 +151,52 @@ cat > ~/.ssb/secret <<EOF
|
|||
}
|
||||
|
||||
# WARNING! It's vital that you DO NOT edit OR share your secret name
|
||||
# instead, share your public name
|
||||
# your SSB public name: @${ssbpub}.ed25519
|
||||
# ONLY Share your public name : @${ssbpub}.ed25519
|
||||
# AND Public G1 WALLET : $g1pub
|
||||
|
||||
EOF
|
||||
|
||||
echo "SSB:@$ssbpub.ed25519" >> ~/.zen/secret.ZEN.txt
|
||||
echo "ZENSSB=\"@$ssbpub.ed25519\"" >> ~/.zen/secret.astroport.key
|
||||
|
||||
echo "
|
||||
_
|
||||
|__|_ \ / _ o | _.
|
||||
|_ |_ \/ (_) | | (_|
|
||||
|
||||
Your G1SSB KEY is made !!
|
||||
Install Patchwork : https://github.com/ssbc/patchwork/releases/
|
||||
Your Identity is created !!
|
||||
REMEMBER TO KEEP your secret files SECRET !!!
|
||||
|
||||
Your public name : @${ssbpub}.ed25519
|
||||
Your G1 WALLET : $g1pub
|
||||
|
||||
Install https://cesium.app
|
||||
"
|
||||
|
||||
cat ~/.zen/secret.ZEN.txt
|
||||
chmod 400 ~/.zen/secret.ZEN.txt
|
||||
cat ~/.zen/secret.astroport.key
|
||||
chmod 400 ~/.zen/secret.astroport.key
|
||||
chmod 400 ~/.ssb/secret
|
||||
chmod 400 ~/.ssb/secret.dunikey
|
||||
|
||||
echo '
|
||||
__
|
||||
__________/ /_
|
||||
/ ___/ ___/ __ \
|
||||
(__ |__ ) /_/ /
|
||||
/____/____/_.___/
|
||||
|
||||
Open Patchwork ScuttleButt Client.
|
||||
|
||||
https://ahdinosaur.github.io/patchwork-downloader/
|
||||
|
||||
Enter "yes" for your Station initializing connections...
|
||||
'
|
||||
read yesno
|
||||
|
||||
if [[ $yesno == "yes" ]]; then
|
||||
|
||||
~/.zen/astroport/zen/ssb_INIT.sh
|
||||
~/.zen/astroport/zen/cron_VRFY.sh
|
||||
fi
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue