Browse Source

passphrase procedure modification

pull/32/head
qo-op 8 months ago
parent
commit
5eb9643e3f
  1. 6
      ISOconfig.sh

6
ISOconfig.sh

@ -46,9 +46,9 @@ salt="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
pepper="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
[[ "$USER" != "xbian" ]] && echo "Modifier pseudo? $XZUID" && read XZUIDy && [[ $XZUIDy ]] && XZUID="$XZUIDy"
[[ "$USER" != "xbian" ]] && echo "Changer passphrase 1 (identifiant secret)? $salt" && read salty && [[ $salty ]] && salt="$salty"
[[ "$USER" != "xbian" ]] && echo "Changer passphrase 2 (mot de passe secret)? $pepper" && read peppery && [[ $peppery ]] && pepper="$peppery"
[[ "$USER" != "xbian" ]] && echo "Modifier identifiant (passphrase 1)? $salt" && read salty && [[ $salty ]] && salt="$salty"
[[ "$USER" != "xbian" ]] && echo "Modifier mot de passe (passphrase 2)? $pepper" && read peppery && [[ $peppery ]] && pepper="$peppery"
# [[ "$USER" != "xbian" ]] && echo "Modifier Pseudo? $XZUID" && read XZUIDy && [[ $XZUIDy ]] && XZUID="$XZUIDy"
g1_salt="$salt"
g1_pepper="$pepper"

Loading…
Cancel
Save