-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix bad hash algorithm implementation in the CLI functions - fix schema migration issues on `dsip_settings` table - fix edge cases where bootstrapping failed # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch v0.72 # Your branch is up to date with 'origin/v0.72'. # # Changes to be committed: # modified: dsiprouter/dsip_lib.sh # modified: resources/upgrade/v0.72/scripts/bootstrap.sh # modified: resources/upgrade/v0.72/scripts/migrate.sh #
- Loading branch information
Showing
4 changed files
with
77 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
export BOOTSTRAPPING_UPGRADE=1 | ||
export SALT_LEN='16' | ||
export DK_LEN_DEFAULT='48' | ||
export CREDS_MAX_LEN='64' | ||
export HASH_ITERATIONS='10000' | ||
export HASHED_CREDS_ENCODED_MAX_LEN='128' | ||
export AESCTR_CREDS_ENCODED_MAX_LEN='160' | ||
export DSIP_PROJECT_DIR='/tmp/dsiprouter' | ||
TAG_NAME='v0.72-rel' | ||
REPO_URL='https://github.com/dOpensource/dsiprouter.git' | ||
rm -f /etc/dsiprouter/.requirementsinstalled | ||
rm -rf /tmp/dsiprouter 2>/dev/null | ||
git clone --depth 1 -b "$TAG_NAME" "$REPO_URL" /tmp/dsiprouter | ||
ln -sf /tmp/dsiprouter/resources/upgrade /opt/dsiprouter/resources/upgrade | ||
. /tmp/dsiprouter/dsiprouter/dsip_lib.sh | ||
. /tmp/dsiprouter/dsiprouter.sh upgrade -rel v0.72 | ||
rm -rf "$DSIP_PROJECT_DIR" 2>/dev/null | ||
git clone --depth 1 -b "$TAG_NAME" "$REPO_URL" "$DSIP_PROJECT_DIR" | ||
${DSIP_PROJECT_DIR}/dsiprouter.sh upgrade -rel v0.72 |
Oops, something went wrong.