Verified Commit 5d1b6aca authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Merge branch 'main' into feature/remote-batch

parents cf77b82b 60cf366e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -54,6 +54,11 @@ echo ">started at: $DATE" > $LOG
echo ">build flags: $MKP224O_BUILD_FLAGS" >> $LOG
cat $FILTERS | xargs echo ">filters:"     >> $LOG

# Check for PASSPHRASE_COMMAND
if [ ! -z "$PASSPHRASE_COMMAND" ]; then
  PASSPHRASE="`$PASSPHRASE_COMMAND`"
fi

# Run
echo "$BASENAME: starting mkp224o..."
$BASEDIR/bin/mkp224o $MKP224O_RUN_FLAGS 2>&1 | tee -a $LOG
+9 −3
Original line number Diff line number Diff line
@@ -85,9 +85,15 @@ MKP224O_RUN_FLAGS="-s -d $CANDIDATES -f $FILTERS -B"
# Store the passphrase in a variable (not recommended)
#PASSPHRASE=""

# Fetch the passphrase using https://0xacab.org/rhatto/keyringer/
# Different values of $CONFIG might have different keys
#PASSPHRASE="`keyringer my-keyring decrypt onionmine/$CONFIG/passphrase 2> /dev/null | head -1`"
# Fetch the passphrase an external command
#
# Any external command can be used as long as it returns a passphrase in the
# standard output.
#
# Different values of $CONFIG might have different keys.
#
# The following example uses https://0xacab.org/rhatto/keyringer/
#PASSPHRASE_COMMAND="keyringer my-keyring decrypt onionmine/$CONFIG/passphrase 2> /dev/null | head -1"

#
# Other options